0s autopkgtest [01:59:20]: starting date and time: 2026-02-05 01:59:20+0000 0s autopkgtest [01:59:20]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [01:59:20]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.x8yu7pct/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glibc,src:chiark-tcl --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=glibc/2.42-2ubuntu5 chiark-tcl/1.3.7build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-arm64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-arm64-29.secgroup --name adt-resolute-arm64-glib2.0-20260205-015920-juju-7f2275-prod-proposed-migration-environment-15-ef311c1b-3408-4b23-9f23-3c2aba0980cc --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-arm64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-arm64-glib2.0-20260205-015920-juju-7f2275-prod-proposed-migration-environment-15-ef311c1b-3408-4b23-9f23-3c2aba0980cc from image adt/ubuntu-resolute-arm64-server-20260204.img (UUID f58d981d-b271-4157-b9b1-fd704695563c)... 69s autopkgtest [02:00:29]: testbed dpkg architecture: arm64 70s autopkgtest [02:00:30]: testbed apt version: 3.1.14 70s autopkgtest [02:00:30]: @@@@@@@@@@@@@@@@@@@@ test bed setup 70s autopkgtest [02:00:30]: testbed release detected to be: None 71s autopkgtest [02:00:31]: updating testbed package index (apt update) 71s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 71s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 72s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 72s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 72s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [228 kB] 72s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1768 kB] 72s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 72s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 72s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [262 kB] 72s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7248 B] 72s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB] 72s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 72s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1540 kB] 72s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [40.2 kB] 72s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [26.0 kB] 72s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [776 B] 77s Fetched 4091 kB in 1s (4764 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 79s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 80s Reading package lists... 80s Reading package lists... 80s Building dependency tree... 80s Reading state information... 80s Calculating upgrade... 81s The following packages will be upgraded: 81s libc-bin libc-gconv-modules-extra libc6 locales python3-linkify-it 81s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 81s Need to get 7881 kB of archives. 81s After this operation, 0 B of additional disk space will be used. 81s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-gconv-modules-extra arm64 2.42-2ubuntu5 [1413 kB] 81s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc6 arm64 2.42-2ubuntu5 [1594 kB] 81s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-bin arm64 2.42-2ubuntu5 [599 kB] 81s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 locales all 2.42-2ubuntu5 [4255 kB] 81s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 82s dpkg-preconfigure: unable to re-open stdin: No such file or directory 82s Fetched 7881 kB in 1s (13.0 MB/s) 82s (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 ... 89360 files and directories currently installed.) 82s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_arm64.deb ... 82s Unpacking libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 82s Setting up libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) ... 82s (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 ... 89360 files and directories currently installed.) 82s Preparing to unpack .../libc6_2.42-2ubuntu5_arm64.deb ... 83s Unpacking libc6:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 83s Setting up libc6:arm64 (2.42-2ubuntu5) ... 84s (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 ... 89360 files and directories currently installed.) 84s Preparing to unpack .../libc-bin_2.42-2ubuntu5_arm64.deb ... 84s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 84s Setting up libc-bin (2.42-2ubuntu5) ... 84s (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 ... 89360 files and directories currently installed.) 84s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 84s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 84s Preparing to unpack .../python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 84s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 84s Setting up locales (2.42-2ubuntu5) ... 85s Generating locales (this might take a while)... 87s en_US.UTF-8... done 87s Generation complete. 88s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 88s Processing triggers for man-db (2.13.1-1) ... 89s Processing triggers for systemd (259-1ubuntu3) ... 90s autopkgtest [02:00:50]: upgrading testbed (apt dist-upgrade and autopurge) 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 90s 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 [02:00:55]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:41:39 UTC 2026 95s autopkgtest [02:00:55]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 105s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (dsc) [4685 B] 106s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [661 kB] 106s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [5675 kB] 106s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (diff) [141 kB] 106s gpgv: Signature made Thu Jan 1 13:00:10 2026 UTC 106s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 106s gpgv: Can't check signature: No public key 106s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.3-4.dsc: no acceptable signature found 106s autopkgtest [02:01:06]: testing package glib2.0 version 2.86.3-4 111s autopkgtest [02:01:11]: build not needed 120s autopkgtest [02:01:20]: test build: preparing testbed 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 121s Solving dependencies... 121s The following NEW packages will be installed: 121s build-essential cpp cpp-15 cpp-15-aarch64-linux-gnu cpp-aarch64-linux-gnu 121s g++ g++-15 g++-15-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-15 121s gcc-15-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblkid-dev 121s libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-15-dev 121s libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 liblsan0 libmount-dev 121s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 121s libselinux-dev libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev 121s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin rpcsvc-proto uuid-dev 121s zlib1g-dev 122s 0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded. 122s Need to get 73.5 MB of archives. 122s After this operation, 266 MB of additional disk space will be used. 122s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-dev-bin arm64 2.42-2ubuntu5 [22.5 kB] 122s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 linux-libc-dev arm64 6.18.0-9.9 [1834 kB] 122s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libcrypt-dev arm64 1:4.5.1-1 [123 kB] 122s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 rpcsvc-proto arm64 1.4.3-1build1 [65.6 kB] 122s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc6-dev arm64 2.42-2ubuntu5 [1765 kB] 122s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libisl23 arm64 0.27-1build1 [676 kB] 122s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libmpc3 arm64 1.3.1-2 [55.6 kB] 122s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [11.7 MB] 122s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15 arm64 15.2.0-12ubuntu1 [1030 B] 122s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [5736 B] 122s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp arm64 4:15.2.0-4ubuntu1 [22.4 kB] 122s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libcc1-0 arm64 15.2.0-12ubuntu1 [49.0 kB] 122s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-12ubuntu1 [147 kB] 122s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libitm1 arm64 15.2.0-12ubuntu1 [27.8 kB] 122s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 libasan8 arm64 15.2.0-12ubuntu1 [2920 kB] 122s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 liblsan0 arm64 15.2.0-12ubuntu1 [1316 kB] 122s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libtsan2 arm64 15.2.0-12ubuntu1 [2688 kB] 122s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libubsan1 arm64 15.2.0-12ubuntu1 [1175 kB] 123s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libhwasan0 arm64 15.2.0-12ubuntu1 [1638 kB] 123s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-15-dev arm64 15.2.0-12ubuntu1 [2600 kB] 123s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [23.1 MB] 123s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15 arm64 15.2.0-12ubuntu1 [519 kB] 123s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [1206 B] 123s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc arm64 4:15.2.0-4ubuntu1 [5016 B] 123s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++-15-dev arm64 15.2.0-12ubuntu1 [2549 kB] 123s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [13.2 MB] 123s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15 arm64 15.2.0-12ubuntu1 [25.3 kB] 123s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [956 B] 123s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 g++ arm64 4:15.2.0-4ubuntu1 [1080 B] 123s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 build-essential arm64 12.12ubuntu2 [5254 B] 123s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 libffi-dev arm64 3.5.2-3 [63.0 kB] 123s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 uuid-dev arm64 2.41.2-4ubuntu2 [57.4 kB] 123s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 libblkid-dev arm64 2.41.2-4ubuntu2 [246 kB] 123s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libsepol-dev arm64 3.9-2 [413 kB] 123s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-16-0 arm64 10.46-1 [225 kB] 123s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-32-0 arm64 10.46-1 [213 kB] 123s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-posix3 arm64 10.46-1 [7300 B] 123s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-dev arm64 10.46-1 [772 kB] 123s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libselinux-dev arm64 3.9-4 [184 kB] 123s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 libmount-dev arm64 2.41.2-4ubuntu2 [37.6 kB] 123s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 libsysprof-capture-4-dev arm64 49.0-5 [54.4 kB] 123s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 libpkgconf3 arm64 1.8.1-4build1 [33.7 kB] 123s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf-bin arm64 1.8.1-4build1 [21.7 kB] 123s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf arm64 1.8.1-4build1 [16.8 kB] 123s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu2 [899 kB] 124s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev arm64 2.86.3-4 [1912 kB] 124s Fetched 73.5 MB in 3s (28.3 MB/s) 124s Selecting previously unselected package libc-dev-bin. 124s (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 ... 89360 files and directories currently installed.) 124s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu5_arm64.deb ... 124s Unpacking libc-dev-bin (2.42-2ubuntu5) ... 124s Selecting previously unselected package linux-libc-dev:arm64. 124s Preparing to unpack .../01-linux-libc-dev_6.18.0-9.9_arm64.deb ... 124s Unpacking linux-libc-dev:arm64 (6.18.0-9.9) ... 124s Selecting previously unselected package libcrypt-dev:arm64. 124s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_arm64.deb ... 124s Unpacking libcrypt-dev:arm64 (1:4.5.1-1) ... 124s Selecting previously unselected package rpcsvc-proto. 124s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_arm64.deb ... 124s Unpacking rpcsvc-proto (1.4.3-1build1) ... 124s Selecting previously unselected package libc6-dev:arm64. 124s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu5_arm64.deb ... 124s Unpacking libc6-dev:arm64 (2.42-2ubuntu5) ... 124s Selecting previously unselected package libisl23:arm64. 124s Preparing to unpack .../05-libisl23_0.27-1build1_arm64.deb ... 124s Unpacking libisl23:arm64 (0.27-1build1) ... 124s Selecting previously unselected package libmpc3:arm64. 124s Preparing to unpack .../06-libmpc3_1.3.1-2_arm64.deb ... 124s Unpacking libmpc3:arm64 (1.3.1-2) ... 124s Selecting previously unselected package cpp-15-aarch64-linux-gnu. 124s Preparing to unpack .../07-cpp-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 124s Unpacking cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package cpp-15. 125s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package cpp-aarch64-linux-gnu. 125s Preparing to unpack .../09-cpp-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 125s Unpacking cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 125s Selecting previously unselected package cpp. 125s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_arm64.deb ... 125s Unpacking cpp (4:15.2.0-4ubuntu1) ... 125s Selecting previously unselected package libcc1-0:arm64. 125s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking libcc1-0:arm64 (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package libgomp1:arm64. 125s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking libgomp1:arm64 (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package libitm1:arm64. 125s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking libitm1:arm64 (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package libasan8:arm64. 125s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking libasan8:arm64 (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package liblsan0:arm64. 125s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking liblsan0:arm64 (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package libtsan2:arm64. 125s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking libtsan2:arm64 (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package libubsan1:arm64. 125s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking libubsan1:arm64 (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package libhwasan0:arm64. 125s Preparing to unpack .../18-libhwasan0_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking libhwasan0:arm64 (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package libgcc-15-dev:arm64. 125s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ... 125s Selecting previously unselected package gcc-15-aarch64-linux-gnu. 125s Preparing to unpack .../20-gcc-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 125s Unpacking gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 126s Selecting previously unselected package gcc-15. 126s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_arm64.deb ... 126s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 126s Selecting previously unselected package gcc-aarch64-linux-gnu. 126s Preparing to unpack .../22-gcc-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 126s Unpacking gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 126s Selecting previously unselected package gcc. 126s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_arm64.deb ... 126s Unpacking gcc (4:15.2.0-4ubuntu1) ... 126s Selecting previously unselected package libstdc++-15-dev:arm64. 126s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_arm64.deb ... 126s Unpacking libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ... 126s Selecting previously unselected package g++-15-aarch64-linux-gnu. 126s Preparing to unpack .../25-g++-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 126s Unpacking g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 126s Selecting previously unselected package g++-15. 126s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_arm64.deb ... 126s Unpacking g++-15 (15.2.0-12ubuntu1) ... 126s Selecting previously unselected package g++-aarch64-linux-gnu. 126s Preparing to unpack .../27-g++-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 126s Unpacking g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 126s Selecting previously unselected package g++. 126s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_arm64.deb ... 126s Unpacking g++ (4:15.2.0-4ubuntu1) ... 127s Selecting previously unselected package build-essential. 127s Preparing to unpack .../29-build-essential_12.12ubuntu2_arm64.deb ... 127s Unpacking build-essential (12.12ubuntu2) ... 127s Selecting previously unselected package libffi-dev:arm64. 127s Preparing to unpack .../30-libffi-dev_3.5.2-3_arm64.deb ... 127s Unpacking libffi-dev:arm64 (3.5.2-3) ... 127s Selecting previously unselected package uuid-dev:arm64. 127s Preparing to unpack .../31-uuid-dev_2.41.2-4ubuntu2_arm64.deb ... 127s Unpacking uuid-dev:arm64 (2.41.2-4ubuntu2) ... 127s Selecting previously unselected package libblkid-dev:arm64. 127s Preparing to unpack .../32-libblkid-dev_2.41.2-4ubuntu2_arm64.deb ... 127s Unpacking libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 127s Selecting previously unselected package libsepol-dev:arm64. 127s Preparing to unpack .../33-libsepol-dev_3.9-2_arm64.deb ... 127s Unpacking libsepol-dev:arm64 (3.9-2) ... 127s Selecting previously unselected package libpcre2-16-0:arm64. 127s Preparing to unpack .../34-libpcre2-16-0_10.46-1_arm64.deb ... 127s Unpacking libpcre2-16-0:arm64 (10.46-1) ... 127s Selecting previously unselected package libpcre2-32-0:arm64. 127s Preparing to unpack .../35-libpcre2-32-0_10.46-1_arm64.deb ... 127s Unpacking libpcre2-32-0:arm64 (10.46-1) ... 127s Selecting previously unselected package libpcre2-posix3:arm64. 127s Preparing to unpack .../36-libpcre2-posix3_10.46-1_arm64.deb ... 127s Unpacking libpcre2-posix3:arm64 (10.46-1) ... 127s Selecting previously unselected package libpcre2-dev:arm64. 127s Preparing to unpack .../37-libpcre2-dev_10.46-1_arm64.deb ... 127s Unpacking libpcre2-dev:arm64 (10.46-1) ... 127s Selecting previously unselected package libselinux-dev:arm64. 127s Preparing to unpack .../38-libselinux-dev_3.9-4_arm64.deb ... 127s Unpacking libselinux-dev:arm64 (3.9-4) ... 127s Selecting previously unselected package libmount-dev:arm64. 127s Preparing to unpack .../39-libmount-dev_2.41.2-4ubuntu2_arm64.deb ... 127s Unpacking libmount-dev:arm64 (2.41.2-4ubuntu2) ... 127s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 127s Preparing to unpack .../40-libsysprof-capture-4-dev_49.0-5_arm64.deb ... 127s Unpacking libsysprof-capture-4-dev:arm64 (49.0-5) ... 127s Selecting previously unselected package libpkgconf3:arm64. 127s Preparing to unpack .../41-libpkgconf3_1.8.1-4build1_arm64.deb ... 127s Unpacking libpkgconf3:arm64 (1.8.1-4build1) ... 127s Selecting previously unselected package pkgconf-bin. 127s Preparing to unpack .../42-pkgconf-bin_1.8.1-4build1_arm64.deb ... 127s Unpacking pkgconf-bin (1.8.1-4build1) ... 127s Selecting previously unselected package pkgconf:arm64. 127s Preparing to unpack .../43-pkgconf_1.8.1-4build1_arm64.deb ... 127s Unpacking pkgconf:arm64 (1.8.1-4build1) ... 127s Selecting previously unselected package zlib1g-dev:arm64. 127s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_arm64.deb ... 127s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 127s Selecting previously unselected package libgio-2.0-dev:arm64. 127s Preparing to unpack .../45-libgio-2.0-dev_2.86.3-4_arm64.deb ... 127s Unpacking libgio-2.0-dev:arm64 (2.86.3-4) ... 127s Setting up linux-libc-dev:arm64 (6.18.0-9.9) ... 127s Setting up libgomp1:arm64 (15.2.0-12ubuntu1) ... 127s Setting up libffi-dev:arm64 (3.5.2-3) ... 127s Setting up libpcre2-16-0:arm64 (10.46-1) ... 127s Setting up libsysprof-capture-4-dev:arm64 (49.0-5) ... 127s Setting up libpcre2-32-0:arm64 (10.46-1) ... 127s Setting up libpkgconf3:arm64 (1.8.1-4build1) ... 127s Setting up rpcsvc-proto (1.4.3-1build1) ... 127s Setting up libmpc3:arm64 (1.3.1-2) ... 127s Setting up libsepol-dev:arm64 (3.9-2) ... 127s Setting up pkgconf-bin (1.8.1-4build1) ... 127s Setting up libubsan1:arm64 (15.2.0-12ubuntu1) ... 127s Setting up libpcre2-posix3:arm64 (10.46-1) ... 127s Setting up libhwasan0:arm64 (15.2.0-12ubuntu1) ... 127s Setting up libcrypt-dev:arm64 (1:4.5.1-1) ... 127s Setting up libasan8:arm64 (15.2.0-12ubuntu1) ... 127s Setting up libtsan2:arm64 (15.2.0-12ubuntu1) ... 127s Setting up libisl23:arm64 (0.27-1build1) ... 127s Setting up libc-dev-bin (2.42-2ubuntu5) ... 127s Setting up libcc1-0:arm64 (15.2.0-12ubuntu1) ... 127s Setting up liblsan0:arm64 (15.2.0-12ubuntu1) ... 127s Setting up libitm1:arm64 (15.2.0-12ubuntu1) ... 127s Setting up cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 127s Setting up libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ... 127s Setting up pkgconf:arm64 (1.8.1-4build1) ... 127s Setting up cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 127s Setting up cpp-15 (15.2.0-12ubuntu1) ... 127s Setting up cpp (4:15.2.0-4ubuntu1) ... 127s Setting up libc6-dev:arm64 (2.42-2ubuntu5) ... 127s Setting up gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 127s Setting up libpcre2-dev:arm64 (10.46-1) ... 127s Setting up gcc-15 (15.2.0-12ubuntu1) ... 127s Setting up libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ... 127s Setting up g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 127s Setting up uuid-dev:arm64 (2.41.2-4ubuntu2) ... 127s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 127s Setting up libselinux-dev:arm64 (3.9-4) ... 127s Setting up g++-15 (15.2.0-12ubuntu1) ... 127s Setting up gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 127s Setting up libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 127s Setting up gcc (4:15.2.0-4ubuntu1) ... 127s Setting up g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 127s Setting up libmount-dev:arm64 (2.41.2-4ubuntu2) ... 127s Setting up libgio-2.0-dev:arm64 (2.86.3-4) ... 127s Setting up g++ (4:15.2.0-4ubuntu1) ... 127s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 127s Setting up build-essential (12.12ubuntu2) ... 127s Processing triggers for libc-bin (2.42-2ubuntu5) ... 127s Processing triggers for man-db (2.13.1-1) ... 128s Processing triggers for libglib2.0-0t64:arm64 (2.86.3-4) ... 128s No schema files found: doing nothing. 128s Processing triggers for install-info (7.2-5) ... 129s autopkgtest [02:01:29]: test build: [----------------------- 129s + mode=dynamic 129s + getopt -o --long static -n debian/tests/build -- 129s + getopt_temp= -- 129s + eval set -- -- 129s + set -- -- 129s + true 129s + shift 129s + break 129s + mktemp -d 129s + WORKDIR=/tmp/tmp.3FgkGuqHJe 129s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 129s + cd /tmp/tmp.3FgkGuqHJe 129s + [ -n ] 129s + CROSS_COMPILE= 129s + cat 129s + cat 129s + cat 129s + cat 129s + cat 129s + cat 129s + cflags= 129s + pcflags= 129s + packages=glib-2.0 129s + pkg-config --cflags --libs glib-2.0 129s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 129s build (glib, dynamic): OK 129s + echo build (glib, dynamic): OK 129s + [ -x glib-dynamic ] 129s + foo=bar ./glib-dynamic 129s run (glib, dynamic): OK 129s + echo run (glib, dynamic): OK 129s + cflags= 129s + pcflags= 129s + packages=gobject-2.0 129s + pkg-config --cflags --libs gobject-2.0 129s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 130s build (gobject, dynamic): OK 130s + echo build (gobject, dynamic): OK 130s + [ -x gobject-dynamic ] 130s + foo=bar ./gobject-dynamic 130s run (gobject, dynamic): OK 130s + echo run (gobject, dynamic): OK 130s + cflags= 130s + pcflags= 130s + packages=gio-2.0 130s + pkg-config --cflags --libs gio-2.0 130s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 130s + echo build (gio, dynamic): OK 130s + [ -x gio-dynamic ] 130s + foo=bar ./gio-dynamic 130s build (gio, dynamic): OK 130s run (gio, dynamic): OK 130s + echo run (gio, dynamic): OK 130s + cflags= 130s + pcflags= 130s + packages=gio-unix-2.0 130s + pkg-config --cflags --libs gio-unix-2.0 130s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 130s + echo build (gio-unix, dynamic): OK 130s + [ -x gio-unix-dynamic ] 130s + foo=bar ./gio-unix-dynamic 130s build (gio-unix, dynamic): OK 130s + echo run (gio-unix, dynamic): OK 130s + cflags= 130s + pcflags= 130s + packages=gmodule-2.0 130s + pkg-config --cflags --libs gmodule-2.0 130s run (gio-unix, dynamic): OK 130s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 130s build (gmodule, dynamic): OK 130s + echo build (gmodule, dynamic): OK 130s + [ -x gmodule-dynamic ] 130s + foo=bar ./gmodule-dynamic 130s + echo run (gmodule, dynamic): OK 130s + cflags= 130s + pcflags= 130s + packages=gthread-2.0 130s + pkg-config --cflags --libs gthread-2.0 130s run (gmodule, dynamic): OK 130s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 130s build (gthread, dynamic): OK 130s + echo build (gthread, dynamic): OK 130s + [ -x gthread-dynamic ] 130s + foo=bar ./gthread-dynamic 130s run (gthread, dynamic): OK 130s + echo run (gthread, dynamic): OK 130s + rm -rf /tmp/tmp.3FgkGuqHJe 130s autopkgtest [02:01:30]: test build: -----------------------] 131s autopkgtest [02:01:31]: test build: - - - - - - - - - - results - - - - - - - - - - 131s build PASS (superficial) 131s autopkgtest [02:01:31]: test build-static: preparing testbed 131s Reading package lists... 132s Building dependency tree... 132s Reading state information... 132s Solving dependencies... 132s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 133s autopkgtest [02:01:33]: test build-static: [----------------------- 133s + mode=dynamic 133s + getopt -o --long static -n debian/tests/build -- --static 133s + getopt_temp= --static -- 133s + eval set -- --static -- 133s + set -- --static -- 133s + true 133s + mode=static 133s + shift 133s + continue 133s + true 133s + shift 133s + break 133s + mktemp -d 133s + WORKDIR=/tmp/tmp.JtILRpK5uI 133s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 133s + cd /tmp/tmp.JtILRpK5uI 133s + [ -n ] 133s + CROSS_COMPILE= 133s + cat 133s + cat 133s + cat 133s + cat 133s + cat 133s + cat 133s + cflags= 133s + pcflags= 133s + packages=glib-2.0 133s + cflags=-static 133s + pcflags=--static 133s + pkg-config --static --cflags --libs glib-2.0 133s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 133s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 133s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 133s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 133s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s build (glib, static): OK 134s + echo build (glib, static): OK 134s + [ -x glib-static ] 134s + foo=bar ./glib-static 134s + echo run (glib, static): OK 134s + cflags= 134s + pcflags= 134s + packages=gobject-2.0 134s + cflags=-static 134s + pcflags=--static 134s + pkg-config --static --cflags --libs gobject-2.0 134s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 134s run (glib, static): OK 134s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 134s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s + echo build (gobject, static): OK 134s + [ -x gobject-static ] 134s + foo=bar ./gobject-static 134s build (gobject, static): OK 134s run (gobject, static): OK 134s + echo run (gobject, static): OK 134s + cflags= 134s + pcflags= 134s + packages=gio-2.0 134s + cflags=-static 134s + pcflags=--static 134s + continue 134s + cflags= 134s + pcflags= 134s + packages=gio-unix-2.0 134s + cflags=-static 134s + pcflags=--static 134s + continue 134s + cflags= 134s + pcflags= 134s + packages=gmodule-2.0 134s + cflags=-static 134s + pcflags=--static 134s + pkg-config --static --cflags --libs gmodule-2.0 134s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 134s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 134s (.text+0x5c8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 134s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s build (gmodule, static): OK 134s + echo build (gmodule, static): OK 134s + [ -x gmodule-static ] 134s + foo=bar ./gmodule-static 134s + echo run (gmodule, static): OK 134s + cflags= 134s + pcflags= 134s + packages=gthread-2.0 134s + cflags=-static 134s + pcflags=--static 134s + pkg-config --static --cflags --libs gthread-2.0 134s run (gmodule, static): OK 134s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 134s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 134s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 134s + echo build (gthread, static): OK 134s + [ -x gthread-static ] 134s + foo=bar ./gthread-static 134s build (gthread, static): OK 134s + echo run (gthread, static): OK 134s + rm -rf /tmp/tmp.JtILRpK5uI 134s run (gthread, static): OK 135s autopkgtest [02:01:35]: test build-static: -----------------------] 135s build-static PASS (superficial) 135s autopkgtest [02:01:35]: test build-static: - - - - - - - - - - results - - - - - - - - - - 135s autopkgtest [02:01:35]: test girepository-tools: preparing testbed 157s Creating nova instance adt-resolute-arm64-glib2.0-20260205-015920-juju-7f2275-prod-proposed-migration-environment-15-ef311c1b-3408-4b23-9f23-3c2aba0980cc from image adt/ubuntu-resolute-arm64-server-20260204.img (UUID f58d981d-b271-4157-b9b1-fd704695563c)... 227s autopkgtest [02:03:07]: testbed dpkg architecture: arm64 227s autopkgtest [02:03:07]: testbed apt version: 3.1.14 227s autopkgtest [02:03:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 228s autopkgtest [02:03:08]: testbed release detected to be: resolute 229s autopkgtest [02:03:09]: updating testbed package index (apt update) 229s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 229s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 229s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 229s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 229s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1768 kB] 230s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 230s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [228 kB] 230s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 230s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [262 kB] 230s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7248 B] 230s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB] 230s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 230s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1540 kB] 230s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [40.2 kB] 230s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [26.0 kB] 230s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [776 B] 234s Fetched 4091 kB in 2s (2375 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 237s Reading package lists... 237s Reading package lists... 237s Building dependency tree... 237s Reading state information... 238s Calculating upgrade... 238s The following packages will be upgraded: 238s libc-bin libc-gconv-modules-extra libc6 locales python3-linkify-it 238s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 238s Need to get 7881 kB of archives. 238s After this operation, 0 B of additional disk space will be used. 238s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-gconv-modules-extra arm64 2.42-2ubuntu5 [1413 kB] 238s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc6 arm64 2.42-2ubuntu5 [1594 kB] 238s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-bin arm64 2.42-2ubuntu5 [599 kB] 238s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 locales all 2.42-2ubuntu5 [4255 kB] 238s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 239s dpkg-preconfigure: unable to re-open stdin: No such file or directory 239s Fetched 7881 kB in 0s (22.9 MB/s) 239s (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 ... 89360 files and directories currently installed.) 239s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_arm64.deb ... 239s Unpacking libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 239s Setting up libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) ... 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 ... 89360 files and directories currently installed.) 240s Preparing to unpack .../libc6_2.42-2ubuntu5_arm64.deb ... 240s Unpacking libc6:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 240s Setting up libc6:arm64 (2.42-2ubuntu5) ... 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 ... 89360 files and directories currently installed.) 240s Preparing to unpack .../libc-bin_2.42-2ubuntu5_arm64.deb ... 240s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 240s Setting up libc-bin (2.42-2ubuntu5) ... 241s (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 ... 89360 files and directories currently installed.) 241s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 241s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 241s Preparing to unpack .../python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 241s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 241s Setting up locales (2.42-2ubuntu5) ... 242s Generating locales (this might take a while)... 244s en_US.UTF-8... done 244s Generation complete. 244s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 244s Processing triggers for man-db (2.13.1-1) ... 246s Processing triggers for systemd (259-1ubuntu3) ... 247s autopkgtest [02:03:27]: upgrading testbed (apt dist-upgrade and autopurge) 247s Reading package lists... 247s Building dependency tree... 247s Reading state information... 247s Calculating upgrade... 248s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 248s Reading package lists... 248s Building dependency tree... 248s Reading state information... 248s Solving dependencies... 249s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 253s Reading package lists... 254s Building dependency tree... 254s Reading state information... 254s Solving dependencies... 254s The following NEW packages will be installed: 254s gir1.2-glib-2.0-dev girepository-tools native-architecture 254s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 254s Need to get 972 kB of archives. 254s After this operation, 12.4 MB of additional disk space will be used. 254s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.86.3-4 [865 kB] 254s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B] 254s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.86.3-4 [104 kB] 255s Fetched 972 kB in 0s (3311 kB/s) 255s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 255s (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 ... 89360 files and directories currently installed.) 255s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.3-4_arm64.deb ... 255s Unpacking gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 255s Selecting previously unselected package native-architecture. 255s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 255s Unpacking native-architecture (0.2.6build1) ... 255s Selecting previously unselected package girepository-tools:arm64. 255s Preparing to unpack .../girepository-tools_2.86.3-4_arm64.deb ... 255s Unpacking girepository-tools:arm64 (2.86.3-4) ... 255s Setting up native-architecture (0.2.6build1) ... 255s Setting up gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 255s Setting up girepository-tools:arm64 (2.86.3-4) ... 255s Processing triggers for man-db (2.13.1-1) ... 272s autopkgtest [02:03:52]: test girepository-tools: [----------------------- 272s + cd /tmp/autopkgtest.i2khvY/autopkgtest_tmp 272s + dpkg-architecture -qDEB_HOST_GNU_TYPE 272s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 272s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 272s + dpkg-architecture -qDEB_HOST_MULTIARCH 272s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 272s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 272s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 272s typelib: GLib-2.0 272s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 272s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 273s autopkgtest [02:03:53]: test girepository-tools: -----------------------] 273s autopkgtest [02:03:53]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 273s girepository-tools PASS (superficial) 274s autopkgtest [02:03:54]: test libgio-2.0-dev-bin: preparing testbed 308s Creating nova instance adt-resolute-arm64-glib2.0-20260205-015920-juju-7f2275-prod-proposed-migration-environment-15-ef311c1b-3408-4b23-9f23-3c2aba0980cc from image adt/ubuntu-resolute-arm64-server-20260204.img (UUID f58d981d-b271-4157-b9b1-fd704695563c)... 377s autopkgtest [02:05:37]: testbed dpkg architecture: arm64 377s autopkgtest [02:05:37]: testbed apt version: 3.1.14 378s autopkgtest [02:05:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 378s autopkgtest [02:05:38]: testbed release detected to be: resolute 379s autopkgtest [02:05:39]: updating testbed package index (apt update) 379s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 379s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 379s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 379s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 379s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 379s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 379s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1768 kB] 379s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [228 kB] 380s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [262 kB] 380s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7248 B] 380s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB] 380s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 380s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1540 kB] 380s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [40.2 kB] 380s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [26.0 kB] 380s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [776 B] 384s Fetched 4091 kB in 1s (4488 kB/s) 386s Reading package lists... 386s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 386s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 386s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 386s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 387s Reading package lists... 387s Reading package lists... 387s Building dependency tree... 387s Reading state information... 388s Calculating upgrade... 388s The following packages will be upgraded: 388s libc-bin libc-gconv-modules-extra libc6 locales python3-linkify-it 388s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 388s Need to get 7881 kB of archives. 388s After this operation, 0 B of additional disk space will be used. 388s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-gconv-modules-extra arm64 2.42-2ubuntu5 [1413 kB] 389s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc6 arm64 2.42-2ubuntu5 [1594 kB] 389s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-bin arm64 2.42-2ubuntu5 [599 kB] 389s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 locales all 2.42-2ubuntu5 [4255 kB] 389s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 389s dpkg-preconfigure: unable to re-open stdin: No such file or directory 389s Fetched 7881 kB in 1s (13.5 MB/s) 389s (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 ... 89360 files and directories currently installed.) 389s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_arm64.deb ... 389s Unpacking libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 390s Setting up libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) ... 390s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 89360 files and directories currently installed.) 390s Preparing to unpack .../libc6_2.42-2ubuntu5_arm64.deb ... 390s Unpacking libc6:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 390s Setting up libc6:arm64 (2.42-2ubuntu5) ... 390s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 89360 files and directories currently installed.) 390s Preparing to unpack .../libc-bin_2.42-2ubuntu5_arm64.deb ... 390s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 391s Setting up libc-bin (2.42-2ubuntu5) ... 391s (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 ... 89360 files and directories currently installed.) 391s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 391s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 391s Preparing to unpack .../python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 391s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 391s Setting up locales (2.42-2ubuntu5) ... 392s Generating locales (this might take a while)... 394s en_US.UTF-8... done 394s Generation complete. 394s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 394s Processing triggers for man-db (2.13.1-1) ... 395s Processing triggers for systemd (259-1ubuntu3) ... 396s autopkgtest [02:05:56]: upgrading testbed (apt dist-upgrade and autopurge) 397s Reading package lists... 397s Building dependency tree... 397s Reading state information... 397s Calculating upgrade... 397s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 398s Reading package lists... 398s Building dependency tree... 398s Reading state information... 398s Solving dependencies... 399s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 402s Reading package lists... 402s Building dependency tree... 402s Reading state information... 402s Solving dependencies... 403s The following NEW packages will be installed: 403s libgio-2.0-dev-bin 403s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 403s Need to get 128 kB of archives. 403s After this operation, 822 kB of additional disk space will be used. 403s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.86.3-4 [128 kB] 404s Fetched 128 kB in 1s (146 kB/s) 404s Selecting previously unselected package libgio-2.0-dev-bin. 404s (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 ... 89360 files and directories currently installed.) 404s Preparing to unpack .../libgio-2.0-dev-bin_2.86.3-4_arm64.deb ... 404s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 404s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 404s Processing triggers for man-db (2.13.1-1) ... 414s autopkgtest [02:06:14]: test libgio-2.0-dev-bin: [----------------------- 415s + gdbus-codegen --help 415s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 415s [--c-namespace NAMESPACE] [--c-generate-object-manager] 415s [--c-generate-autocleanup {none,objects,all}] 415s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 415s [--generate-rst OUTFILES] [--pragma-once] 415s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 415s [--glib-min-required VERSION] 415s [--glib-max-allowed VERSION] 415s [--symbol-decorator SYMBOL_DECORATOR] 415s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 415s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 415s [--generate-c-code OUTFILES | --header | --body | 415s --interface-info-header | --interface-info-body] 415s [--output FILE | --output-directory OUTDIR] 415s FILE [FILE ...] 415s 415s D-Bus code and documentation generator 415s 415s positional arguments: 415s FILE D-Bus introspection XML file 415s 415s options: 415s -h, --help show this help message and exit 415s --interface-prefix PREFIX 415s String to strip from D-Bus interface names for code 415s and docs 415s --c-namespace NAMESPACE 415s The namespace to use for generated C code 415s --c-generate-object-manager 415s Generate a GDBusObjectManagerClient subclass when 415s generating C code 415s --c-generate-autocleanup {none,objects,all} 415s Generate autocleanup support 415s --generate-docbook OUTFILES 415s Generate Docbook in OUTFILES-org.Project.IFace.xml 415s --generate-md OUTFILES 415s Generate Markdown in OUTFILES-org.Project.IFace.md 415s --generate-rst OUTFILES 415s Generate reStructuredText in OUTFILES- 415s org.Project.IFace.rst 415s --pragma-once Use "pragma once" as the inclusion guard 415s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 415s Add annotation (may be used several times) 415s --glib-min-required VERSION 415s Minimum version of GLib to be supported by the 415s outputted code (default: 2.30) 415s --glib-max-allowed VERSION 415s Maximum version of GLib to be used by the outputted 415s code (default: current GLib version) 415s --symbol-decorator SYMBOL_DECORATOR 415s Macro used to decorate a symbol in the outputted 415s header, possibly to export symbols 415s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 415s Additional header required for decorator specified by 415s --symbol-decorator 415s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 415s Additional define required for decorator specified by 415s --symbol-decorator 415s --generate-c-code OUTFILES 415s Generate C code in OUTFILES.[ch] 415s --header Generate C headers 415s --body Generate C code 415s --interface-info-header 415s Generate GDBusInterfaceInfo C header 415s --interface-info-body 415s Generate GDBusInterfaceInfo C code 415s --output FILE Write output into the specified file 415s --output-directory OUTDIR 415s Location to output generated files 415s + glib-compile-resources --version 415s 2.86.3 415s + glib-genmarshal --version 415s glib-genmarshal version 2.86.3 415s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 415s You may redistribute copies of glib-genmarshal under the terms of 415s the GNU General Public License which can be found in the 415s GLib source package. Sources, examples and contact 415s information are available at http://www.gtk.org 415s + glib-gettextize --version 415s /usr/bin/glib-gettextize (GNU glib) 2.86.3 415s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 415s This is free software; see the source for copying conditions. There is NO 415s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 415s Written by Ulrich Drepper 415s + glib-mkenums --version 415s glib-mkenums version 2.86.3 415s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 415s You may redistribute copies of glib-mkenums under the terms of 415s the GNU General Public License which can be found in the 415s GLib source package. Sources, examples and contact 415s information are available at http://www.gtk.org 415s + gobject-query tree 415s GObject 415s + gtester --version 415s gtester version 2.86.3 415s + gtester-report --version 415s gtester-report (GLib utils) version 2.86.3. 415s autopkgtest [02:06:15]: test libgio-2.0-dev-bin: -----------------------] 416s libgio-2.0-dev-bin PASS (superficial) 416s autopkgtest [02:06:16]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 417s autopkgtest [02:06:17]: test libglib2.0-dev: preparing testbed 447s Creating nova instance adt-resolute-arm64-glib2.0-20260205-015920-juju-7f2275-prod-proposed-migration-environment-15-ef311c1b-3408-4b23-9f23-3c2aba0980cc from image adt/ubuntu-resolute-arm64-server-20260204.img (UUID f58d981d-b271-4157-b9b1-fd704695563c)... 513s autopkgtest [02:07:53]: testbed dpkg architecture: arm64 513s autopkgtest [02:07:53]: testbed apt version: 3.1.14 513s autopkgtest [02:07:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 513s autopkgtest [02:07:53]: testbed release detected to be: resolute 514s autopkgtest [02:07:54]: updating testbed package index (apt update) 516s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 516s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 516s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 516s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 516s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1768 kB] 517s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 517s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [228 kB] 517s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 517s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [262 kB] 517s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7248 B] 517s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB] 517s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 517s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1540 kB] 517s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [40.2 kB] 517s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [26.0 kB] 517s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [776 B] 521s Fetched 4091 kB in 3s (1540 kB/s) 522s Reading package lists... 524s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 524s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 524s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 524s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 525s Reading package lists... 525s Reading package lists... 525s Building dependency tree... 525s Reading state information... 526s Calculating upgrade... 526s The following packages will be upgraded: 526s libc-bin libc-gconv-modules-extra libc6 locales python3-linkify-it 527s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 527s Need to get 7881 kB of archives. 527s After this operation, 0 B of additional disk space will be used. 527s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-gconv-modules-extra arm64 2.42-2ubuntu5 [1413 kB] 527s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc6 arm64 2.42-2ubuntu5 [1594 kB] 527s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-bin arm64 2.42-2ubuntu5 [599 kB] 527s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 locales all 2.42-2ubuntu5 [4255 kB] 527s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 528s dpkg-preconfigure: unable to re-open stdin: No such file or directory 528s Fetched 7881 kB in 1s (6113 kB/s) 528s (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 ... 89360 files and directories currently installed.) 528s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_arm64.deb ... 528s Unpacking libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 528s Setting up libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) ... 528s (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 ... 89360 files and directories currently installed.) 528s Preparing to unpack .../libc6_2.42-2ubuntu5_arm64.deb ... 529s Unpacking libc6:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 529s Setting up libc6:arm64 (2.42-2ubuntu5) ... 529s (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 ... 89360 files and directories currently installed.) 529s Preparing to unpack .../libc-bin_2.42-2ubuntu5_arm64.deb ... 529s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 529s Setting up libc-bin (2.42-2ubuntu5) ... 529s (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 ... 89360 files and directories currently installed.) 529s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 529s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 530s Preparing to unpack .../python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 530s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 530s Setting up locales (2.42-2ubuntu5) ... 530s Generating locales (this might take a while)... 532s en_US.UTF-8... done 532s Generation complete. 532s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 534s Processing triggers for man-db (2.13.1-1) ... 534s Processing triggers for systemd (259-1ubuntu3) ... 535s autopkgtest [02:08:15]: upgrading testbed (apt dist-upgrade and autopurge) 535s Reading package lists... 535s Building dependency tree... 535s Reading state information... 536s Calculating upgrade... 536s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 536s Reading package lists... 536s Building dependency tree... 536s Reading state information... 537s Solving dependencies... 537s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 542s Reading package lists... 542s Building dependency tree... 542s Reading state information... 542s Solving dependencies... 543s The following NEW packages will be installed: 543s build-essential cpp cpp-15 cpp-15-aarch64-linux-gnu cpp-aarch64-linux-gnu 543s g++ g++-15 g++-15-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-15 543s gcc-15-aarch64-linux-gnu gcc-aarch64-linux-gnu gir1.2-glib-2.0-dev 543s girepository-tools libasan8 libblkid-dev libc-dev-bin libc6-dev libcc1-0 543s libcrypt-dev libffi-dev libgcc-15-dev libgio-2.0-dev libgio-2.0-dev-bin 543s libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 543s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 543s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux-dev libsepol-dev 543s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 linux-libc-dev 543s native-architecture pkgconf pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev 543s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 543s Need to get 74.7 MB of archives. 543s After this operation, 280 MB of additional disk space will be used. 543s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-dev-bin arm64 2.42-2ubuntu5 [22.5 kB] 543s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 linux-libc-dev arm64 6.18.0-9.9 [1834 kB] 543s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libcrypt-dev arm64 1:4.5.1-1 [123 kB] 543s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 rpcsvc-proto arm64 1.4.3-1build1 [65.6 kB] 543s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc6-dev arm64 2.42-2ubuntu5 [1765 kB] 543s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libisl23 arm64 0.27-1build1 [676 kB] 543s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libmpc3 arm64 1.3.1-2 [55.6 kB] 543s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [11.7 MB] 543s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15 arm64 15.2.0-12ubuntu1 [1030 B] 543s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [5736 B] 543s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp arm64 4:15.2.0-4ubuntu1 [22.4 kB] 543s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libcc1-0 arm64 15.2.0-12ubuntu1 [49.0 kB] 543s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-12ubuntu1 [147 kB] 543s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libitm1 arm64 15.2.0-12ubuntu1 [27.8 kB] 543s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 libasan8 arm64 15.2.0-12ubuntu1 [2920 kB] 543s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 liblsan0 arm64 15.2.0-12ubuntu1 [1316 kB] 543s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libtsan2 arm64 15.2.0-12ubuntu1 [2688 kB] 544s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libubsan1 arm64 15.2.0-12ubuntu1 [1175 kB] 544s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libhwasan0 arm64 15.2.0-12ubuntu1 [1638 kB] 544s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-15-dev arm64 15.2.0-12ubuntu1 [2600 kB] 544s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [23.1 MB] 544s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15 arm64 15.2.0-12ubuntu1 [519 kB] 544s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [1206 B] 544s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc arm64 4:15.2.0-4ubuntu1 [5016 B] 544s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++-15-dev arm64 15.2.0-12ubuntu1 [2549 kB] 544s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [13.2 MB] 544s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15 arm64 15.2.0-12ubuntu1 [25.3 kB] 544s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [956 B] 544s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 g++ arm64 4:15.2.0-4ubuntu1 [1080 B] 544s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 build-essential arm64 12.12ubuntu2 [5254 B] 544s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.86.3-4 [865 kB] 544s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B] 544s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.86.3-4 [104 kB] 544s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libffi-dev arm64 3.5.2-3 [63.0 kB] 544s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 uuid-dev arm64 2.41.2-4ubuntu2 [57.4 kB] 544s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libblkid-dev arm64 2.41.2-4ubuntu2 [246 kB] 544s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 libsepol-dev arm64 3.9-2 [413 kB] 544s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-16-0 arm64 10.46-1 [225 kB] 544s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-32-0 arm64 10.46-1 [213 kB] 544s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-posix3 arm64 10.46-1 [7300 B] 544s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-dev arm64 10.46-1 [772 kB] 545s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 libselinux-dev arm64 3.9-4 [184 kB] 545s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 libmount-dev arm64 2.41.2-4ubuntu2 [37.6 kB] 545s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 libsysprof-capture-4-dev arm64 49.0-5 [54.4 kB] 545s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 libpkgconf3 arm64 1.8.1-4build1 [33.7 kB] 545s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf-bin arm64 1.8.1-4build1 [21.7 kB] 545s Get:47 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf arm64 1.8.1-4build1 [16.8 kB] 545s Get:48 http://ftpmaster.internal/ubuntu resolute/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu2 [899 kB] 545s Get:49 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev arm64 2.86.3-4 [1912 kB] 545s Get:50 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.86.3-4 [128 kB] 545s Get:51 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-bin arm64 2.86.3-4 [97.9 kB] 545s Get:52 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev-bin arm64 2.86.3-4 [18.2 kB] 545s Get:53 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev arm64 2.86.3-4 [18.9 kB] 545s Fetched 74.7 MB in 2s (38.2 MB/s) 545s Selecting previously unselected package libc-dev-bin. 545s (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 ... 89360 files and directories currently installed.) 545s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu5_arm64.deb ... 545s Unpacking libc-dev-bin (2.42-2ubuntu5) ... 545s Selecting previously unselected package linux-libc-dev:arm64. 545s Preparing to unpack .../01-linux-libc-dev_6.18.0-9.9_arm64.deb ... 545s Unpacking linux-libc-dev:arm64 (6.18.0-9.9) ... 545s Selecting previously unselected package libcrypt-dev:arm64. 545s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_arm64.deb ... 545s Unpacking libcrypt-dev:arm64 (1:4.5.1-1) ... 545s Selecting previously unselected package rpcsvc-proto. 545s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_arm64.deb ... 545s Unpacking rpcsvc-proto (1.4.3-1build1) ... 545s Selecting previously unselected package libc6-dev:arm64. 545s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu5_arm64.deb ... 545s Unpacking libc6-dev:arm64 (2.42-2ubuntu5) ... 545s Selecting previously unselected package libisl23:arm64. 545s Preparing to unpack .../05-libisl23_0.27-1build1_arm64.deb ... 545s Unpacking libisl23:arm64 (0.27-1build1) ... 545s Selecting previously unselected package libmpc3:arm64. 545s Preparing to unpack .../06-libmpc3_1.3.1-2_arm64.deb ... 545s Unpacking libmpc3:arm64 (1.3.1-2) ... 545s Selecting previously unselected package cpp-15-aarch64-linux-gnu. 545s Preparing to unpack .../07-cpp-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 545s Unpacking cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package cpp-15. 546s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package cpp-aarch64-linux-gnu. 546s Preparing to unpack .../09-cpp-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 546s Unpacking cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 546s Selecting previously unselected package cpp. 546s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_arm64.deb ... 546s Unpacking cpp (4:15.2.0-4ubuntu1) ... 546s Selecting previously unselected package libcc1-0:arm64. 546s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking libcc1-0:arm64 (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package libgomp1:arm64. 546s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking libgomp1:arm64 (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package libitm1:arm64. 546s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking libitm1:arm64 (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package libasan8:arm64. 546s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking libasan8:arm64 (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package liblsan0:arm64. 546s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking liblsan0:arm64 (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package libtsan2:arm64. 546s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking libtsan2:arm64 (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package libubsan1:arm64. 546s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking libubsan1:arm64 (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package libhwasan0:arm64. 546s Preparing to unpack .../18-libhwasan0_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking libhwasan0:arm64 (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package libgcc-15-dev:arm64. 546s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ... 546s Selecting previously unselected package gcc-15-aarch64-linux-gnu. 546s Preparing to unpack .../20-gcc-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 546s Unpacking gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 547s Selecting previously unselected package gcc-15. 547s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_arm64.deb ... 547s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 547s Selecting previously unselected package gcc-aarch64-linux-gnu. 547s Preparing to unpack .../22-gcc-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 547s Unpacking gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 547s Selecting previously unselected package gcc. 547s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_arm64.deb ... 547s Unpacking gcc (4:15.2.0-4ubuntu1) ... 547s Selecting previously unselected package libstdc++-15-dev:arm64. 547s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_arm64.deb ... 547s Unpacking libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ... 547s Selecting previously unselected package g++-15-aarch64-linux-gnu. 547s Preparing to unpack .../25-g++-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 547s Unpacking g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 547s Selecting previously unselected package g++-15. 547s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_arm64.deb ... 547s Unpacking g++-15 (15.2.0-12ubuntu1) ... 547s Selecting previously unselected package g++-aarch64-linux-gnu. 547s Preparing to unpack .../27-g++-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 547s Unpacking g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 547s Selecting previously unselected package g++. 547s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_arm64.deb ... 547s Unpacking g++ (4:15.2.0-4ubuntu1) ... 548s Selecting previously unselected package build-essential. 548s Preparing to unpack .../29-build-essential_12.12ubuntu2_arm64.deb ... 548s Unpacking build-essential (12.12ubuntu2) ... 548s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 548s Preparing to unpack .../30-gir1.2-glib-2.0-dev_2.86.3-4_arm64.deb ... 548s Unpacking gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 548s Selecting previously unselected package native-architecture. 548s Preparing to unpack .../31-native-architecture_0.2.6build1_all.deb ... 548s Unpacking native-architecture (0.2.6build1) ... 548s Selecting previously unselected package girepository-tools:arm64. 548s Preparing to unpack .../32-girepository-tools_2.86.3-4_arm64.deb ... 548s Unpacking girepository-tools:arm64 (2.86.3-4) ... 548s Selecting previously unselected package libffi-dev:arm64. 548s Preparing to unpack .../33-libffi-dev_3.5.2-3_arm64.deb ... 548s Unpacking libffi-dev:arm64 (3.5.2-3) ... 548s Selecting previously unselected package uuid-dev:arm64. 548s Preparing to unpack .../34-uuid-dev_2.41.2-4ubuntu2_arm64.deb ... 548s Unpacking uuid-dev:arm64 (2.41.2-4ubuntu2) ... 548s Selecting previously unselected package libblkid-dev:arm64. 548s Preparing to unpack .../35-libblkid-dev_2.41.2-4ubuntu2_arm64.deb ... 548s Unpacking libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 548s Selecting previously unselected package libsepol-dev:arm64. 548s Preparing to unpack .../36-libsepol-dev_3.9-2_arm64.deb ... 548s Unpacking libsepol-dev:arm64 (3.9-2) ... 548s Selecting previously unselected package libpcre2-16-0:arm64. 548s Preparing to unpack .../37-libpcre2-16-0_10.46-1_arm64.deb ... 548s Unpacking libpcre2-16-0:arm64 (10.46-1) ... 548s Selecting previously unselected package libpcre2-32-0:arm64. 548s Preparing to unpack .../38-libpcre2-32-0_10.46-1_arm64.deb ... 548s Unpacking libpcre2-32-0:arm64 (10.46-1) ... 548s Selecting previously unselected package libpcre2-posix3:arm64. 548s Preparing to unpack .../39-libpcre2-posix3_10.46-1_arm64.deb ... 548s Unpacking libpcre2-posix3:arm64 (10.46-1) ... 548s Selecting previously unselected package libpcre2-dev:arm64. 548s Preparing to unpack .../40-libpcre2-dev_10.46-1_arm64.deb ... 548s Unpacking libpcre2-dev:arm64 (10.46-1) ... 548s Selecting previously unselected package libselinux-dev:arm64. 548s Preparing to unpack .../41-libselinux-dev_3.9-4_arm64.deb ... 548s Unpacking libselinux-dev:arm64 (3.9-4) ... 548s Selecting previously unselected package libmount-dev:arm64. 548s Preparing to unpack .../42-libmount-dev_2.41.2-4ubuntu2_arm64.deb ... 548s Unpacking libmount-dev:arm64 (2.41.2-4ubuntu2) ... 548s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 548s Preparing to unpack .../43-libsysprof-capture-4-dev_49.0-5_arm64.deb ... 548s Unpacking libsysprof-capture-4-dev:arm64 (49.0-5) ... 548s Selecting previously unselected package libpkgconf3:arm64. 548s Preparing to unpack .../44-libpkgconf3_1.8.1-4build1_arm64.deb ... 548s Unpacking libpkgconf3:arm64 (1.8.1-4build1) ... 548s Selecting previously unselected package pkgconf-bin. 548s Preparing to unpack .../45-pkgconf-bin_1.8.1-4build1_arm64.deb ... 548s Unpacking pkgconf-bin (1.8.1-4build1) ... 548s Selecting previously unselected package pkgconf:arm64. 548s Preparing to unpack .../46-pkgconf_1.8.1-4build1_arm64.deb ... 548s Unpacking pkgconf:arm64 (1.8.1-4build1) ... 548s Selecting previously unselected package zlib1g-dev:arm64. 548s Preparing to unpack .../47-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_arm64.deb ... 548s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 548s Selecting previously unselected package libgio-2.0-dev:arm64. 548s Preparing to unpack .../48-libgio-2.0-dev_2.86.3-4_arm64.deb ... 548s Unpacking libgio-2.0-dev:arm64 (2.86.3-4) ... 548s Selecting previously unselected package libgio-2.0-dev-bin. 548s Preparing to unpack .../49-libgio-2.0-dev-bin_2.86.3-4_arm64.deb ... 548s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 548s Selecting previously unselected package libglib2.0-bin. 548s Preparing to unpack .../50-libglib2.0-bin_2.86.3-4_arm64.deb ... 548s Unpacking libglib2.0-bin (2.86.3-4) ... 549s Selecting previously unselected package libglib2.0-dev-bin. 549s Preparing to unpack .../51-libglib2.0-dev-bin_2.86.3-4_arm64.deb ... 549s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 549s Selecting previously unselected package libglib2.0-dev:arm64. 549s Preparing to unpack .../52-libglib2.0-dev_2.86.3-4_arm64.deb ... 549s Unpacking libglib2.0-dev:arm64 (2.86.3-4) ... 549s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 549s Setting up native-architecture (0.2.6build1) ... 549s Setting up linux-libc-dev:arm64 (6.18.0-9.9) ... 549s Setting up libglib2.0-bin (2.86.3-4) ... 549s Setting up libgomp1:arm64 (15.2.0-12ubuntu1) ... 549s Setting up libffi-dev:arm64 (3.5.2-3) ... 549s Setting up libpcre2-16-0:arm64 (10.46-1) ... 549s Setting up libsysprof-capture-4-dev:arm64 (49.0-5) ... 549s Setting up libpcre2-32-0:arm64 (10.46-1) ... 549s Setting up libpkgconf3:arm64 (1.8.1-4build1) ... 549s Setting up rpcsvc-proto (1.4.3-1build1) ... 549s Setting up libmpc3:arm64 (1.3.1-2) ... 549s Setting up libsepol-dev:arm64 (3.9-2) ... 549s Setting up pkgconf-bin (1.8.1-4build1) ... 549s Setting up libubsan1:arm64 (15.2.0-12ubuntu1) ... 549s Setting up libpcre2-posix3:arm64 (10.46-1) ... 549s Setting up gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 549s Setting up libhwasan0:arm64 (15.2.0-12ubuntu1) ... 549s Setting up libcrypt-dev:arm64 (1:4.5.1-1) ... 549s Setting up libasan8:arm64 (15.2.0-12ubuntu1) ... 549s Setting up libtsan2:arm64 (15.2.0-12ubuntu1) ... 549s Setting up libisl23:arm64 (0.27-1build1) ... 549s Setting up libc-dev-bin (2.42-2ubuntu5) ... 549s Setting up libcc1-0:arm64 (15.2.0-12ubuntu1) ... 549s Setting up liblsan0:arm64 (15.2.0-12ubuntu1) ... 549s Setting up libitm1:arm64 (15.2.0-12ubuntu1) ... 549s Setting up cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 549s Setting up girepository-tools:arm64 (2.86.3-4) ... 549s Setting up libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ... 549s Setting up pkgconf:arm64 (1.8.1-4build1) ... 549s Setting up cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 549s Setting up cpp-15 (15.2.0-12ubuntu1) ... 549s Setting up cpp (4:15.2.0-4ubuntu1) ... 549s Setting up libc6-dev:arm64 (2.42-2ubuntu5) ... 549s Setting up libglib2.0-dev-bin (2.86.3-4) ... 549s Setting up gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 549s Setting up libpcre2-dev:arm64 (10.46-1) ... 549s Setting up gcc-15 (15.2.0-12ubuntu1) ... 549s Setting up libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ... 549s Setting up g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 549s Setting up uuid-dev:arm64 (2.41.2-4ubuntu2) ... 549s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 549s Setting up libselinux-dev:arm64 (3.9-4) ... 549s Setting up g++-15 (15.2.0-12ubuntu1) ... 549s Setting up gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 549s Setting up libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 549s Setting up gcc (4:15.2.0-4ubuntu1) ... 549s Setting up g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 549s Setting up libmount-dev:arm64 (2.41.2-4ubuntu2) ... 549s Setting up libgio-2.0-dev:arm64 (2.86.3-4) ... 549s Setting up g++ (4:15.2.0-4ubuntu1) ... 549s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 549s Setting up build-essential (12.12ubuntu2) ... 549s Processing triggers for install-info (7.2-5) ... 549s Processing triggers for libc-bin (2.42-2ubuntu5) ... 549s Processing triggers for man-db (2.13.1-1) ... 550s Processing triggers for libglib2.0-0t64:arm64 (2.86.3-4) ... 550s No schema files found: doing nothing. 550s Setting up libglib2.0-dev:arm64 (2.86.3-4) ... 557s autopkgtest [02:08:37]: test libglib2.0-dev: [----------------------- 558s + debian/tests/build 558s + mode=dynamic 558s + getopt -o --long static -n debian/tests/build -- 558s + getopt_temp= -- 558s + eval set -- -- 558s + set -- -- 558s + true 558s + shift 558s + break 558s + mktemp -d 558s + WORKDIR=/tmp/tmp.b2mOBC0V8N 558s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 558s + cd /tmp/tmp.b2mOBC0V8N 558s + [ -n ] 558s + CROSS_COMPILE= 558s + cat 558s + cat 558s + cat 558s + cat 558s + cat 558s + cat 558s + cflags= 558s + pcflags= 558s + packages=glib-2.0 558s + pkg-config --cflags --libs glib-2.0 558s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 558s build (glib, dynamic): OK 558s run (glib, dynamic): OK 558s + echo build (glib, dynamic): OK 558s + [ -x glib-dynamic ] 558s + foo=bar ./glib-dynamic 558s + echo run (glib, dynamic): OK 558s + cflags= 558s + pcflags= 558s + packages=gobject-2.0 558s + pkg-config --cflags --libs gobject-2.0 558s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 558s build (gobject, dynamic): OK 558s + echo build (gobject, dynamic): OK 558s + [ -x gobject-dynamic ] 558s + foo=bar ./gobject-dynamic 558s + echo run (gobject, dynamic): OK 558s + cflags= 558s + pcflags= 558s + packages=gio-2.0 558s + pkg-config --cflags --libs gio-2.0 558s run (gobject, dynamic): OK 558s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 558s build (gio, dynamic): OK 558s + echo build (gio, dynamic): OK 558s + [ -x gio-dynamic ] 558s + foo=bar ./gio-dynamic 558s + echo run (gio, dynamic): OK 558s run (gio, dynamic): OK 558s + cflags= 558s + pcflags= 558s + packages=gio-unix-2.0 558s + pkg-config --cflags --libs gio-unix-2.0 558s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 558s build (gio-unix, dynamic): OK 558s + echo build (gio-unix, dynamic): OK 558s + [ -x gio-unix-dynamic ] 558s + foo=bar ./gio-unix-dynamic 558s + echo run (gio-unix, dynamic): OK 558s + cflags= 558s + pcflags= 558s + packages=gmodule-2.0 558s run (gio-unix, dynamic): OK 558s + pkg-config --cflags --libs gmodule-2.0 558s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 558s build (gmodule, dynamic): OK 558s + echo build (gmodule, dynamic): OK 558s + [ -x gmodule-dynamic ] 558s + foo=bar ./gmodule-dynamic 558s + echo run (gmodule, dynamic): OK 558s run (gmodule, dynamic): OK 558s + cflags= 558s + pcflags= 558s + packages=gthread-2.0 558s + pkg-config --cflags --libs gthread-2.0 558s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 558s build (gthread, dynamic): OK 558s + echo build (gthread, dynamic): OK 558s + [ -x gthread-dynamic ] 558s + foo=bar ./gthread-dynamic 558s run (gthread, dynamic): OK 558s + echo run (gthread, dynamic): OK 558s + rm -rf /tmp/tmp.b2mOBC0V8N 558s + debian/tests/build-static 558s + mode=dynamic 558s + getopt -o --long static -n debian/tests/build -- --static 558s + getopt_temp= --static -- 558s + eval set -- --static -- 558s + set -- --static -- 558s + true 558s + mode=static 558s + shift 558s + continue 558s + true 558s + shift 558s + break 558s + mktemp -d 558s + WORKDIR=/tmp/tmp.lbo9z6ixQS 558s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 558s + cd /tmp/tmp.lbo9z6ixQS 558s + [ -n ] 558s + CROSS_COMPILE= 558s + cat 558s + cat 558s + cat 558s + cat 559s + cat 559s + cat 559s + cflags= 559s + pcflags= 559s + packages=glib-2.0 559s + cflags=-static 559s + pcflags=--static 559s + pkg-config --static --cflags --libs glib-2.0 559s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 559s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 559s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s build (glib, static): OK 559s + echo build (glib, static): OK 559s + [ -x glib-static ] 559s + foo=bar ./glib-static 559s + echo run (glib, static): OK 559s + run (glib, static): OK 559s cflags= 559s + pcflags= 559s + packages=gobject-2.0 559s + cflags=-static 559s + pcflags=--static 559s + pkg-config --static --cflags --libs gobject-2.0 559s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 559s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 559s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s build (gobject, static): OK 559s + echo build (gobject, static): OK 559s + [ -x gobject-static ] 559s + foo=bar ./gobject-static 559s + run (gobject, static): OK 559s echo run (gobject, static): OK 559s + cflags= 559s + pcflags= 559s + packages=gio-2.0 559s + cflags=-static 559s + pcflags=--static 559s + continue 559s + cflags= 559s + pcflags= 559s + packages=gio-unix-2.0 559s + cflags=-static 559s + pcflags=--static 559s + continue 559s + cflags= 559s + pcflags= 559s + packages=gmodule-2.0 559s + cflags=-static 559s + pcflags=--static 559s + pkg-config --static --cflags --libs gmodule-2.0 559s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 559s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 559s (.text+0x5c8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 559s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s build (gmodule, static): OK 559s + echo build (gmodule, static): OK 559s + [ -x gmodule-static ] 559s + foo=bar ./gmodule-static 559s + echo run (gmodule, static): OK 559s + run (gmodule, static): OK 559s cflags= 559s + pcflags= 559s + packages=gthread-2.0 559s + cflags=-static 559s + pcflags=--static 559s + pkg-config --static --cflags --libs gthread-2.0 559s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 559s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 559s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 559s build (gthread, static): OK 559s + echo build (gthread, static): OK 559s + [ -x gthread-static ] 559s + foo=bar ./gthread-static 559s + echo run (gthread, static): OK 559s + rm -rf /tmp/tmp.lbo9z6ixQS 559s run (gthread, static): OK 559s + debian/tests/girepository-tools 559s + cd /tmp/autopkgtest.i2khvY/autopkgtest_tmp 559s + dpkg-architecture -qDEB_HOST_GNU_TYPE 559s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 559s + dpkg-architecture -qDEB_HOST_MULTIARCH 559s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 559s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 559s typelib: GLib-2.0 559s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 560s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 560s + debian/tests/libgio-2.0-dev-bin 560s + gdbus-codegen --help 560s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 560s [--c-namespace NAMESPACE] [--c-generate-object-manager] 560s [--c-generate-autocleanup {none,objects,all}] 560s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 560s [--generate-rst OUTFILES] [--pragma-once] 560s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 560s [--glib-min-required VERSION] 560s [--glib-max-allowed VERSION] 560s [--symbol-decorator SYMBOL_DECORATOR] 560s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 560s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 560s [--generate-c-code OUTFILES | --header | --body | 560s --interface-info-header | --interface-info-body] 560s [--output FILE | --output-directory OUTDIR] 560s FILE [FILE ...] 560s 560s D-Bus code and documentation generator 560s 560s positional arguments: 560s FILE D-Bus introspection XML file 560s 560s options: 560s -h, --help show this help message and exit 560s --interface-prefix PREFIX 560s String to strip from D-Bus interface names for code 560s and docs 560s --c-namespace NAMESPACE 560s The namespace to use for generated C code 560s --c-generate-object-manager 560s Generate a GDBusObjectManagerClient subclass when 560s generating C code 560s --c-generate-autocleanup {none,objects,all} 560s Generate autocleanup support 560s --generate-docbook OUTFILES 560s Generate Docbook in OUTFILES-org.Project.IFace.xml 560s --generate-md OUTFILES 560s Generate Markdown in OUTFILES-org.Project.IFace.md 560s --generate-rst OUTFILES 560s Generate reStructuredText in OUTFILES- 560s org.Project.IFace.rst 560s --pragma-once Use "pragma once" as the inclusion guard 560s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 560s Add annotation (may be used several times) 560s --glib-min-required VERSION 560s Minimum version of GLib to be supported by the 560s outputted code (default: 2.30) 560s --glib-max-allowed VERSION 560s Maximum version of GLib to be used by the outputted 560s code (default: current GLib version) 560s --symbol-decorator SYMBOL_DECORATOR 560s Macro used to decorate a symbol in the outputted 560s header, possibly to export symbols 560s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 560s Additional header required for decorator specified by 560s --symbol-decorator 560s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 560s Additional define required for decorator specified by 560s --symbol-decorator 560s --generate-c-code OUTFILES 560s Generate C code in OUTFILES.[ch] 560s --header Generate C headers 560s --body Generate C code 560s --interface-info-header 560s Generate GDBusInterfaceInfo C header 560s --interface-info-body 560s Generate GDBusInterfaceInfo C code 560s --output FILE Write output into the specified file 560s --output-directory OUTDIR 560s Location to output generated files 560s + glib-compile-resources --version 560s 2.86.3 560s + glib-genmarshal --version 560s glib-genmarshal version 2.86.3 560s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 560s You may redistribute copies of glib-genmarshal under the terms of 560s the GNU General Public License which can be found in the 560s GLib source package. Sources, examples and contact 560s information are available at http://www.gtk.org 560s + glib-gettextize --version 560s /usr/bin/glib-gettextize (GNU glib) 2.86.3 560s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 560s This is free software; see the source for copying conditions. There is NO 560s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 560s Written by Ulrich Drepper 560s + glib-mkenums --version 560s glib-mkenums version 2.86.3 560s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 560s You may redistribute copies of glib-mkenums under the terms of 560s the GNU General Public License which can be found in the 560s GLib source package. Sources, examples and contact 560s information are available at http://www.gtk.org 560s + gobject-query tree 560s + gtester --version 560s GObject 560s gtester version 2.86.3 560s + gtester-report --version 560s gtester-report (GLib utils) version 2.86.3. 560s + cd /tmp/autopkgtest.i2khvY/autopkgtest_tmp 560s + dpkg-architecture -qDEB_HOST_MULTIARCH 560s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 560s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 560s typelib: GLib-2.0 560s + gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 560s + gi-decompile-typelib -o GLib.gir GLib.typelib 560s autopkgtest [02:08:40]: test libglib2.0-dev: -----------------------] 561s autopkgtest [02:08:41]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 561s libglib2.0-dev PASS (superficial) 561s autopkgtest [02:08:41]: test installed-tests: preparing testbed 587s Creating nova instance adt-resolute-arm64-glib2.0-20260205-015920-juju-7f2275-prod-proposed-migration-environment-15-ef311c1b-3408-4b23-9f23-3c2aba0980cc from image adt/ubuntu-resolute-arm64-server-20260204.img (UUID f58d981d-b271-4157-b9b1-fd704695563c)... 659s autopkgtest [02:10:19]: testbed dpkg architecture: arm64 659s autopkgtest [02:10:19]: testbed apt version: 3.1.14 659s autopkgtest [02:10:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 660s autopkgtest [02:10:20]: testbed release detected to be: resolute 660s autopkgtest [02:10:20]: updating testbed package index (apt update) 661s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 661s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 661s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 661s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 661s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 661s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [227 kB] 661s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1719 kB] 662s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 662s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [265 kB] 662s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7328 B] 662s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB] 662s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 662s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1481 kB] 662s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [40.2 kB] 662s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [26.0 kB] 662s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [776 B] 666s Fetched 3984 kB in 1s (3001 kB/s) 667s Reading package lists... 668s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 668s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 668s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 668s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 669s Reading package lists... 669s Reading package lists... 669s Building dependency tree... 669s Reading state information... 669s Calculating upgrade... 670s The following packages will be upgraded: 670s libc-bin libc-gconv-modules-extra libc6 locales pollinate python3-linkify-it 670s python3-referencing sed 670s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 670s Need to get 8110 kB of archives. 670s After this operation, 0 B of additional disk space will be used. 670s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 sed arm64 4.9-2build3 [193 kB] 670s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-gconv-modules-extra arm64 2.42-2ubuntu5 [1413 kB] 672s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc6 arm64 2.42-2ubuntu5 [1594 kB] 672s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-bin arm64 2.42-2ubuntu5 [599 kB] 672s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 locales all 2.42-2ubuntu5 [4255 kB] 674s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 674s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 pollinate all 4.33-4ubuntu5 [14.0 kB] 674s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 674s dpkg-preconfigure: unable to re-open stdin: No such file or directory 674s Fetched 8110 kB in 4s (1887 kB/s) 675s (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 ... 89360 files and directories currently installed.) 675s Preparing to unpack .../sed_4.9-2build3_arm64.deb ... 675s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 675s Setting up sed (4.9-2build3) ... 675s (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 ... 89360 files and directories currently installed.) 675s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_arm64.deb ... 675s Unpacking libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 675s Setting up libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) ... 675s (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 ... 89360 files and directories currently installed.) 675s Preparing to unpack .../libc6_2.42-2ubuntu5_arm64.deb ... 675s Unpacking libc6:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 675s Setting up libc6:arm64 (2.42-2ubuntu5) ... 676s (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 ... 89360 files and directories currently installed.) 676s Preparing to unpack .../libc-bin_2.42-2ubuntu5_arm64.deb ... 676s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 676s Setting up libc-bin (2.42-2ubuntu5) ... 676s (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 ... 89360 files and directories currently installed.) 676s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 676s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 676s Preparing to unpack .../python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 676s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 676s Preparing to unpack .../pollinate_4.33-4ubuntu5_all.deb ... 676s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 677s Preparing to unpack .../python3-referencing_0.36.2-1ubuntu2_all.deb ... 677s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 677s Setting up locales (2.42-2ubuntu5) ... 677s Generating locales (this might take a while)... 679s en_US.UTF-8... done 679s Generation complete. 679s Setting up pollinate (4.33-4ubuntu5) ... 690s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 690s Setting up python3-referencing (0.36.2-1ubuntu2) ... 690s Processing triggers for man-db (2.13.1-1) ... 693s Processing triggers for install-info (7.2-5) ... 693s Processing triggers for systemd (259-1ubuntu3) ... 693s autopkgtest [02:10:53]: upgrading testbed (apt dist-upgrade and autopurge) 693s Reading package lists... 693s Building dependency tree... 693s Reading state information... 693s Calculating upgrade... 694s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 694s Reading package lists... 694s Building dependency tree... 694s Reading state information... 694s Solving dependencies... 695s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 695s autopkgtest [02:10:55]: rebooting testbed after setup commands that affected boot 738s Reading package lists... 739s Building dependency tree... 739s Reading state information... 739s Solving dependencies... 739s The following NEW packages will be installed: 739s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 739s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin libgl1 739s libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0 739s libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 libunwind8 libvulkan1 739s libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 739s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 739s libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 739s mesa-libgallium native-architecture python3-dbusmock tzdata-legacy 739s x11-common x11-xkb-utils xserver-common xvfb 739s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 739s Need to get 18.6 MB of archives. 739s After this operation, 108 MB of additional disk space will be used. 739s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 dbus-x11 arm64 1.16.2-2ubuntu2 [23.1 kB] 739s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 desktop-file-utils arm64 0.28-1build1 [53.5 kB] 739s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.86.3-4 [865 kB] 740s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B] 740s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.86.3-4 [104 kB] 740s Get:6 http://ftpmaster.internal/ubuntu resolute/universe arm64 gnome-desktop-testing arm64 2021.1-5 [16.2 kB] 740s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libfontenc1 arm64 1:1.1.8-1build2 [13.9 kB] 740s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libx11-xcb1 arm64 2:1.8.12-1build1 [8216 B] 740s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-dri3-0 arm64 1.17.0-2ubuntu1 [7624 B] 740s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-present0 arm64 1.17.0-2ubuntu1 [6198 B] 740s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-randr0 arm64 1.17.0-2ubuntu1 [18.1 kB] 740s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-sync1 arm64 1.17.0-2ubuntu1 [9620 B] 740s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-xfixes0 arm64 1.17.0-2ubuntu1 [10.4 kB] 740s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libxshmfence1 arm64 1.3.3-1build1 [5482 B] 740s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 mesa-libgallium arm64 25.3.3-1ubuntu1 [12.1 MB] 740s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 libgbm1 arm64 25.3.3-1ubuntu1 [34.4 kB] 740s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.86.3-4 [128 kB] 740s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libvulkan1 arm64 1.4.335.0-1 [171 kB] 740s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libgl1-mesa-dri arm64 25.3.3-1ubuntu1 [36.4 kB] 740s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-bin arm64 2.86.3-4 [97.9 kB] 740s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev-bin arm64 2.86.3-4 [18.2 kB] 740s Get:22 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-dbusmock all 0.38.1-1 [92.0 kB] 740s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 tzdata-legacy all 2025c-3ubuntu3 [99.3 kB] 740s Get:24 http://ftpmaster.internal/ubuntu resolute/universe arm64 libglib2.0-tests arm64 2.86.3-4 [2268 kB] 740s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-glx0 arm64 1.17.0-2ubuntu1 [25.1 kB] 740s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-shm0 arm64 1.17.0-2ubuntu1 [5938 B] 740s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 libxxf86vm1 arm64 1:1.1.4-2 [10.2 kB] 740s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 libglx-mesa0 arm64 25.3.3-1ubuntu1 [110 kB] 740s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 x11-common all 1:7.7+24ubuntu1 [22.4 kB] 740s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 libice6 arm64 2:1.1.1-1build1 [43.0 kB] 740s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 libpixman-1-0 arm64 0.46.4-1 [204 kB] 740s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 libsm6 arm64 2:1.2.6-1 [16.6 kB] 740s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 libunwind8 arm64 1.8.3-0ubuntu1 [60.8 kB] 740s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libxt6t64 arm64 1:1.2.1-1.3 [168 kB] 740s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 libxmu6 arm64 2:1.1.3-4 [47.6 kB] 740s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libxpm4 arm64 1:3.5.17-1build3 [35.5 kB] 740s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 libxaw7 arm64 2:1.0.16-1build1 [183 kB] 740s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 libxfont2 arm64 1:2.0.6-2 [90.8 kB] 740s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libxkbfile1 arm64 1:1.1.0-1build5 [69.0 kB] 740s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 libxrender1 arm64 1:0.9.12-1 [19.5 kB] 740s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 libxrandr2 arm64 2:1.5.4-1build1 [19.1 kB] 740s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 x11-xkb-utils arm64 7.7+9build1 [165 kB] 740s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 740s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 libglvnd0 arm64 1.7.0-3 [57.9 kB] 740s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 libglx0 arm64 1.7.0-3 [33.0 kB] 740s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 libgl1 arm64 1.7.0-3 [102 kB] 740s Get:47 http://ftpmaster.internal/ubuntu resolute/universe arm64 xvfb arm64 2:21.1.21-1ubuntu1 [872 kB] 741s Fetched 18.6 MB in 1s (20.7 MB/s) 741s Selecting previously unselected package dbus-x11. 741s (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 ... 89360 files and directories currently installed.) 741s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_arm64.deb ... 741s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 741s Selecting previously unselected package desktop-file-utils. 741s Preparing to unpack .../01-desktop-file-utils_0.28-1build1_arm64.deb ... 741s Unpacking desktop-file-utils (0.28-1build1) ... 741s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 741s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.3-4_arm64.deb ... 741s Unpacking gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 741s Selecting previously unselected package native-architecture. 741s Preparing to unpack .../03-native-architecture_0.2.6build1_all.deb ... 741s Unpacking native-architecture (0.2.6build1) ... 741s Selecting previously unselected package girepository-tools:arm64. 741s Preparing to unpack .../04-girepository-tools_2.86.3-4_arm64.deb ... 741s Unpacking girepository-tools:arm64 (2.86.3-4) ... 741s Selecting previously unselected package gnome-desktop-testing. 741s Preparing to unpack .../05-gnome-desktop-testing_2021.1-5_arm64.deb ... 741s Unpacking gnome-desktop-testing (2021.1-5) ... 741s Selecting previously unselected package libfontenc1:arm64. 741s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1build2_arm64.deb ... 741s Unpacking libfontenc1:arm64 (1:1.1.8-1build2) ... 741s Selecting previously unselected package libx11-xcb1:arm64. 741s Preparing to unpack .../07-libx11-xcb1_2%3a1.8.12-1build1_arm64.deb ... 741s Unpacking libx11-xcb1:arm64 (2:1.8.12-1build1) ... 741s Selecting previously unselected package libxcb-dri3-0:arm64. 741s Preparing to unpack .../08-libxcb-dri3-0_1.17.0-2ubuntu1_arm64.deb ... 741s Unpacking libxcb-dri3-0:arm64 (1.17.0-2ubuntu1) ... 741s Selecting previously unselected package libxcb-present0:arm64. 741s Preparing to unpack .../09-libxcb-present0_1.17.0-2ubuntu1_arm64.deb ... 741s Unpacking libxcb-present0:arm64 (1.17.0-2ubuntu1) ... 741s Selecting previously unselected package libxcb-randr0:arm64. 741s Preparing to unpack .../10-libxcb-randr0_1.17.0-2ubuntu1_arm64.deb ... 741s Unpacking libxcb-randr0:arm64 (1.17.0-2ubuntu1) ... 741s Selecting previously unselected package libxcb-sync1:arm64. 741s Preparing to unpack .../11-libxcb-sync1_1.17.0-2ubuntu1_arm64.deb ... 741s Unpacking libxcb-sync1:arm64 (1.17.0-2ubuntu1) ... 741s Selecting previously unselected package libxcb-xfixes0:arm64. 741s Preparing to unpack .../12-libxcb-xfixes0_1.17.0-2ubuntu1_arm64.deb ... 741s Unpacking libxcb-xfixes0:arm64 (1.17.0-2ubuntu1) ... 742s Selecting previously unselected package libxshmfence1:arm64. 742s Preparing to unpack .../13-libxshmfence1_1.3.3-1build1_arm64.deb ... 742s Unpacking libxshmfence1:arm64 (1.3.3-1build1) ... 742s Selecting previously unselected package mesa-libgallium:arm64. 742s Preparing to unpack .../14-mesa-libgallium_25.3.3-1ubuntu1_arm64.deb ... 742s Unpacking mesa-libgallium:arm64 (25.3.3-1ubuntu1) ... 742s Selecting previously unselected package libgbm1:arm64. 742s Preparing to unpack .../15-libgbm1_25.3.3-1ubuntu1_arm64.deb ... 742s Unpacking libgbm1:arm64 (25.3.3-1ubuntu1) ... 742s Selecting previously unselected package libgio-2.0-dev-bin. 742s Preparing to unpack .../16-libgio-2.0-dev-bin_2.86.3-4_arm64.deb ... 742s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 742s Selecting previously unselected package libvulkan1:arm64. 742s Preparing to unpack .../17-libvulkan1_1.4.335.0-1_arm64.deb ... 742s Unpacking libvulkan1:arm64 (1.4.335.0-1) ... 742s Selecting previously unselected package libgl1-mesa-dri:arm64. 742s Preparing to unpack .../18-libgl1-mesa-dri_25.3.3-1ubuntu1_arm64.deb ... 742s Unpacking libgl1-mesa-dri:arm64 (25.3.3-1ubuntu1) ... 742s Selecting previously unselected package libglib2.0-bin. 742s Preparing to unpack .../19-libglib2.0-bin_2.86.3-4_arm64.deb ... 742s Unpacking libglib2.0-bin (2.86.3-4) ... 742s Selecting previously unselected package libglib2.0-dev-bin. 742s Preparing to unpack .../20-libglib2.0-dev-bin_2.86.3-4_arm64.deb ... 742s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 742s Selecting previously unselected package python3-dbusmock. 742s Preparing to unpack .../21-python3-dbusmock_0.38.1-1_all.deb ... 742s Unpacking python3-dbusmock (0.38.1-1) ... 742s Selecting previously unselected package tzdata-legacy. 742s Preparing to unpack .../22-tzdata-legacy_2025c-3ubuntu3_all.deb ... 742s Unpacking tzdata-legacy (2025c-3ubuntu3) ... 742s Selecting previously unselected package libglib2.0-tests. 742s Preparing to unpack .../23-libglib2.0-tests_2.86.3-4_arm64.deb ... 742s Unpacking libglib2.0-tests (2.86.3-4) ... 742s Selecting previously unselected package libxcb-glx0:arm64. 742s Preparing to unpack .../24-libxcb-glx0_1.17.0-2ubuntu1_arm64.deb ... 742s Unpacking libxcb-glx0:arm64 (1.17.0-2ubuntu1) ... 742s Selecting previously unselected package libxcb-shm0:arm64. 742s Preparing to unpack .../25-libxcb-shm0_1.17.0-2ubuntu1_arm64.deb ... 742s Unpacking libxcb-shm0:arm64 (1.17.0-2ubuntu1) ... 742s Selecting previously unselected package libxxf86vm1:arm64. 743s Preparing to unpack .../26-libxxf86vm1_1%3a1.1.4-2_arm64.deb ... 743s Unpacking libxxf86vm1:arm64 (1:1.1.4-2) ... 743s Selecting previously unselected package libglx-mesa0:arm64. 743s Preparing to unpack .../27-libglx-mesa0_25.3.3-1ubuntu1_arm64.deb ... 743s Unpacking libglx-mesa0:arm64 (25.3.3-1ubuntu1) ... 743s Selecting previously unselected package x11-common. 743s Preparing to unpack .../28-x11-common_1%3a7.7+24ubuntu1_all.deb ... 743s Unpacking x11-common (1:7.7+24ubuntu1) ... 743s Selecting previously unselected package libice6:arm64. 743s Preparing to unpack .../29-libice6_2%3a1.1.1-1build1_arm64.deb ... 743s Unpacking libice6:arm64 (2:1.1.1-1build1) ... 743s Selecting previously unselected package libpixman-1-0:arm64. 743s Preparing to unpack .../30-libpixman-1-0_0.46.4-1_arm64.deb ... 743s Unpacking libpixman-1-0:arm64 (0.46.4-1) ... 743s Selecting previously unselected package libsm6:arm64. 743s Preparing to unpack .../31-libsm6_2%3a1.2.6-1_arm64.deb ... 743s Unpacking libsm6:arm64 (2:1.2.6-1) ... 743s Selecting previously unselected package libunwind8:arm64. 743s Preparing to unpack .../32-libunwind8_1.8.3-0ubuntu1_arm64.deb ... 743s Unpacking libunwind8:arm64 (1.8.3-0ubuntu1) ... 743s Selecting previously unselected package libxt6t64:arm64. 743s Preparing to unpack .../33-libxt6t64_1%3a1.2.1-1.3_arm64.deb ... 743s Unpacking libxt6t64:arm64 (1:1.2.1-1.3) ... 743s Selecting previously unselected package libxmu6:arm64. 743s Preparing to unpack .../34-libxmu6_2%3a1.1.3-4_arm64.deb ... 743s Unpacking libxmu6:arm64 (2:1.1.3-4) ... 743s Selecting previously unselected package libxpm4:arm64. 743s Preparing to unpack .../35-libxpm4_1%3a3.5.17-1build3_arm64.deb ... 743s Unpacking libxpm4:arm64 (1:3.5.17-1build3) ... 743s Selecting previously unselected package libxaw7:arm64. 743s Preparing to unpack .../36-libxaw7_2%3a1.0.16-1build1_arm64.deb ... 743s Unpacking libxaw7:arm64 (2:1.0.16-1build1) ... 743s Selecting previously unselected package libxfont2:arm64. 743s Preparing to unpack .../37-libxfont2_1%3a2.0.6-2_arm64.deb ... 743s Unpacking libxfont2:arm64 (1:2.0.6-2) ... 743s Selecting previously unselected package libxkbfile1:arm64. 743s Preparing to unpack .../38-libxkbfile1_1%3a1.1.0-1build5_arm64.deb ... 743s Unpacking libxkbfile1:arm64 (1:1.1.0-1build5) ... 743s Selecting previously unselected package libxrender1:arm64. 743s Preparing to unpack .../39-libxrender1_1%3a0.9.12-1_arm64.deb ... 743s Unpacking libxrender1:arm64 (1:0.9.12-1) ... 743s Selecting previously unselected package libxrandr2:arm64. 743s Preparing to unpack .../40-libxrandr2_2%3a1.5.4-1build1_arm64.deb ... 743s Unpacking libxrandr2:arm64 (2:1.5.4-1build1) ... 743s Selecting previously unselected package x11-xkb-utils. 743s Preparing to unpack .../41-x11-xkb-utils_7.7+9build1_arm64.deb ... 743s Unpacking x11-xkb-utils (7.7+9build1) ... 743s Selecting previously unselected package xserver-common. 743s Preparing to unpack .../42-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 743s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 743s Selecting previously unselected package libglvnd0:arm64. 743s Preparing to unpack .../43-libglvnd0_1.7.0-3_arm64.deb ... 743s Unpacking libglvnd0:arm64 (1.7.0-3) ... 743s Selecting previously unselected package libglx0:arm64. 743s Preparing to unpack .../44-libglx0_1.7.0-3_arm64.deb ... 743s Unpacking libglx0:arm64 (1.7.0-3) ... 743s Selecting previously unselected package libgl1:arm64. 743s Preparing to unpack .../45-libgl1_1.7.0-3_arm64.deb ... 743s Unpacking libgl1:arm64 (1.7.0-3) ... 743s Selecting previously unselected package xvfb. 743s Preparing to unpack .../46-xvfb_2%3a21.1.21-1ubuntu1_arm64.deb ... 743s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 743s Setting up gnome-desktop-testing (2021.1-5) ... 743s Setting up libxcb-dri3-0:arm64 (1.17.0-2ubuntu1) ... 743s Setting up libpixman-1-0:arm64 (0.46.4-1) ... 743s Setting up libx11-xcb1:arm64 (2:1.8.12-1build1) ... 743s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 744s Setting up native-architecture (0.2.6build1) ... 744s Setting up libxcb-xfixes0:arm64 (1.17.0-2ubuntu1) ... 744s Setting up desktop-file-utils (0.28-1build1) ... 744s Setting up libxpm4:arm64 (1:3.5.17-1build3) ... 744s Setting up libxrender1:arm64 (1:0.9.12-1) ... 744s Setting up libglvnd0:arm64 (1.7.0-3) ... 744s Setting up libxcb-glx0:arm64 (1.17.0-2ubuntu1) ... 744s Setting up x11-common (1:7.7+24ubuntu1) ... 744s Setting up libglib2.0-bin (2.86.3-4) ... 744s Setting up libxcb-shm0:arm64 (1.17.0-2ubuntu1) ... 744s Setting up python3-dbusmock (0.38.1-1) ... 744s Setting up libunwind8:arm64 (1.8.3-0ubuntu1) ... 744s Setting up tzdata-legacy (2025c-3ubuntu3) ... 744s Setting up libxxf86vm1:arm64 (1:1.1.4-2) ... 744s Setting up libxcb-present0:arm64 (1.17.0-2ubuntu1) ... 744s Setting up libfontenc1:arm64 (1:1.1.8-1build2) ... 744s Setting up libxcb-sync1:arm64 (1.17.0-2ubuntu1) ... 744s Setting up libxrandr2:arm64 (2:1.5.4-1build1) ... 744s Setting up libvulkan1:arm64 (1.4.335.0-1) ... 744s Setting up gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ... 744s Setting up libxshmfence1:arm64 (1.3.3-1build1) ... 744s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 744s Setting up libxcb-randr0:arm64 (1.17.0-2ubuntu1) ... 744s Setting up libxkbfile1:arm64 (1:1.1.0-1build5) ... 744s Setting up libxfont2:arm64 (1:2.0.6-2) ... 744s Setting up libice6:arm64 (2:1.1.1-1build1) ... 744s Setting up mesa-libgallium:arm64 (25.3.3-1ubuntu1) ... 744s Setting up girepository-tools:arm64 (2.86.3-4) ... 744s Setting up libgbm1:arm64 (25.3.3-1ubuntu1) ... 744s Setting up libgl1-mesa-dri:arm64 (25.3.3-1ubuntu1) ... 744s Setting up libsm6:arm64 (2:1.2.6-1) ... 744s Setting up libglib2.0-dev-bin (2.86.3-4) ... 744s Setting up libglx-mesa0:arm64 (25.3.3-1ubuntu1) ... 744s Setting up libglx0:arm64 (1.7.0-3) ... 744s Setting up libgl1:arm64 (1.7.0-3) ... 744s Setting up libxt6t64:arm64 (1:1.2.1-1.3) ... 744s Setting up libglib2.0-tests (2.86.3-4) ... 744s Setting up libxmu6:arm64 (2:1.1.3-4) ... 744s Setting up libxaw7:arm64 (2:1.0.16-1build1) ... 744s Setting up x11-xkb-utils (7.7+9build1) ... 744s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 744s Setting up xvfb (2:21.1.21-1ubuntu1) ... 744s Processing triggers for man-db (2.13.1-1) ... 745s Processing triggers for libc-bin (2.42-2ubuntu5) ... 752s autopkgtest [02:11:52]: test installed-tests: [----------------------- 752s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 752s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 752s group entry: ubuntu:x:1000: 752s Environment: 752s ADTTMP=/tmp/autopkgtest.i2khvY/autopkgtest_tmp 752s ADT_ARTIFACTS=/tmp/autopkgtest.i2khvY/installed-tests-artifacts 752s ADT_TEST_TRIGGERS=glibc/2.42-2ubuntu5 chiark-tcl/1.3.7build1 752s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.i2khvY/installed-tests-artifacts 752s AUTOPKGTEST_TESTBED_ARCH=arm64 752s AUTOPKGTEST_TEST_ARCH=arm64 752s AUTOPKGTEST_TMP=/tmp/autopkgtest.i2khvY/autopkgtest_tmp 752s DEBIAN_FRONTEND=noninteractive 752s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 752s DEB_BUILD_OPTIONS=parallel=2 752s GIO_USE_VFS=local 752s GIO_USE_VOLUME_MONITOR=unix 752s HOME=/home/ubuntu 752s LANG=C.UTF-8 752s LOGNAME=ubuntu 752s MAIL=/var/mail/ubuntu 752s OLDPWD=/home/ubuntu 752s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 752s PWD=/tmp/autopkgtest.i2khvY/build.RyW/src 752s SHELL=/bin/bash 752s SHLVL=1 752s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.i2khvY/wrapper.sh --artifacts=/tmp/autopkgtest.i2khvY/installed-tests-artifacts --chdir=/tmp/autopkgtest.i2khvY/build.RyW/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.i2khvY/installed-tests-stderr --stdout=/tmp/autopkgtest.i2khvY/installed-tests-stdout --tmp=/tmp/autopkgtest.i2khvY/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glibc/2.42-2ubuntu5 chiark-tcl/1.3.7build1' --make-executable=/tmp/autopkgtest.i2khvY/build.RyW/src/debian/tests/installed-tests -- /tmp/autopkgtest.i2khvY/build.RyW/src/debian/tests/installed-tests 752s SUDO_GID=1000 752s SUDO_HOME=/home/ubuntu 752s SUDO_UID=1000 752s SUDO_USER=ubuntu 752s TERM=linux 752s USER=ubuntu 752s XDG_RUNTIME_DIR=/tmp/autopkgtest.i2khvY/autopkgtest_tmp 752s http_proxy=http://egress.ps7.internal:3128/ 752s https_proxy=http://egress.ps7.internal:3128/ 752s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 753s run-with-locales: de_DE=ISO-8859-1... 753s Character set: ISO-8859-1 753s Source file: de_DE 753s Output: /tmp/tmp.6hiyalg2XM/de_DE 753s run-with-locales: de_DE.utf8... 753s Character set: UTF-8 753s Source file: de_DE 753s Output: /tmp/tmp.6hiyalg2XM/de_DE.utf8 755s run-with-locales: de_DE@euro.utf8... 755s Character set: UTF-8 755s Source file: de_DE@euro 755s Output: /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8 757s run-with-locales: el_GR.utf8... 757s Character set: UTF-8 757s Source file: el_GR 757s Output: /tmp/tmp.6hiyalg2XM/el_GR.utf8 759s run-with-locales: en_GB=ISO-8859-1... 759s Character set: ISO-8859-1 759s Source file: en_GB 759s Output: /tmp/tmp.6hiyalg2XM/en_GB 759s run-with-locales: en_GB.utf8... 759s Character set: UTF-8 759s Source file: en_GB 759s Output: /tmp/tmp.6hiyalg2XM/en_GB.utf8 761s run-with-locales: en_US=ISO-8859-1... 761s Character set: ISO-8859-1 761s Source file: en_US 761s Output: /tmp/tmp.6hiyalg2XM/en_US 761s run-with-locales: en_US.utf8... 761s Character set: UTF-8 761s Source file: en_US 761s Output: /tmp/tmp.6hiyalg2XM/en_US.utf8 763s run-with-locales: es_ES.utf8... 763s Character set: UTF-8 763s Source file: es_ES 763s Output: /tmp/tmp.6hiyalg2XM/es_ES.utf8 765s run-with-locales: fa_IR=UTF-8... 765s Character set: UTF-8 765s Source file: fa_IR 765s Output: /tmp/tmp.6hiyalg2XM/fa_IR 767s run-with-locales: fa_IR.utf8... 767s Character set: UTF-8 767s Source file: fa_IR 767s Output: /tmp/tmp.6hiyalg2XM/fa_IR.utf8 769s run-with-locales: fr_FR.utf8... 770s Character set: UTF-8 770s Source file: fr_FR 770s Output: /tmp/tmp.6hiyalg2XM/fr_FR.utf8 771s run-with-locales: hr_HR.utf8... 771s Character set: UTF-8 771s Source file: hr_HR 771s Output: /tmp/tmp.6hiyalg2XM/hr_HR.utf8 773s run-with-locales: ja_JP.utf8... 773s Character set: UTF-8 773s Source file: ja_JP 773s Output: /tmp/tmp.6hiyalg2XM/ja_JP.utf8 774s run-with-locales: ja_JP.EUC-JP... 774s Character set: EUC-JP 774s Source file: ja_JP 774s Output: /tmp/tmp.6hiyalg2XM/ja_JP.eucjp 775s run-with-locales: lt_LT.utf8... 775s Character set: UTF-8 775s Source file: lt_LT 775s Output: /tmp/tmp.6hiyalg2XM/lt_LT.utf8 776s run-with-locales: pl_PL=ISO-8859-2... 776s Character set: ISO-8859-2 776s Source file: pl_PL 776s Output: /tmp/tmp.6hiyalg2XM/pl_PL 777s run-with-locales: pl_PL.ISO-8859-2... 777s Character set: ISO-8859-2 777s Source file: pl_PL 777s Output: /tmp/tmp.6hiyalg2XM/pl_PL.iso88592 777s run-with-locales: pl_PL.utf8... 777s Character set: UTF-8 777s Source file: pl_PL 777s Output: /tmp/tmp.6hiyalg2XM/pl_PL.utf8 779s run-with-locales: ru_RU=ISO-8859-5... 779s Character set: ISO-8859-5 779s Source file: ru_RU 779s Output: /tmp/tmp.6hiyalg2XM/ru_RU 779s run-with-locales: ru_RU.utf8... 779s Character set: UTF-8 779s Source file: ru_RU 779s Output: /tmp/tmp.6hiyalg2XM/ru_RU.utf8 781s run-with-locales: sr_RS=UTF-8... 781s Character set: UTF-8 781s Source file: sr_RS 781s Output: /tmp/tmp.6hiyalg2XM/sr_RS 784s run-with-locales: sr_RS@latin=UTF-8... 784s Character set: UTF-8 784s Source file: sr_RS@latin 784s Output: /tmp/tmp.6hiyalg2XM/sr_RS@latin 785s run-with-locales: sv_SE=ISO-8859-1... 785s Character set: ISO-8859-1 785s Source file: sv_SE 785s Output: /tmp/tmp.6hiyalg2XM/sv_SE 786s run-with-locales: sv_SE.utf8... 786s Character set: UTF-8 786s Source file: sv_SE 786s Output: /tmp/tmp.6hiyalg2XM/sv_SE.utf8 787s run-with-locales: tr_TR=ISO-8859-9... 787s Character set: ISO-8859-9 787s Source file: tr_TR 787s Output: /tmp/tmp.6hiyalg2XM/tr_TR 788s run-with-locales: tr_TR.utf8... 788s Character set: UTF-8 788s Source file: tr_TR 788s Output: /tmp/tmp.6hiyalg2XM/tr_TR.utf8 790s run-with-locales: tt_RU=UTF-8... 790s Character set: UTF-8 790s Source file: tt_RU 790s Output: /tmp/tmp.6hiyalg2XM/tt_RU 791s run-with-locales: tt_RU.utf8... 791s Character set: UTF-8 791s Source file: tt_RU 791s Output: /tmp/tmp.6hiyalg2XM/tt_RU.utf8 793s run-with-locales: tt_RU@iqtelif=UTF-8... 793s Character set: UTF-8 793s Source file: tt_RU@iqtelif 793s Output: /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif 795s /tmp/tmp.6hiyalg2XM 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/pl_PL.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/fa_IR.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/de_DE.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/sv_SE 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_NAME 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_TIME 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/sv_SE/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/tt_RU 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_NAME 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_TIME 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/tt_RU/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/tr_TR 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_NAME 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_TIME 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/tr_TR/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/lt_LT.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiy1..332 795s # Running test: glib/fileattributematcher.test 795s ok - glib/fileattributematcher.test 795s # Running test: glib/basic-signals.test 795s alg2XM/en_GB.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/en_GB.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/en_GB 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_NAME 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_TIME 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/en_GB/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/en_US 795s /tmp/tmp.6hiyalg2XM/en_US/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/en_US/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/en_US/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/en_US/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/en_US/LC_NAME 795s /tmp/tmp.6hiyalg2XM/en_US/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/en_US/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/en_US/LC_TIME 795s /tmp/tmp.6hiyalg2XM/en_US/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/en_US/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/en_US/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/en_US/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/en_US/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_NAME 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_TIME 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/ja_JP.eucjp/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_NAME 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_TIME 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/sr_RS@latin/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/es_ES.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/de_DE 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_NAME 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_TIME 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/de_DE/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/tr_TR.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/ru_RU 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_NAME 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_TIME 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/ru_RU/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/sr_RS 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_NAME 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_TIME 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/sr_RS/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/sv_SE.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_NAME 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_TIME 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/tt_RU@iqtelif/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/en_US.utf8 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/en_US.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/fr_FR.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/pl_PL 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_NAME 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_TIME 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/pl_PL/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/tt_RU.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_NAME 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_TIME 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/pl_PL.iso88592/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/ru_RU.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/ja_JP.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/fa_IR 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_NAME 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_TIME 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/fa_IR/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/el_GR.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/de_DE@euro.utf8/LC_COLLATE 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_IDENTIFICATION 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_CTYPE 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_MONETARY 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_MEASUREMENT 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_NAME 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_TIME 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_ADDRESS 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_NUMERIC 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_TELEPHONE 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_PAPER 795s /tmp/tmp.6hiyalg2XM/hr_HR.utf8/LC_COLLATE 795s TAP version 14 795s # random seed: R02S1f9954ae9e6a865febab44b9ade1086a 795s 1..3 795s # Start of fileattributematcher tests 795s ok 1 /fileattributematcher/exact 795s ok 2 /fileattributematcher/equality 795s ok 3 /fileattributematcher/subtract 795s # End of fileattributematcher tests 795s TAP version 14 795s # random seed: R02S22b3a9ede8f676d76dc47d7679a5563f 795s 1..1 795s # Start of gobject tests 795s ok 1 /gobject/basic-signals 795s # End of gobject tests 795s ok - glib/basic-signals.test 795s # Running test: glib/testfilemonitor.test 795s ok - glib/testfilemonitor.test 795s # Running test: glib/gdbus-test-codegen.test 795s ok - glib/gdbus-test-codegen.test 795s # Running test: glib/defaultvalue.test 795s ok - glib/defaultvalue.test 795s TAP version 14 795s # random seed: R02Sd1100adeb0a0fe576e12bd3a5fd13e2d 795s 1..8 795s # Start of monitor tests 795s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 795s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 795s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 795s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 795s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 795s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 795s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 795s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 795s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 795s # Start of file tests 795s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 795s # End of file tests 795s # End of monitor tests 795s TAP version 14 795s # random seed: R02S6e489df8b1079df47e9f67ccaba66afa 795s 1..8 795s # Start of gdbus tests 795s # Start of codegen tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/annotations/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/annotations/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/annotations/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/annotations/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/annotations/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/annotations/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/annotations/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/annotations/.dirs/runtime 795s ok 1 /gdbus/codegen/annotations 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/interface_stability/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/interface_stability/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/interface_stability/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/interface_stability/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/interface_stability/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/interface_stability/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/interface_stability/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/interface_stability/.dirs/runtime 795s ok 2 /gdbus/codegen/interface_stability 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/object-manager/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/object-manager/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/object-manager/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/object-manager/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/object-manager/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/object-manager/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/object-manager/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/object-manager/.dirs/runtime 795s ok 3 /gdbus/codegen/object-manager 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/property-naming/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/property-naming/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/property-naming/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/property-naming/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/property-naming/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/property-naming/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/property-naming/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/property-naming/.dirs/runtime 795s ok 4 /gdbus/codegen/property-naming 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/autocleanups/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/autocleanups/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/autocleanups/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/autocleanups/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/autocleanups/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/autocleanups/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/autocleanups/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/autocleanups/.dirs/runtime 795s ok 5 /gdbus/codegen/autocleanups 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/deprecations/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/deprecations/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/deprecations/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/deprecations/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/deprecations/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/deprecations/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/deprecations/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/deprecations/.dirs/runtime 795s ok 6 /gdbus/codegen/deprecations 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/standalone-interface-info/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/standalone-interface-info/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/standalone-interface-info/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/standalone-interface-info/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/standalone-interface-info/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/standalone-interface-info/.dirs/runtime 795s ok 7 /gdbus/codegen/standalone-interface-info 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/unix-fd-list/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/unix-fd-list/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/unix-fd-list/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/unix-fd-list/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/unix-fd-list/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/unix-fd-list/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/unix-fd-list/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LTV5J3/gdbus/codegen/unix-fd-list/.dirs/runtime 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 795s ok 8 /gdbus/codegen/unix-fd-list 795s # End of codegen tests 795s # End of gdbus tests 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s TAP version 14 795s # random seed: R02S0e13ccec62c7d1633f59c0cb6ef2c660 795s 1..84 795s # Start of Default Values tests 795s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 795s ok 2 /Default Values/GAppLaunchContext 795s ok 3 /Default Values/GApplicationCommandLine 795s # skipping GApplication:is-remote 795s ok 4 /Default Values/GApplication 795s ok 5 /Default Values/GBinding # SKIP mandatory construct params 795s ok 6 /Default Values/GBindingGroup 795s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 795s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 795s ok 9 /Default Values/GBytesIcon 795s ok 10 /Default Values/GCancellable 795s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 795s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 795s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 795s ok 14 /Default Values/GCredentials 795s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 795s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 795s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 795s ok 18 /Default Values/GDBusAuthObserver 795s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 795s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 795s ok 21 /Default Values/GDBusMessage 795s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 795s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 795s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 795s ok 25 /Default Values/GDBusObjectProxy 795s ok 26 /Default Values/GDBusObjectSkeleton 795s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 795s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 795s ok 29 /Default Values/GEmblem 795s ok 30 /Default Values/GEmblemedIcon 795s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 795s ok 32 /Default Values/GFileInfo 795s ok 33 /Default Values/GFileInputStream 795s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 795s ok 35 /Default Values/GFileOutputStream 795s ok 36 /Default Values/GFilenameCompleter 795s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 795s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 795s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 795s ok 40 /Default Values/GInitiallyUnowned 795s ok 41 /Default Values/GIOModule 795s ok 42 /Default Values/GListStore 795s ok 43 /Default Values/GMemoryInputStream 795s ok 44 /Default Values/GMemoryOutputStream 795s ok 45 /Default Values/GMenu 795s ok 46 /Default Values/GMenuItem 795s ok 47 /Default Values/GMountOperation 795s ok 48 /Default Values/GNativeSocketAddress 795s ok 49 /Default Values/GNetworkAddress 795s ok 50 /Default Values/GNetworkService 795s ok 51 /Default Values/GNotification 795s ok 52 /Default Values/GObject 795s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 795s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 795s # skipping GProxyAddressEnumerator:proxy-resolver 795s ok 54 /Default Values/GProxyAddressEnumerator 795s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 795s ok 56 /Default Values/GSettings # SKIP mandatory construct params 795s ok 57 /Default Values/GSignalGroup 795s ok 58 /Default Values/GSimpleAction 795s ok 59 /Default Values/GSimpleActionGroup 795s ok 60 /Default Values/GSimpleAsyncResult 795s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 795s ok 62 /Default Values/GSimplePermission 795s ok 63 /Default Values/GSimpleProxyResolver 795s # skipping GSocketClient:proxy-resolver 795s ok 64 /Default Values/GSocketClient 795s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 795s ok 66 /Default Values/GSocket # SKIP initialization failed 795s ok 67 /Default Values/GSocketListener 795s ok 68 /Default Values/GSocketService 795s ok 69 /Default Values/GSubprocess # SKIP initialization failed 795s ok 70 /Default Values/GSubprocessLauncher 795s # GLib-GIO-DEBUG: GTask 0xc4e94e85dae0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 795s ok 71 /Default Values/GTask 795s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 795s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 795s ok 74 /Default Values/GTestDBus 795s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 795s ok 76 /Default Values/GThreadedSocketService 795s ok 77 /Default Values/GTlsInteraction 795s ok 78 /Default Values/GTlsPassword 795s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 795s ok 80 /Default Values/GUnixFDList 795s ok 81 /Default Values/GVfs 795s ok 82 /Default Values/GVolumeMonitor 795s ok 83 /Default Values/GZlibCompressor 795s ok 84 /Default Values/GZlibDecompressor 795s # End of Default Values tests 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 795s # Running test: glib/unicode-encoding.test 795s TAP version 14 795s # random seed: R02S63e9e7834105f0b99ed3523127eb83a3 795s 1..1 795s # Start of unicode tests 795s ok 1 /unicode/encoding 795s # End of unicode tests 795s ok - glib/unicode-encoding.test 795s # Running test: glib/base64.test 795s TAP version 14 795s # random seed: R02S077b3403bc6731860fffe76a9abd863a 795s 1..28 795s # Start of base64 tests 795s ok 1 /base64/encode 795s ok 2 /base64/decode 795s ok 3 /base64/decode-inplace 795s ok 4 /base64/encode-decode 795s # Start of full tests 795s ok 5 /base64/full/1 795s ok 6 /base64/full/2 795s ok 7 /base64/full/3 795s ok 8 /base64/full/4 795s # End of full tests 795s # Start of encode tests 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 795s ok 9 /base64/encode/empty 795s # Start of incremental tests 795s # Start of small-block tests 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 795s ok 10 /base64/encode/incremental/small-block/1 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 795s ok 11 /base64/encode/incremental/small-block/2 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 795s ok 12 /base64/encode/incremental/small-block/3 795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 795s ok 13 /base64/encode/incremental/small-block/4 795s # End of small-block tests 795s # End of incremental tests 795s # End of encode tests 795s # Start of incremental tests 795s # Start of nobreak tests 795s ok 14 /base64/incremental/nobreak/1 795s ok 15 /base64/incremental/nobreak/2 795s ok 16 /base64/incremental/nobreak/3 795s ok 17 /base64/incremental/nobreak/4-a 795s ok 18 /base64/incremental/nobreak/4-b 795s ok 19 /base64/incremental/nobreak/4-c 795s # End of nobreak tests 795s # Start of break tests 795s ok 20 /base64/incremental/break/1 795s ok 21 /base64/incremental/break/2 795s ok 22 /base64/incremental/break/3 795s # End of break tests 795s # Start of smallblock tests 795s ok 23 /base64/incremental/smallblock/1 795s ok 24 /base64/incremental/smallblock/2 795s ok 25 /base64/incremental/smallblock/3 795s ok 26 /base64/incremental/smallblock/4 795s # End of smallblock tests 795s # End of incremental tests 795s # Start of decode tests 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 795s ok 27 /base64/decode/empty 795s # End of decode tests 795s # Start of encode-decode tests 795s # Vector 0: 795s # Vector 1: f 795s # Vector 2: fo 795s # Vector 3: foo 795s # Vector 4: foob 795s # Vector 5: fooba 795s # Vector 6: foobar 795s ok 28 /base64/encode-decode/rfc4648 795s # End of encode-decode tests 795s # End of base64 tests 795s TAP version 14 795s # random seed: R02Sc1ff7a66e5053f5976bc937327ee3a0d 795s 1..12 795s # Start of gdbus tests 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/.dirs/runtime 795s # Testing with unix:dir address 795s # Testing with unix:tmpdir address 795s ok - glib/base64.test 795s # Running test: glib/gdbus-peer.test 795s # Testing with unix:path address 795s ok 1 /gdbus/peer-to-peer 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/delayed-message-processing/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/delayed-message-processing/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/delayed-message-processing/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/delayed-message-processing/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/delayed-message-processing/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/delayed-message-processing/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/delayed-message-processing/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/delayed-message-processing/.dirs/runtime 795s # Testing with unix:dir address 796s ok 2 /gdbus/delayed-message-processing 796s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/nonce-tcp/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/nonce-tcp/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/nonce-tcp/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/nonce-tcp/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/nonce-tcp/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/nonce-tcp/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/nonce-tcp/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/nonce-tcp/.dirs/runtime 796s ok 3 /gdbus/nonce-tcp 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/tcp-anonymous/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/tcp-anonymous/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/tcp-anonymous/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/tcp-anonymous/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/tcp-anonymous/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/tcp-anonymous/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/tcp-anonymous/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/tcp-anonymous/.dirs/runtime 796s ok 4 /gdbus/tcp-anonymous 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/credentials/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/credentials/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/credentials/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/credentials/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/credentials/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/credentials/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/credentials/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/credentials/.dirs/runtime 796s ok 5 /gdbus/credentials 796s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/codegen-peer-to-peer/.dirs/home 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/codegen-peer-to-peer/.dirs/cache 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/codegen-peer-to-peer/.dirs/system-config2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/codegen-peer-to-peer/.dirs/config 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/codegen-peer-to-peer/.dirs/system-data2 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/codegen-peer-to-peer/.dirs/data 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/codegen-peer-to-peer/.dirs/state 796s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/codegen-peer-to-peer/.dirs/runtime 796s # Testing with unix:dir address 796s # Machine ID: 018f7d88dc59427c87a13b62f6243a66 797s ok 6 /gdbus/codegen-peer-to-peer 797s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 797s # Start of peer-to-peer tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/signals/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/signals/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/signals/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/signals/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/signals/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/signals/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/signals/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/signals/.dirs/runtime 797s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 797s # Testing with unix:dir address 797s ok 7 /gdbus/peer-to-peer/signals 797s # Start of invalid tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/server/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/server/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/server/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/server/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/server/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 797s ok 8 /gdbus/peer-to-peer/invalid/server 797s # Start of conn tests 797s # Start of stream tests 797s ok - glib/gdbus-peer.test 797s # Running test: glib/spawn-test.test 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 797s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 797s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 797s # End of stream tests 797s # Start of addr tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 797s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_GMC4J3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 797s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 797s # End of addr tests 797s # End of conn tests 797s # End of invalid tests 797s # End of peer-to-peer tests 797s # End of gdbus tests 797s TAP version 14 797s # random seed: R02S8e15f8f2c10e1e3436f526008df89d36 797s 1..2 797s # Start of spawn tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_088MK3/spawn/basics/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_088MK3/spawn/basics/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_088MK3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_088MK3/spawn/basics/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_088MK3/spawn/basics/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_088MK3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_088MK3/spawn/basics/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_088MK3/spawn/basics/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_088MK3/spawn/basics/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_088MK3/spawn/basics/.dirs/runtime 797s ok 1 /spawn/basics 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_088MK3/spawn/stdio-overwrite/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_088MK3/spawn/stdio-overwrite/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_088MK3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_088MK3/spawn/stdio-overwrite/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_088MK3/spawn/stdio-overwrite/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_088MK3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_088MK3/spawn/stdio-overwrite/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_088MK3/spawn/stdio-overwrite/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_088MK3/spawn/stdio-overwrite/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_088MK3/spawn/stdio-overwrite/.dirs/runtime 797s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 797s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 797s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 797s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 797s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 797s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 797s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 797s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 797s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 797s # Fetching GSpawn result output with stdin open, stdout open, stderr open 797s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 797s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 797s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 797s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 797s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 797s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 797s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 797s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 797s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 797s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 797s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 797s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 797s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 797s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 797s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 797s # Fetching GSpawn result with stdin open, stdout open, stderr open 797s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 797s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 797s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 797s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 797s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 797s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 797s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 797s ok 2 /spawn/stdio-overwrite 797s # End of spawn tests 797s ok - glib/spawn-test.test 797s # Running test: glib/properties-introspection.test 797s TAP version 14 797s # random seed: R02S8b79ee75e73ad7668d8cb687c8489750 797s 1..2 797s # Start of properties tests 797s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 797s ok 1 /properties/introspection 797s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 797s ok 2 /properties/collision 797s # End of properties tests 797s ok - glib/properties-introspection.test 797s # Running test: glib/closure.test 797s TAP version 14 797s # random seed: R02S4c403e4293715ad1a1671e02232e6f34 797s 1..6 797s # Start of closure tests 797s ok 1 /closure/idle 797s ok 2 /closure/timeout 797s ok 3 /closure/iochannel 797s ok 4 /closure/child 797s ok 5 /closure/fd 797s ok 6 /closure/signal 797s # End of closure tests 797s ok - glib/closure.test 797s # Running test: glib/rand.test 797s TAP version 14 797s # random seed: R02Se5286bc123d541a2ac38c02e84e00166 797s 1..2 797s # Start of rand tests 797s ok 1 /rand/test-rand 797s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 797s ok 2 /rand/double-range 797s # End of rand tests 797s ok - glib/rand.test 797s # Running test: glib/properties-refcount4.test 797s TAP version 14 797s # random seed: R02Sf400ba6dead31688cd3a496408fbd534 797s 1..1 797s # Start of gobject tests 797s # Start of refcount tests 797s ok 1 /gobject/refcount/properties-4 797s # End of refcount tests 797s # End of gobject tests 797s ok - glib/properties-refcount4.test 797s # Running test: glib/utils-c-99.test 797s TAP version 14 797s # random seed: R02S67f915ce0b2f841f972ce4ae89c81f86 797s 1..41 797s # Start of utils tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/language-names/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/language-names/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/language-names/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/language-names/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/language-names/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/language-names/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/language-names/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/language-names/.dirs/runtime 797s ok 1 /utils/language-names 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/locale-variants/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/locale-variants/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/locale-variants/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/locale-variants/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/locale-variants/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/locale-variants/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/locale-variants/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/locale-variants/.dirs/runtime 797s # Testing locale ‘en’ 797s # Testing locale ‘sr@latin’ 797s # Testing locale ‘fr_BE’ 797s # Testing locale ‘sr_SR@latin’ 797s # Testing locale ‘sr_SR@latin.UTF-8’ 797s # Testing locale ‘sr@latin_invalid’ 797s # Testing locale ‘sr.UTF-8@latin’ 797s # Testing locale ‘sr.UTF-8_latin’ 797s # Testing locale ‘sr.UTF-8@latin_invalid’ 797s ok 2 /utils/locale-variants 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/version/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/version/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/version/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/version/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/version/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/version/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/version/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/version/.dirs/runtime 797s ok 3 /utils/version 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/appname/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/appname/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/appname/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/appname/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/appname/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/appname/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/appname/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/appname/.dirs/runtime 797s ok 4 /utils/appname 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/prgname-thread-safety/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/prgname-thread-safety/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/prgname-thread-safety/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/prgname-thread-safety/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/prgname-thread-safety/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/prgname-thread-safety/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/prgname-thread-safety/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/prgname-thread-safety/.dirs/runtime 797s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 797s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 797s ok 5 /utils/prgname-thread-safety 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/tmpdir/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/tmpdir/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/tmpdir/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/tmpdir/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/tmpdir/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/tmpdir/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/tmpdir/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/tmpdir/.dirs/runtime 797s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 797s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 797s Unable to clean up temporary directory /tmp/test_utils-c-99_87R8J3/utils/tmpdir: No such file or directory 797s ok 6 /utils/tmpdir 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/basic_bits/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/basic_bits/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/basic_bits/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/basic_bits/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/basic_bits/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/basic_bits/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/basic_bits/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/basic_bits/.dirs/runtime 797s ok 7 /utils/basic_bits 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/bits/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/bits/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/bits/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/bits/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/bits/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/bits/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/bits/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/bits/.dirs/runtime 797s ok 8 /utils/bits 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/swap/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/swap/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/swap/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/swap/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/swap/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/swap/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/swap/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/swap/.dirs/runtime 797s ok 9 /utils/swap 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/find-program/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/find-program/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/find-program/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/find-program/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/find-program/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/find-program/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/find-program/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/find-program/.dirs/runtime 797s ok 10 /utils/find-program 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/find-program-for-path/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/find-program-for-path/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/find-program-for-path/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/find-program-for-path/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/find-program-for-path/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/find-program-for-path/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/find-program-for-path/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/find-program-for-path/.dirs/runtime 797s ok 11 /utils/find-program-for-path 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/debug/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/debug/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/debug/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/debug/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/debug/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/debug/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/debug/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/debug/.dirs/runtime 797s Unable to clean up temporary directory /tmp/test_utils-c-99_87R8J3/utils/debug: No such file or directory 797s ok 12 /utils/debug 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/codeset/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/codeset/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/codeset/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/codeset/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/codeset/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/codeset/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/codeset/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/codeset/.dirs/runtime 797s ok 13 /utils/codeset 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/codeset2/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/codeset2/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/codeset2/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/codeset2/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/codeset2/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/codeset2/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/codeset2/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/codeset2/.dirs/runtime 797s Unable to clean up temporary directory /tmp/test_utils-c-99_87R8J3/utils/codeset2: No such file or directory 797s ok 14 /utils/codeset2 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/console-charset/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/console-charset/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/console-charset/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/console-charset/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/console-charset/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/console-charset/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/console-charset/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/console-charset/.dirs/runtime 797s ok 15 /utils/console-charset 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/gettext/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/gettext/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/gettext/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/gettext/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/gettext/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/gettext/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/gettext/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/gettext/.dirs/runtime 797s ok 16 /utils/gettext 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/username/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/username/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/username/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/username/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/username/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/username/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/username/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/username/.dirs/runtime 797s ok 17 /utils/username 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/realname/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/realname/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/realname/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/realname/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/realname/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/realname/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/realname/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/realname/.dirs/runtime 797s ok 18 /utils/realname 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/hostname/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/hostname/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/hostname/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/hostname/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/hostname/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/hostname/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/hostname/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/hostname/.dirs/runtime 797s ok 19 /utils/hostname 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/os-info/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/os-info/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/os-info/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/os-info/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/os-info/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/os-info/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/os-info/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/os-info/.dirs/runtime 797s # NAME: Ubuntu 797s ok 20 /utils/os-info 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/clear-pointer/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/clear-pointer/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/.dirs/runtime 797s ok 21 /utils/clear-pointer 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer-cast/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer-cast/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/clear-pointer-cast/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer-cast/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/clear-pointer-cast/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer-cast/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer-cast/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer-cast/.dirs/runtime 797s ok 22 /utils/clear-pointer-cast 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/take-pointer/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/take-pointer/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/take-pointer/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/take-pointer/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/take-pointer/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/take-pointer/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/take-pointer/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/take-pointer/.dirs/runtime 797s ok 23 /utils/take-pointer 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-source/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-source/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/clear-source/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-source/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/clear-source/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-source/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-source/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/clear-source/.dirs/runtime 797s ok 24 /utils/clear-source 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/misc-mem/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/misc-mem/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/misc-mem/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/misc-mem/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/misc-mem/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/misc-mem/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/misc-mem/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/misc-mem/.dirs/runtime 797s ok 25 /utils/misc-mem 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/aligned-mem/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/aligned-mem/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/.dirs/runtime 797s # /utils/aligned-mem summary: Aligned memory allocator 797s # Alignment must not be zero 797s # Alignment must be a power of two 797s # Alignment must be a multiple of sizeof(void*) 797s ok 26 /utils/aligned-mem 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/free-sized/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/free-sized/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/free-sized/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/free-sized/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/free-sized/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/free-sized/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/free-sized/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/free-sized/.dirs/runtime 797s # /utils/free-sized summary: Check that g_free_sized() works 797s ok 27 /utils/free-sized 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/nullify/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/nullify/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/nullify/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/nullify/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/nullify/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/nullify/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/nullify/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/nullify/.dirs/runtime 797s ok 28 /utils/nullify 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/atexit/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/atexit/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/atexit/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/atexit/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/atexit/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/atexit/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/atexit/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/atexit/.dirs/runtime 797s Unable to clean up temporary directory /tmp/test_utils-c-99_87R8J3/utils/atexit: No such file or directory 797s ok 29 /utils/atexit 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/check-setuid/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/check-setuid/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/check-setuid/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/check-setuid/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/check-setuid/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/check-setuid/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/check-setuid/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/check-setuid/.dirs/runtime 797s ok 30 /utils/check-setuid 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/int-limits/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/int-limits/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/int-limits/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/int-limits/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/int-limits/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/int-limits/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/int-limits/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/int-limits/.dirs/runtime 797s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 797s ok 31 /utils/int-limits 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-list/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-list/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/clear-list/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-list/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/clear-list/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-list/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-list/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/clear-list/.dirs/runtime 797s ok 32 /utils/clear-list 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-slist/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-slist/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/clear-slist/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-slist/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/clear-slist/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-slist/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-slist/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/clear-slist/.dirs/runtime 797s ok 33 /utils/clear-slist 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/steal-handle-id/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/steal-handle-id/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/steal-handle-id/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/steal-handle-id/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/steal-handle-id/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/steal-handle-id/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/steal-handle-id/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/steal-handle-id/.dirs/runtime 797s ok 34 /utils/steal-handle-id 797s # Start of user-special-dirs tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/desktop/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/desktop/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/desktop/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/desktop/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/desktop/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/desktop/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/desktop/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/desktop/.dirs/runtime 797s ok 35 /utils/user-special-dirs/desktop 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 797s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 797s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 797s Unable to clean up temporary directory /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/load-unlocked: No such file or directory 797s ok 36 /utils/user-special-dirs/load-unlocked 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 797s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 797s Unable to clean up temporary directory /tmp/test_utils-c-99_87R8J3/utils/user-special-dirs/reload-leaks: No such file or directory 797s ok 37 /utils/user-special-dirs/reload-leaks 797s # End of user-special-dirs tests 797s # Start of clear-pointer tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/side-effects/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/side-effects/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/clear-pointer/side-effects/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/side-effects/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/clear-pointer/side-effects/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/side-effects/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/side-effects/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/clear-pointer/side-effects/.dirs/runtime 797s ok 38 /utils/clear-pointer/side-effects 797s # End of clear-pointer tests 797s # Start of aligned-mem tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/alignment/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/alignment/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/aligned-mem/alignment/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/alignment/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/aligned-mem/alignment/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/alignment/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/alignment/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/alignment/.dirs/runtime 797s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 797s ok 39 /utils/aligned-mem/alignment 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/zeroed/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/zeroed/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/aligned-mem/zeroed/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/zeroed/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/aligned-mem/zeroed/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/zeroed/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/zeroed/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/zeroed/.dirs/runtime 797s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 797s ok 40 /utils/aligned-mem/zeroed 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/free-sized/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/free-sized/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_87R8J3/utils/aligned-mem/free-sized/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/free-sized/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_87R8J3/utils/aligned-mem/free-sized/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/free-sized/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/free-sized/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_87R8J3/utils/aligned-mem/free-sized/.dirs/runtime 797s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 797s ok 41 /utils/aligned-mem/free-sized 797s # Start of subprocess tests 797s # End of subprocess tests 797s # End of aligned-mem tests 797s # End of utils tests 797s TAP version 14 797s # random seed: R02S71e39a90389e1f0c4157f67bfe3f3454 797s 1..6 797s # Start of thread tests 797s ok - glib/utils-c-99.test 797s # Running test: glib/thread-deprecated.test 797s ok 1 /thread/mutex 797s ok 2 /thread/static-rec-mutex 801s # Executing: glib/thread-deprecated.test 802s ok 3 /thread/static-private 802s # slow test /thread/static-private executed in 4.40 secs 806s # Executing: glib/thread-deprecated.test 807s ok 4 /thread/static-rw-lock 807s # slow test /thread/static-rw-lock executed in 5.00 secs 807s ok 5 /thread/once 811s # Executing: glib/thread-deprecated.test 816s # Executing: glib/thread-deprecated.test 817s ok 6 /thread/rerun-all 817s # slow test /thread/rerun-all executed in 10.02 secs 817s # End of thread tests 817s ok - glib/thread-deprecated.test 817s # Running test: glib/win32-appinfo.test 817s TAP version 14 817s # random seed: R02S9a134a818331aa4387f6bc9684890554 817s 1..5 817s # Start of appinfo tests 817s ok 1 /appinfo/utf16-strfuncs 817s ok 2 /appinfo/win32-extract-executable 817s ok - glib/win32-appinfo.test 817s # Running test: glib/memory-monitor-poll.test 817s ok 3 /appinfo/win32-rundll32-fixup 817s ok 4 /appinfo/win32-parse-filename 817s ok 5 /appinfo/win32-utf16-conversion-fail 817s # Start of subprocess tests 817s # End of subprocess tests 817s # End of appinfo tests 817s TAP version 14 817s # random seed: R02S92184c266fa9c421b1b4ca453f31c065 817s 1..4 817s # Start of memory-monitor-poll tests 817s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 817s ok 1 /memory-monitor-poll/dup-default 817s # GLib-GIO-DEBUG: memory free ratio 0.190000 817s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 817s ok 2 /memory-monitor-poll/critical-event 817s # GLib-GIO-DEBUG: memory free ratio 0.290000 817s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 817s ok 3 /memory-monitor-poll/medium-event 817s # GLib-GIO-DEBUG: memory free ratio 0.390000 817s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 817s ok 4 /memory-monitor-poll/low-event 817s # End of memory-monitor-poll tests 817s ok - glib/memory-monitor-poll.test 817s # Running test: glib/macros-c-11.test 817s TAP version 14 817s # random seed: R02S82a8ca9822684028c235c3deeaba30ad 817s 1..4 817s # Start of C tests 817s ok 1 /C/standard-11 817s # End of C tests 817s # Start of alignof tests 817s ok 2 /alignof/fallback 817s # End of alignof tests 817s # Start of assert tests 817s ok 3 /assert/static 817s # End of assert tests 817s # Start of struct tests 817s ok 4 /struct/sizeof_member 817s # End of struct tests 817s ok - glib/macros-c-11.test 817s # Running test: glib/include.test 817s TAP version 14 817s # random seed: R02Sc1c94046e70ef0719c082e102f9db902 817s 1..1 817s # Start of include tests 817s ok 1 /include/rwlock 817s # End of include tests 817s ok - glib/include.test 817s # Running test: glib/simple-async-result.test 817s TAP version 14 817s # random seed: R02S4aa9d9e0fb67a70f039eb4c22e5b6e50 817s 1..2 817s # Start of gio tests 817s # Start of simple-async-result tests 817s ok 1 /gio/simple-async-result/test 817s # GLib-GIO-DEBUG: GTask 0xb64831cb7b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 817s ok 2 /gio/simple-async-result/valid 817s # End of simple-async-result tests 817s # End of gio tests 817s ok - glib/simple-async-result.test 817s # Running test: glib/markup-collect.test 817s TAP version 14 817s # random seed: R02S209f967af99b862bd3862520dc868f58 817s 1..21 817s # Start of markup tests 817s # Start of collect tests 817s ok 1 /markup/collect/0 817s ok 2 /markup/collect/1 817s ok 3 /markup/collect/2 817s ok 4 /markup/collect/3 817s ok 5 /markup/collect/4 817s ok 6 /markup/collect/5 817s ok 7 /markup/collect/6 817s ok 8 /markup/collect/7 817s ok 9 /markup/collect/8 817s ok 10 /markup/collect/9 817s ok 11 /markup/collect/10 817s ok 12 /markup/collect/11 817s ok 13 /markup/collect/12 817s ok 14 /markup/collect/13 817s ok 15 /markup/collect/14 817s ok 16 /markup/collect/15 817s ok 17 /markup/collect/16 817s ok 18 /markup/collect/17 817s ok - glib/markup-collect.test 817s # Running test: glib/init.test 817s ok - glib/init.test 817s # Running test: glib/cond.test 817s ok 19 /markup/collect/18 817s ok 20 /markup/collect/19 817s ok 21 /markup/collect/cleanup 817s # End of collect tests 817s # End of markup tests 817s TAP version 14 817s # random seed: R02S0323111f270c5e1f6a96e96a40bf5124 817s 1..2 817s # Start of thread tests 817s # Start of deprecated tests 817s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_97J6J3/thread/deprecated/init/.dirs/home 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_97J6J3/thread/deprecated/init/.dirs/cache 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_97J6J3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_97J6J3/thread/deprecated/init/.dirs/system-config2 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_97J6J3/thread/deprecated/init/.dirs/config 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_97J6J3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_97J6J3/thread/deprecated/init/.dirs/system-data2 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_97J6J3/thread/deprecated/init/.dirs/data 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_97J6J3/thread/deprecated/init/.dirs/state 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_97J6J3/thread/deprecated/init/.dirs/runtime 817s ok 1 /thread/deprecated/init 817s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_97J6J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_97J6J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_97J6J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_97J6J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_97J6J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_97J6J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_97J6J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_97J6J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_97J6J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 817s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_97J6J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 817s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 817s # End of deprecated tests 817s # End of thread tests 817s TAP version 14 817s # random seed: R02S1ef810afd5ecc1673fe8c3d709b25be1 817s 1..4 817s # Start of thread tests 817s ok 1 /thread/cond1 817s ok 2 /thread/cond2 817s # Start of cond tests 818s ok 3 /thread/cond/wait-until 818s # slow test /thread/cond/wait-until executed in 1.02 secs 818s # Start of wait-until tests 818s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 819s ok 4 /thread/cond/wait-until/contended-and-interrupted 819s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 819s # End of wait-until tests 819s # End of cond tests 819s # End of thread tests 819s ok - glib/cond.test 819s # Running test: glib/live-g-file.test 819s TAP version 14 819s # random seed: R02Sf1a192d36ef330f2995a8abf6e996d6c 819s 1..13 819s # Start of live-g-file tests 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/prep_clean_structure/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/prep_clean_structure/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/prep_clean_structure/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/prep_clean_structure/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/prep_clean_structure/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/prep_clean_structure/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/prep_clean_structure/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/prep_clean_structure/.dirs/runtime 819s # Cleaning target testing structure in '/tmp/test_live-g-file_BP1DK3/testdir_live-g-file'... 819s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 819s ok 1 /live-g-file/prep_clean_structure 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/create_structure/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/create_structure/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/create_structure/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/create_structure/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/create_structure/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/create_structure/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/create_structure/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/create_structure/.dirs/runtime 819s # 819s # Going to create testing structure in '/tmp/test_live-g-file_BP1DK3/testdir_live-g-file'... 819s # Creating directory 'dir1'... 819s # Creating directory 'dir1/subdir'... 819s # Creating directory 'dir2'... 819s # Creating directory 'dir-target'... 819s # Creating directory 'dir_no-access'... 819s # Creating directory 'dir_no-write'... 819s # Creating file 'target-file'... 819s # Creating file 'normal_file'... 819s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 819s # Creating file 'executable_file'... 819s # Creating file 'private_file'... 819s # Creating file 'normal_file2'... 819s # Creating file 'readonly_file'... 819s # Creating file 'UTF_příliš z'... 819s # Creating directory 'dir_příliš z'... 819s # Creating symlink 'lost_symlink' --> 'nowhere'... 819s # Creating directory 'dir_hidden'... 819s # Creating file 'dir_hidden/.a-hidden-file'... 819s # Creating file 'dir_hidden/file-in-.hidden1'... 819s # Creating file 'dir_hidden/file-in-.hidden2'... 819s # Creating pattern file... 819s # done. 819s ok 2 /live-g-file/create_structure 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_initial_structure/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_initial_structure/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_initial_structure/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_initial_structure/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_initial_structure/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_initial_structure/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_initial_structure/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/test_initial_structure/.dirs/runtime 819s # Testing sample structure in '/tmp/test_live-g-file_BP1DK3/testdir_live-g-file'... 819s # Testing file 'dir1'... 819s # Testing file 'dir1/subdir'... 819s # Testing file 'dir2'... 819s # Testing file 'dir-target'... 819s # Testing file 'dir_no-access'... 819s # Testing file 'dir_no-write'... 819s # Testing file 'target-file'... 819s # Testing file 'normal_file'... 819s # Testing file 'normal_file-symlink'... 819s # Testing file 'executable_file'... 819s # Testing file 'private_file'... 819s # Testing file 'normal_file2'... 819s # Testing file 'readonly_file'... 819s # Testing file 'UTF_příliš z'... 819s # Testing file 'dir_příliš z'... 819s # Testing file 'lost_symlink'... 819s # Testing file 'dir_hidden'... 819s # Testing file 'dir_hidden/.a-hidden-file'... 819s # Testing file 'dir_hidden/file-in-.hidden1'... 819s # Testing file 'dir_hidden/file-in-.hidden2'... 819s # Testing pattern file... 819s # read 65536 bytes, total = 65536 of 65536. 819s ok 3 /live-g-file/test_initial_structure 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_traverse_structure/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_traverse_structure/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_traverse_structure/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_traverse_structure/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_traverse_structure/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_traverse_structure/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_traverse_structure/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/test_traverse_structure/.dirs/runtime 819s # Traversing through the sample structure in '/tmp/test_live-g-file_BP1DK3/testdir_live-g-file'... 819s # Found file dir1, relative to root: dir1 819s # Found file subdir, relative to root: dir1/subdir 819s # Found file dir2, relative to root: dir2 819s # Found file dir-target, relative to root: dir-target 819s # Found file dir_no-access, relative to root: dir_no-access 819s # Found file dir_no-write, relative to root: dir_no-write 819s # Found file target-file, relative to root: target-file 819s # Found file normal_file, relative to root: normal_file 819s # Found file normal_file-symlink, relative to root: normal_file-symlink 819s # Found file executable_file, relative to root: executable_file 819s # Found file private_file, relative to root: private_file 819s # Found file normal_file2, relative to root: normal_file2 819s # Found file readonly_file, relative to root: readonly_file 819s # Found file UTF_příliš z, relative to root: UTF_příliš z 819s # Found file dir_příliš z, relative to root: dir_příliš z 819s # Found file lost_symlink, relative to root: lost_symlink 819s # Found file dir_hidden, relative to root: dir_hidden 819s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 819s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 819s # Found file .hidden, relative to root: dir_hidden/.hidden 819s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 819s # Found file pattern_file, relative to root: pattern_file 819s ok 4 /live-g-file/test_traverse_structure 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_enumerate/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_enumerate/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_enumerate/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_enumerate/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_enumerate/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_enumerate/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_enumerate/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/test_enumerate/.dirs/runtime 819s # Test enumerate '/tmp/test_live-g-file_BP1DK3/testdir_live-g-file'... 819s # Testing file 'dir_no-access' 819s # Testing file 'normal_file' 819s # Testing file 'normal_file-symlink' 819s # Testing file 'not_exists' 819s # Testing file 'not_exists' 819s # Testing file 'not_exists2' 819s # Testing file 'not_exists3' 819s # Testing file 'not_exists4' 819s # Testing file 'dir_no-execute/file' 819s ok 5 /live-g-file/test_enumerate 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_open/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_open/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_open/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_open/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_open/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_open/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_open/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/test_open/.dirs/runtime 819s # test_open: 'dir1' 819s # test_open: 'dir_no-access' 819s # test_open: 'target-file' 819s # test_open: 'normal_file-symlink' 819s # test_open: 'executable_file' 819s # test_open: 'private_file' 819s # test_open: 'readonly_file' 819s # test_open: 'UTF_příliš z' 819s # test_open: 'pattern_file' 819s # test_open: 'not_exists' 819s # test_open: 'dir_no-execute/file' 819s # test_open: 'lost_symlink' 819s ok 6 /live-g-file/test_open 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_create/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_create/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_create/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_create/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_create/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_create/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_create/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/test_create/.dirs/runtime 819s # test_create: 'dir1' 819s # error code 3 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir1”: Is a directory 819s # test_create: 'dir1/subdir' 819s # error code 3 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir1/subdir”: Is a directory 819s # test_create: 'dir2' 819s # error code 2 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir2”: File exists 819s # test_create: 'normal_file' 819s # error code 2 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/normal_file”: File exists 819s # test_create: 'executable_file' 819s # test_create: 'private_file' 819s # test_create: 'normal_file2' 819s # test_create: 'UTF_příliš z' 819s # error code 2 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/UTF_příliš z”: File exists 819s # test_create: 'dir_příliš z' 819s # error code 2 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_příliš z”: File exists 819s # test_create: 'pattern_file' 819s # test_create: 'not_exists2' 819s # test_create: 'not_exists3' 819s # test_create: 'not_exists4' 819s ok 7 /live-g-file/test_create 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_copy_move/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_copy_move/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_copy_move/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_copy_move/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_copy_move/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_copy_move/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_copy_move/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/test_copy_move/.dirs/runtime 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir1/subdir' --> 'dir-target' 819s # res = 0, error code 25 = Can’t recursively copy directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir1/subdir' --> '.' 819s # res = 0, error code 2 = Target file exists 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir1/subdir' --> 'target-file' 819s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir1/subdir' --> 'not_exists' 819s # res = 0, error code 25 = Can’t recursively copy directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 819s # res = 0, error code 25 = Can’t recursively copy directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 819s # res = 0, error code 25 = Can’t recursively copy directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir2' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir-target' --> 'dir-target' 819s # res = 0, error code 25 = Can’t recursively copy directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir-target' --> '.' 819s # res = 0, error code 2 = Target file exists 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir-target' --> 'target-file' 819s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file/dir-target”: Not a directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir-target' --> 'not_exists' 819s # res = 0, error code 25 = Can’t recursively copy directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir-target' --> 'dir_no-access' 819s # res = 0, error code 25 = Can’t recursively copy directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'dir-target' --> 'dir_no-write' 819s # res = 0, error code 25 = Can’t recursively copy directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'target-file' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'target-file' --> '.' 819s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file”: File exists 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'target-file' --> 'target-file' 819s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file/target-file”: Not a directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'target-file' --> 'not_exists' 819s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists/target-file”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'target-file' --> 'dir_no-access' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'target-file' --> 'dir_no-write' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file-symlink' --> '.' 819s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/normal_file-symlink: File exists 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file-symlink' --> 'target-file' 819s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 819s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 819s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 819s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'executable_file' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'executable_file' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'executable_file' --> '.' 819s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/executable_file”: File exists 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'executable_file' --> 'target-file' 819s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file/executable_file”: Not a directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'executable_file' --> 'not_exists' 819s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'executable_file' --> 'dir_no-access' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'executable_file' --> 'dir_no-write' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'private_file' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'private_file' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'private_file' --> '.' 819s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/private_file”: File exists 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'private_file' --> 'target-file' 819s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file/private_file”: Not a directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'private_file' --> 'not_exists' 819s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists/private_file”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'private_file' --> 'dir_no-access' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'private_file' --> 'dir_no-write' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file2' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file2' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file2' --> '.' 819s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/normal_file2”: File exists 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file2' --> 'target-file' 819s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file/normal_file2”: Not a directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file2' --> 'not_exists' 819s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file2' --> 'dir_no-access' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'normal_file2' --> 'dir_no-write' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'UTF_příliš z' --> '.' 819s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/UTF_příliš z”: File exists 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'UTF_příliš z' --> 'target-file' 819s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 819s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'pattern_file' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'pattern_file' --> '.' 819s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/pattern_file”: File exists 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'pattern_file' --> 'target-file' 819s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file/pattern_file”: Not a directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'pattern_file' --> 'not_exists' 819s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'pattern_file' --> 'dir_no-access' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'pattern_file' --> 'dir_no-write' 819s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'not_exists' --> 'dir-target' 819s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'not_exists' --> '.' 819s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'not_exists' --> 'target-file' 819s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'not_exists' --> 'not_exists' 819s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'not_exists' --> 'dir_no-access' 819s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'not_exists' --> 'dir_no-write' 819s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists”: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'not_exists' --> 'dir-target' 819s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'lost_symlink' --> 'dir-target' 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'lost_symlink' --> '.' 819s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/lost_symlink: File exists 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'lost_symlink' --> 'target-file' 819s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/target-file/lost_symlink: Not a directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'lost_symlink' --> 'not_exists' 819s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 819s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 819s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 819s ok 8 /live-g-file/test_copy_move 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_delete/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_delete/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_delete/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_delete/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_delete/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_delete/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_delete/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/test_delete/.dirs/runtime 819s # Deleting dir1, path = /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir1 819s # result = 0, error = Error removing file /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir1: Directory not empty 819s # Deleting dir2, path = /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir2 819s # result = 0, error = Error removing file /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir2: No such file or directory 819s # Deleting executable_file, path = /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/executable_file 819s # result = 0, error = Error trashing file /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/executable_file: No such file or directory 819s # Deleting readonly_file, path = /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/readonly_file 819s # Deleting dir_příliš z, path = /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_příliš z 819s # Deleting not_exists, path = /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists 819s # result = 0, error = Error removing file /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists: No such file or directory 819s # Deleting not_exists, path = /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists 819s # result = 0, error = Error trashing file /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/not_exists: No such file or directory 819s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-execute/file 819s # result = 0, error = Error removing file /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/dir_no-execute/file: No such file or directory 819s # Deleting lost_symlink, path = /tmp/test_live-g-file_BP1DK3/testdir_live-g-file/lost_symlink 819s ok 9 /live-g-file/test_delete 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_make_directory_with_parents/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_make_directory_with_parents/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_make_directory_with_parents/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_make_directory_with_parents/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_make_directory_with_parents/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/test_make_directory_with_parents/.dirs/runtime 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s ok 10 /live-g-file/test_make_directory_with_parents 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/final_clean/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/final_clean/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/final_clean/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/final_clean/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/final_clean/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/final_clean/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/final_clean/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/final_clean/.dirs/runtime 819s # Cleaning target testing structure in '/tmp/test_live-g-file_BP1DK3/testdir_live-g-file'... 819s # deleting 'dir1' 819s # deleting 'subdir' 819s # deleting 'dir-target' 819s # deleting 'dir2' 819s # deleting 'target-file' 819s # deleting 'normal_file-symlink' 819s # deleting 'pattern_file' 819s # deleting 'executable_file' 819s # deleting 'private_file' 819s # deleting 'normal_file2' 819s # deleting 'UTF_příliš z' 819s # deleting 'lost_symlink' 819s # deleting 'dir_no-access' 819s # deleting 'dir_no-write' 819s # deleting 'target-file' 819s # deleting 'normal_file' 819s # deleting 'normal_file-symlink' 819s # deleting 'executable_file~' 819s # deleting 'private_file' 819s # deleting 'normal_file2~' 819s # deleting 'a' 819s # deleting 'UTF_příliš z' 819s # deleting 'dir_hidden' 819s # deleting '.a-hidden-file' 819s # deleting 'file-in-.hidden1' 819s # deleting '.hidden' 819s # deleting 'file-in-.hidden2' 819s # deleting 'pattern_file' 819s # deleting 'executable_file' 819s # deleting 'normal_file2' 819s # deleting 'not_exists2' 819s # deleting 'not_exists3' 819s # deleting 'not_exists4' 819s ok 11 /live-g-file/final_clean 819s # Start of test_unix_is_mountpoint tests 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 819s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_BP1DK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 819s ok 13 /live-g-file/test_unix_is_mountpoint/proc 819s # End of test_unix_is_mountpoint tests 819s # End of live-g-file tests 819s ok - glib/live-g-file.test 819s # Running test: glib/value.test 819s TAP version 14 819s # random seed: R02S068b73c20f84d6b3cd90e549df93ba42 819s 1..9 819s # Start of value tests 819s ok 1 /value/basic 819s ok 2 /value/collection 819s ok 3 /value/copying 819s ok 4 /value/enum-transformation 819s ok 5 /value/gtype 819s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 819s ok 6 /value/string 819s # Next: GObject object in GValue of GObject to GValue of GObject 819s # Next: GObject object in GValue of GObject to GValue of TestInterface 819s # Next: GObject object in GValue of GObject to GValue of TestObjectA 819s # Next: GObject object in GValue of GObject to GValue of TestObjectB 819s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 819s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 819s # Next: TestObjectA object in GValue of GObject to GValue of GObject 819s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 819s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 819s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 819s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 819s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 819s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 819s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 819s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 819s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 819s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 819s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 819s # Next: TestObjectB object in GValue of GObject to GValue of GObject 819s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 819s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 819s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 819s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 819s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 819s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 819s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 819s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 819s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 819s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 819s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 819s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 819s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 819s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 819s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 819s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 819s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 819s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 819s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 819s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 819s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 819s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 819s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 819s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 819s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 819s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 819s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 819s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 819s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 819s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 819s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 819s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 819s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 819s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 819s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 819s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 819s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 819s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 819s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 819s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 819s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 819s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 819s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 819s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 819s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 819s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 819s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 819s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 819s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 819s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 819s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 819s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 819s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 819s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 819s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 819s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 819s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 819s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 819s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 819s ok 7 /value/transform-object 819s # Start of array tests 819s ok 8 /value/array/basic 819s ok 9 /value/array/sort-with-data 819s # End of array tests 819s # End of value tests 819s ok - glib/value.test 819s # Running test: glib/performance.test 821s # Executing: glib/performance.test 826s # Executing: glib/performance.test 826s simple-construction: Millions of constructed objects per second: 17.624 829s simple-construction1: Millions of constructed objects per second: 74.437 831s # Executing: glib/performance.test 832s complex-construction: Millions of constructed objects per second: 5.717 836s # Executing: glib/performance.test 836s complex-construction1: Millions of constructed objects per second: 10.175 841s # Executing: glib/performance.test 841s complex-construction2: Millions of constructed objects per second: 12.127 843s finalization: Millions of finalized objects per second: 3.650 844s type-check: Million type checks per second: 105.87 845s emit-unhandled: Emissions per second: 4341140 846s # Executing: glib/performance.test 846s emit-unhandled-empty: Emissions per second: 22935300 848s emit-unhandled-generic: Emissions per second: 5586418 849s emit-unhandled-generic-empty: Emissions per second: 22998352 850s emit-unhandled-args: Emissions per second: 3863437 851s # Executing: glib/performance.test 851s emit-handled: Emissions per second: 3078358 852s emit-handled-empty: Emissions per second: 3159680 854s emit-handled-generic: Emissions per second: 3138649 855s emit-handled-generic-empty: Emissions per second: 5022807 856s # Executing: glib/performance.test 856s emit-handled-args: Emissions per second: 2834462 857s notify-unhandled: Notify (unhandled) per second: 26012653 858s notify-by-pspec-unhandled: Notify (unhandled) per second: 101811318 860s notify-handled: Notify per second: 1916688 861s # Executing: glib/performance.test 861s notify-by-pspec-handled: Notify per second: 2030276 862s property-set: Property set per second: 13548269 863s property-set-signaled: Property set per second: 3979375 865s property-get: Property get per second: 14066708 866s # Executing: glib/performance.test 866s refcount: Million refs+unref per second: 25.89 867s refcount-1: Million refs+unref per second: 76.42 868s refcount-toggle: Million refs+unref per second: 58.88 868s ok - glib/performance.test 868s # Running test: glib/data-output-stream.test 868s TAP version 14 868s # random seed: R02S5b75c15aaf1d6f5e1abe4099515fbdcb 868s 1..7 868s # Start of data-output-stream tests 868s ok 1 /data-output-stream/basic 868s ok 2 /data-output-stream/write-lines-LF 868s ok 3 /data-output-stream/write-lines-CR 868s ok 4 /data-output-stream/write-lines-CR-LF 868s ok 5 /data-output-stream/write-int 868s ok 6 /data-output-stream/seek 868s ok 7 /data-output-stream/truncate 868s # End of data-output-stream tests 868s TAP version 14 868s # random seed: R02S71c409ee1912d71400c68bfb4047be37 868s 1..3 868s # Start of gdbus tests 868s # Start of message tests 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/lock/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/lock/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_GD08J3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_GD08J3/gdbus/message/lock/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/lock/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_GD08J3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_GD08J3/gdbus/message/lock/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/lock/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/lock/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_GD08J3/gdbus/message/lock/.dirs/runtime 868s ok 1 /gdbus/message/lock 868s ok - glib/data-output-stream.test 868s # Running test: glib/gdbus-message.test 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/copy/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/copy/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_GD08J3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_GD08J3/gdbus/message/copy/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/copy/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_GD08J3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_GD08J3/gdbus/message/copy/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/copy/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/copy/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_GD08J3/gdbus/message/copy/.dirs/runtime 868s ok 2 /gdbus/message/copy 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/bytes-needed/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/bytes-needed/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_GD08J3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_GD08J3/gdbus/message/bytes-needed/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/bytes-needed/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_GD08J3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_GD08J3/gdbus/message/bytes-needed/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/bytes-needed/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_GD08J3/gdbus/message/bytes-needed/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_GD08J3/gdbus/message/bytes-needed/.dirs/runtime 868s # Vector: 0 868s # Vector: 1 868s # Vector: 2 868s # Vector: 3 868s # Vector: 4 868s # Vector: 5 868s ok 3 /gdbus/message/bytes-needed 868s # End of message tests 868s # End of gdbus tests 868s TAP version 14 868s # random seed: R02Sde6f65075c12dd1e766d9d4ade6ff424 868s 1..2 868s # Start of gtask tests 868s # 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. 868s ok 1 /gtask/name 868s # Start of name tests 868s # 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. 868s ok 2 /gtask/name/macro-wrapper 868s # End of name tests 868s # End of gtask tests 868s ok - glib/gdbus-message.test 868s # Running test: glib/cxx-20.test 868s ok - glib/cxx-20.test 868s TAP version 14 868s # random seed: R02S2d8973f7daee5152d3f8e507abe5cd77 868s # Running test: glib/gobject-private.test 868s 1..3 868s # Start of private tests 868s ok 1 /private/instance 868s ok 2 /private/derived-instance 868s ok 3 /private/mixed-derived-instance 868s # End of private tests 868s ok - glib/gobject-private.test 868s # Running test: glib/override.test 868s TAP version 14 868s # random seed: R02S4a668d4629669e81618e3d7f959d8a4a 868s 1..1 868s # Start of gobject tests 868s # *** emitting foo on a TestA instance 868s # Expecting: TestA::foo,TestI::foo 868s # Got: TestA::foo,TestI::foo 868s # *** emitting bar on a TestA instance 868s # Expecting: TestA::bar 868s # Got: TestA::bar 868s # *** emitting baz on a TestA instance 868s # Expecting: TestA::baz 868s # Got: TestA::baz 868s # *** emitting foo on a TestB instance 868s # Expecting: TestB::foo,TestA::foo,TestI::foo 868s # Got: TestB::foo,TestA::foo,TestI::foo 868s # *** emitting bar on a TestB instance 868s # Expecting: TestB::bar,TestA::bar 868s # Got: TestB::bar,TestA::bar 868s # *** emitting baz on a TestB instance 868s # Expecting: TestB::baz,TestA::baz 868s # Got: TestB::baz,TestA::baz 868s # *** emitting foo on a TestC instance 868s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 868s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 868s # *** emitting bar on a TestC instance 868s # Expecting: TestC::bar,TestB::bar,TestA::bar 868s # Got: TestC::bar,TestB::bar,TestA::bar 868s # *** emitting baz on a TestC instance 868s # Expecting: TestC::baz,TestB::baz,TestA::baz 868s # Got: TestC::baz,TestB::baz,TestA::baz 868s ok 1 /gobject/override 868s # End of gobject tests 868s ok - glib/override.test 868s # Running test: glib/trash.test 868s TAP version 14 868s # random seed: R02S37e892f457292ff807e5480c8e0ab8c9 868s 1..3 868s # Start of trash tests 868s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 868s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 868s # File: /tmp/test-trash7EF8J3 (parent st_dev: 64769) 868s # Home: /home/ubuntu (st_dev: 64769) 868s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 868s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 868s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 868s ok 3 /trash/long-filename 868s # End of trash tests 868s ok - glib/trash.test 868s # Running test: glib/socket-service.test 868s ok - glib/socket-service.test 868s TAP version 14 868s # random seed: R02Sd0e460c7ec3bc3bc338b9e688c573828 868s 1..4 868s # Start of socket-service tests 868s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 868s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbc111d485210 and GSocketClientAsyncConnectData 0xbc111d47ff10 868s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 868s ok 1 /socket-service/start-stop 868s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbc111d4892e0 and GSocketClientAsyncConnectData 0xbc111d488f40 868s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 868s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 868s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbc111d489260 for GSocketClientAsyncConnectData 0xbc111d47ff10 868s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 868s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 868s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 868s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 868s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 868s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbc111d489260 for GSocketClientAsyncConnectData 0xbc111d488f40 868s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 868s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 868s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 868s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 868s ok 2 /socket-service/read_write_async 868s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbc111d4892e0 and GSocketClientAsyncConnectData 0xbc111d48c990 868s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 868s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 868s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbc111d48be10 for GSocketClientAsyncConnectData 0xbc111d48c990 868s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 868s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 868s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 868s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 868s ok 3 /socket-service/read_writev_async 868s # Start of threaded tests 868s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 868s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbc111d47da80 and GSocketClientAsyncConnectData 0xbc111d488f40 868s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 868s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 868s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbc111d48cb50 for GSocketClientAsyncConnectData 0xbc111d488f40 868s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 868s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 868s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 868s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 868s ok 4 /socket-service/threaded/712570 868s # End of threaded tests 868s # End of socket-service tests 868s # Running test: glib/cxx.test 868s TAP version 14 868s # random seed: R02Sb8d89d5cbfd087a9358839bdb977c7c9 868s 1..2 868s # Start of gtask tests 868s # 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. 868s ok 1 /gtask/name 868s # Start of name tests 868s # 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. 868s ok 2 /gtask/name/macro-wrapper 868s # End of name tests 868s # End of gtask tests 868s ok - glib/cxx.test 868s # Running test: glib/ifaceproperties.test 868s TAP version 14 868s # random seed: R02Se4b8d411fd70501f10df4ef47900152c 868s 1..7 868s # Start of interface tests 868s # Start of properties tests 868s ok 1 /interface/properties/set 868s ok 2 /interface/properties/notify 868s ok 3 /interface/properties/find-overridden 868s ok 4 /interface/properties/list-overridden 868s ok 5 /interface/properties/find-interface 868s ok 6 /interface/properties/list-interface 868s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 868s ok 7 /interface/properties/not-overridden 868s # End of properties tests 868s # End of interface tests 868s ok - glib/ifaceproperties.test 868s # Running test: glib/gutils-user-database.test 868s TAP version 14 868s # random seed: R02Sa176977ed6fdd141069b0d757d0083ed 868s 1..1 868s # Start of gutils tests 868s ok 1 /gutils/get_user_database_entry 868s # End of gutils tests 868s ok - glib/gutils-user-database.test 868s # Running test: glib/properties-refcount1.test 868s TAP version 14 868s # random seed: R02Sa96a580b277ff1bc97f9477ea8f74473 868s 1..1 868s # Start of gobject tests 868s # Start of refcount tests 868s # .d 868s # .c 868s # .b 868s # .f 868s # .e 868s # .d 868s # .c 868s # .b 868s # .d 868s # .f 868s # .e 868s # .c 868s # .f 868s # .b 868s # .d 868s # .e 868s # .c 868s # .b 868s # .f 868s # .d 868s # .e 868s # .b 868s # .f 868s # .c 868s # .d 868s # .e 868s # .b 868s # .c 868s # .f 868s # .d 868s # .b 868s # .f 868s # .e 868s # .c 868s # .d 869s # .c 869s # .b 869s # .e 869s # .f 869s # .d 869s # .e 869s # .c 869s # .f 869s # .b 869s # .d 869s # .c 869s # .e 869s # .f 869s # .b 869s # .d 869s # .f 869s # .b 869s # .c 869s # .e 869s # .d 869s # .b 869s # .f 869s # .c 869s # .d 869s # .e 869s # .b 869s # .f 869s # .c 869s # .d 869s # .e 869s # .b 869s # .f 869s # .d 869s # .c 869s # .e 869s # .b 869s # .f 869s # .c 869s # .d 869s # .e 869s # .b 869s # .f 869s # .e 869s # .c 869s # .d 869s # .b 869s # .f 869s # .c 869s # .b 869s # .e 869s # .d 869s # .f 869s # .c 869s # .b 869s # .d 869s # .e 869s # .f 869s # .c 869s # .b 869s # .d 869s # .e 869s # .b 869s # .c 869s # .f 869s # .d 869s # .e 869s # .b 869s # .c 869s # .d 869s # .f 869s # .e 869s # .c 869s # .f 869s # .b 869s # .d 869s # .e 869s # .f 869s # .c 869s # .d 870s # .e 870s # .b 870s # .d 870s # .f 870s # .e 870s # .c 870s # .b 870s # .d 870s # .f 870s # .c 870s # .e 870s # .b 870s # .d 870s # .e 870s # .f 870s # .c 870s # .b 870s # .f 870s # .e 870s # .c 870s # .d 870s # .b 870s # .f 870s # .d 870s # .e 870s # .b 870s # .c 870s # .f 870s # .d 870s # .e 870s # .c 870s # .f 870s # .b 870s # .d 870s # .c 870s # .e 870s # .d 870s # .f 870s # .b 870s # .e 870s # .c 870s # .f 870s # .b 870s # .d 870s # .e 870s # .c 870s # .f 870s # .b 870s # .f 870s # .d 870s # .f 870s # .e 870s # .f 870s # .c 870s # .f 870s # .b 870s # .f 870s # .d 870s # .e 870s # .c 870s # .e 870s # .b 870s # .f 870s # .d 870s # .c 870s # .e 870s # .c 870s # .d 870s # .b 870s # .f 870s # .e 870s # .c 870s # .b 870s # .f 870s # .d 870s # .e 870s # .b 870s # .f 871s # .c 871s # .d 871s # .e 871s # Executing: glib/properties-refcount1.test 871s # .b 871s # .f 871s # .d 871s # .e 871s # .c 871s # .d 871s # .e 871s # .b 871s # .f 871s # .c 871s # .d 871s # .e 871s # .b 871s # .f 871s # .c 871s # .d 871s # .e 871s # .f 871s # .b 871s # .c 871s # .d 871s # .e 871s # .f 871s # .d 871s # .c 871s # .b 871s # .e 871s # .f 871s # .d 871s # .c 871s # .e 871s # .b 871s # .f 871s # .d 871s # .e 871s # .b 871s # .c 871s # .f 871s # .e 871s # .d 871s # .b 871s # .c 871s ok 1 /gobject/refcount/properties-1 871s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 871s # End of refcount tests 871s # End of gobject tests 871s ok - glib/properties-refcount1.test 871s # Running test: glib/bookmarkfile.test 871s TAP version 14 871s # random seed: R02S9f61b20d815cea0a97513354e65bcfc8 871s 1..96 871s # Start of bookmarks tests 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/load-from-data-dirs/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/load-from-data-dirs/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/load-from-data-dirs/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/load-from-data-dirs/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/load-from-data-dirs/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/load-from-data-dirs/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/load-from-data-dirs/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/load-from-data-dirs/.dirs/runtime 871s ok 1 /bookmarks/load-from-data-dirs 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/to-file/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/to-file/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/to-file/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/to-file/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/to-file/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/to-file/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/to-file/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/to-file/.dirs/runtime 871s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_NOI7J3/bookmarkfile-test-C0H7J3.xbel 871s # Roundtrip from a valid bookmark file 871s ok 2 /bookmarks/to-file 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/move-item/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/move-item/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/move-item/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/move-item/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/move-item/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/move-item/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/move-item/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/move-item/.dirs/runtime 871s ok 3 /bookmarks/move-item 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/corner-cases/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/corner-cases/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/corner-cases/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/corner-cases/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/corner-cases/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/corner-cases/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/corner-cases/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/corner-cases/.dirs/runtime 871s ok 4 /bookmarks/corner-cases 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/misc/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/misc/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/misc/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/misc/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/misc/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/misc/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/misc/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/misc/.dirs/runtime 871s ok 5 /bookmarks/misc 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/deprecated/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/deprecated/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/deprecated/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/deprecated/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/deprecated/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/deprecated/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/deprecated/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/deprecated/.dirs/runtime 871s ok 6 /bookmarks/deprecated 871s # Start of parse tests 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-33.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-33.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-33.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-33.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-33.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-33.xbel/.dirs/runtime 871s ok 7 /bookmarks/parse/fail-33.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-35.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-35.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-35.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-35.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-35.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-35.xbel/.dirs/runtime 871s ok 8 /bookmarks/parse/fail-35.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-11.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-11.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-11.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-11.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-11.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-11.xbel/.dirs/runtime 871s ok 9 /bookmarks/parse/fail-11.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-20.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-20.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-20.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-20.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-20.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-20.xbel/.dirs/runtime 871s ok 10 /bookmarks/parse/fail-20.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-38.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-38.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-38.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-38.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-38.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-38.xbel/.dirs/runtime 871s ok 11 /bookmarks/parse/fail-38.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-07.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-07.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-07.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-07.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-07.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-07.xbel/.dirs/runtime 871s ok 12 /bookmarks/parse/fail-07.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-15.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-15.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-15.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-15.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-15.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-15.xbel/.dirs/runtime 871s ok 13 /bookmarks/parse/fail-15.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-02.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-02.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-02.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-02.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-02.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-02.xbel/.dirs/runtime 871s ok 14 /bookmarks/parse/fail-02.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-10.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-10.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-10.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-10.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-10.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-10.xbel/.dirs/runtime 871s ok 15 /bookmarks/parse/fail-10.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-22.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-22.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-22.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-22.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-22.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-22.xbel/.dirs/runtime 871s ok 16 /bookmarks/parse/fail-22.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-29.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-29.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-29.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-29.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-29.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-29.xbel/.dirs/runtime 871s ok 17 /bookmarks/parse/fail-29.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-31.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-31.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-31.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-31.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-31.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-31.xbel/.dirs/runtime 871s ok 18 /bookmarks/parse/fail-31.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-40.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-40.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-40.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-40.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-40.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-40.xbel/.dirs/runtime 871s ok 19 /bookmarks/parse/fail-40.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-14.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-14.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-14.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-14.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-14.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-14.xbel/.dirs/runtime 871s ok 20 /bookmarks/parse/fail-14.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-30.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-30.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-30.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-30.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-30.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-30.xbel/.dirs/runtime 871s ok 21 /bookmarks/parse/fail-30.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-36.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-36.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-36.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-36.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-36.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-36.xbel/.dirs/runtime 871s ok 22 /bookmarks/parse/fail-36.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-21.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-21.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-21.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-21.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-21.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-21.xbel/.dirs/runtime 871s ok 23 /bookmarks/parse/fail-21.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-25.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-25.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-25.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-25.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-25.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-25.xbel/.dirs/runtime 871s ok 24 /bookmarks/parse/fail-25.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-24.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-24.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-24.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-24.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-24.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-24.xbel/.dirs/runtime 871s ok 25 /bookmarks/parse/fail-24.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-13.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-13.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-13.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-13.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-13.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-13.xbel/.dirs/runtime 871s ok 26 /bookmarks/parse/fail-13.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-37.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-37.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-37.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-37.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-37.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-37.xbel/.dirs/runtime 871s ok 27 /bookmarks/parse/fail-37.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-01.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-01.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-01.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-01.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-01.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-01.xbel/.dirs/runtime 871s ok 28 /bookmarks/parse/fail-01.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-19.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-19.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-19.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-19.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-19.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-19.xbel/.dirs/runtime 871s ok 29 /bookmarks/parse/fail-19.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-09.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-09.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-09.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-09.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-09.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-09.xbel/.dirs/runtime 871s ok 30 /bookmarks/parse/fail-09.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-03.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-03.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-03.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-03.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-03.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-03.xbel/.dirs/runtime 871s ok 31 /bookmarks/parse/fail-03.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-39.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-39.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-39.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-39.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-39.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-39.xbel/.dirs/runtime 871s ok 32 /bookmarks/parse/fail-39.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-34.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-34.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-34.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-34.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-34.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-34.xbel/.dirs/runtime 871s ok 33 /bookmarks/parse/fail-34.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-17.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-17.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-17.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-17.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-17.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-17.xbel/.dirs/runtime 871s ok 34 /bookmarks/parse/fail-17.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-12.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-12.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-12.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-12.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-12.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-12.xbel/.dirs/runtime 871s ok 35 /bookmarks/parse/fail-12.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-42.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-42.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-42.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-42.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-42.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-42.xbel/.dirs/runtime 871s ok 36 /bookmarks/parse/fail-42.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-41.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-41.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-41.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-41.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-41.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-41.xbel/.dirs/runtime 871s ok 37 /bookmarks/parse/fail-41.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-03.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-03.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-03.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-03.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-03.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-03.xbel/.dirs/runtime 871s ok 38 /bookmarks/parse/valid-03.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-26.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-26.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-26.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-26.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-26.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-26.xbel/.dirs/runtime 871s ok 39 /bookmarks/parse/fail-26.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-05.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-05.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-05.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-05.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-05.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-05.xbel/.dirs/runtime 871s ok 40 /bookmarks/parse/fail-05.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-01.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-01.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-01.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-01.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-01.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-01.xbel/.dirs/runtime 871s ok 41 /bookmarks/parse/valid-01.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-18.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-18.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-18.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-18.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-18.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-18.xbel/.dirs/runtime 871s ok 42 /bookmarks/parse/fail-18.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-04.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-04.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-04.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-04.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-04.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-04.xbel/.dirs/runtime 871s ok 43 /bookmarks/parse/fail-04.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-28.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-28.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-28.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-28.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-28.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-28.xbel/.dirs/runtime 871s ok 44 /bookmarks/parse/fail-28.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-08.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-08.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-08.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-08.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-08.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-08.xbel/.dirs/runtime 871s ok 45 /bookmarks/parse/fail-08.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-27.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-27.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-27.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-27.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-27.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-27.xbel/.dirs/runtime 871s ok 46 /bookmarks/parse/fail-27.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-23.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-23.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-23.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-23.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-23.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-23.xbel/.dirs/runtime 871s ok 47 /bookmarks/parse/fail-23.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-02.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-02.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-02.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-02.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-02.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/valid-02.xbel/.dirs/runtime 871s ok 48 /bookmarks/parse/valid-02.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-06.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-06.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-06.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-06.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-06.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-06.xbel/.dirs/runtime 871s ok 49 /bookmarks/parse/fail-06.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-32.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-32.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-32.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-32.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-32.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-32.xbel/.dirs/runtime 871s ok 50 /bookmarks/parse/fail-32.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-16.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-16.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-16.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-16.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-16.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/parse/fail-16.xbel/.dirs/runtime 871s ok 51 /bookmarks/parse/fail-16.xbel 871s # End of parse tests 871s # Start of copy tests 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-33.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-33.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-33.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-33.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-33.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-33.xbel/.dirs/runtime 871s ok 52 /bookmarks/copy/fail-33.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-35.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-35.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-35.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-35.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-35.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-35.xbel/.dirs/runtime 871s ok 53 /bookmarks/copy/fail-35.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-11.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-11.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-11.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-11.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-11.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-11.xbel/.dirs/runtime 871s ok 54 /bookmarks/copy/fail-11.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-20.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-20.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-20.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-20.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-20.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-20.xbel/.dirs/runtime 871s ok 55 /bookmarks/copy/fail-20.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-38.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-38.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-38.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-38.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-38.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-38.xbel/.dirs/runtime 871s ok 56 /bookmarks/copy/fail-38.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-07.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-07.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-07.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-07.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-07.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-07.xbel/.dirs/runtime 871s ok 57 /bookmarks/copy/fail-07.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-15.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-15.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-15.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-15.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-15.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-15.xbel/.dirs/runtime 871s ok 58 /bookmarks/copy/fail-15.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-02.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-02.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-02.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-02.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-02.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-02.xbel/.dirs/runtime 871s ok 59 /bookmarks/copy/fail-02.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-10.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-10.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-10.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-10.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-10.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-10.xbel/.dirs/runtime 871s ok 60 /bookmarks/copy/fail-10.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-22.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-22.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-22.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-22.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-22.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-22.xbel/.dirs/runtime 871s ok 61 /bookmarks/copy/fail-22.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-29.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-29.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-29.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-29.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-29.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-29.xbel/.dirs/runtime 871s ok 62 /bookmarks/copy/fail-29.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-31.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-31.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-31.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-31.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-31.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-31.xbel/.dirs/runtime 871s ok 63 /bookmarks/copy/fail-31.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-40.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-40.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-40.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-40.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-40.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-40.xbel/.dirs/runtime 871s ok 64 /bookmarks/copy/fail-40.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-14.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-14.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-14.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-14.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-14.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-14.xbel/.dirs/runtime 871s ok 65 /bookmarks/copy/fail-14.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-30.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-30.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-30.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-30.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-30.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-30.xbel/.dirs/runtime 871s ok 66 /bookmarks/copy/fail-30.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-36.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-36.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-36.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-36.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-36.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-36.xbel/.dirs/runtime 871s ok 67 /bookmarks/copy/fail-36.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-21.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-21.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-21.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-21.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-21.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-21.xbel/.dirs/runtime 871s ok 68 /bookmarks/copy/fail-21.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-25.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-25.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-25.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-25.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-25.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-25.xbel/.dirs/runtime 871s ok 69 /bookmarks/copy/fail-25.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-24.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-24.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-24.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-24.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-24.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-24.xbel/.dirs/runtime 871s ok 70 /bookmarks/copy/fail-24.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-13.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-13.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-13.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-13.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-13.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-13.xbel/.dirs/runtime 871s ok 71 /bookmarks/copy/fail-13.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-37.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-37.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-37.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-37.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-37.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-37.xbel/.dirs/runtime 871s ok 72 /bookmarks/copy/fail-37.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-01.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-01.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-01.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-01.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-01.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-01.xbel/.dirs/runtime 871s ok 73 /bookmarks/copy/fail-01.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-19.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-19.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-19.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-19.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-19.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-19.xbel/.dirs/runtime 871s ok 74 /bookmarks/copy/fail-19.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-09.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-09.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-09.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-09.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-09.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-09.xbel/.dirs/runtime 871s ok 75 /bookmarks/copy/fail-09.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-03.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-03.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-03.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-03.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-03.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-03.xbel/.dirs/runtime 871s ok 76 /bookmarks/copy/fail-03.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-39.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-39.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-39.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-39.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-39.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-39.xbel/.dirs/runtime 871s ok 77 /bookmarks/copy/fail-39.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-34.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-34.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-34.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-34.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-34.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-34.xbel/.dirs/runtime 871s ok 78 /bookmarks/copy/fail-34.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-17.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-17.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-17.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-17.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-17.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-17.xbel/.dirs/runtime 871s ok 79 /bookmarks/copy/fail-17.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-12.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-12.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-12.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-12.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-12.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-12.xbel/.dirs/runtime 871s ok 80 /bookmarks/copy/fail-12.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-42.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-42.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-42.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-42.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-42.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-42.xbel/.dirs/runtime 871s ok 81 /bookmarks/copy/fail-42.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-41.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-41.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-41.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-41.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-41.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-41.xbel/.dirs/runtime 871s ok 82 /bookmarks/copy/fail-41.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-03.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-03.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-03.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-03.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-03.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-03.xbel/.dirs/runtime 871s ok 83 /bookmarks/copy/valid-03.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-26.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-26.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-26.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-26.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-26.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-26.xbel/.dirs/runtime 871s ok 84 /bookmarks/copy/fail-26.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-05.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-05.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-05.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-05.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-05.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-05.xbel/.dirs/runtime 871s ok 85 /bookmarks/copy/fail-05.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-01.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-01.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-01.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-01.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-01.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-01.xbel/.dirs/runtime 871s ok 86 /bookmarks/copy/valid-01.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-18.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-18.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-18.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-18.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-18.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-18.xbel/.dirs/runtime 871s ok 87 /bookmarks/copy/fail-18.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-04.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-04.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-04.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-04.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-04.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-04.xbel/.dirs/runtime 871s ok 88 /bookmarks/copy/fail-04.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-28.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-28.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-28.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-28.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-28.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-28.xbel/.dirs/runtime 871s ok 89 /bookmarks/copy/fail-28.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-08.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-08.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-08.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-08.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-08.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-08.xbel/.dirs/runtime 871s ok 90 /bookmarks/copy/fail-08.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-27.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-27.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-27.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-27.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-27.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-27.xbel/.dirs/runtime 871s ok 91 /bookmarks/copy/fail-27.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-23.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-23.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-23.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-23.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-23.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-23.xbel/.dirs/runtime 871s ok 92 /bookmarks/copy/fail-23.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-02.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-02.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-02.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-02.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-02.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/valid-02.xbel/.dirs/runtime 871s ok 93 /bookmarks/copy/valid-02.xbel 871s ok - glib/bookmarkfile.test 871s # Running test: glib/network-address.test 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-06.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-06.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-06.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-06.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-06.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-06.xbel/.dirs/runtime 871s ok 94 /bookmarks/copy/fail-06.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-32.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-32.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-32.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-32.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-32.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-32.xbel/.dirs/runtime 871s ok 95 /bookmarks/copy/fail-32.xbel 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-16.xbel/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-16.xbel/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-16.xbel/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-16.xbel/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-16.xbel/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_NOI7J3/bookmarks/copy/fail-16.xbel/.dirs/runtime 871s ok 96 /bookmarks/copy/fail-16.xbel 871s # End of copy tests 871s # End of bookmarks tests 871s TAP version 14 871s # random seed: R02Sd96fd107c8745b85692bb0195771306d 871s 1..72 871s # Start of network-address tests 871s ok 1 /network-address/basic 871s ok 2 /network-address/scope-id 871s ok 3 /network-address/uri-scope-id 871s ok 4 /network-address/to-string 871s # Start of parse-host tests 871s ok 5 /network-address/parse-host/0 871s ok 6 /network-address/parse-host/1 871s ok 7 /network-address/parse-host/2 871s ok 8 /network-address/parse-host/3 871s ok 9 /network-address/parse-host/4 871s ok 10 /network-address/parse-host/5 871s ok 11 /network-address/parse-host/6 871s ok 12 /network-address/parse-host/7 871s ok 13 /network-address/parse-host/8 871s ok 14 /network-address/parse-host/9 871s ok 15 /network-address/parse-host/10 871s ok 16 /network-address/parse-host/11 871s ok 17 /network-address/parse-host/12 871s ok 18 /network-address/parse-host/13 871s # End of parse-host tests 871s # Start of parse-uri tests 871s ok 19 /network-address/parse-uri/0 871s ok 20 /network-address/parse-uri/1 871s ok 21 /network-address/parse-uri/2 871s ok 22 /network-address/parse-uri/3 871s ok 23 /network-address/parse-uri/4 871s ok 24 /network-address/parse-uri/5 871s ok 25 /network-address/parse-uri/6 871s ok 26 /network-address/parse-uri/7 871s ok 27 /network-address/parse-uri/8 871s ok 28 /network-address/parse-uri/9 871s # End of parse-uri tests 871s # Start of resolve-address tests 871s # Input: 192.168.1.2 871s ok 29 /network-address/resolve-address/0 871s # Input: fe80::42 871s ok 30 /network-address/resolve-address/1 871s # Input: 192.168.1.2:80 871s ok 31 /network-address/resolve-address/2 871s # Input: [fe80::42] 871s ok 32 /network-address/resolve-address/3 871s # Input: [fe80::42]:80 871s ok 33 /network-address/resolve-address/4 871s # Input: 192.168.258 871s ok 34 /network-address/resolve-address/5 871s # Input: 192.11010306 871s ok 35 /network-address/resolve-address/6 871s # Input: 3232235778 871s ok 36 /network-address/resolve-address/7 871s # Input: 0300.0250.0001.0001 871s ok 37 /network-address/resolve-address/8 871s # Input: 0xC0.0xA8.0x01.0x02 871s ok 38 /network-address/resolve-address/9 871s # Input: 0xc0.0xa8.0x01.0x02 871s ok 39 /network-address/resolve-address/10 871s # Input: 0xc0a80102 871s ok 40 /network-address/resolve-address/11 871s # End of resolve-address tests 871s # Start of loopback tests 871s ok 41 /network-address/loopback/basic 871s ok 42 /network-address/loopback/sync 871s ok 43 /network-address/loopback/async 871s # End of loopback tests 871s # Start of localhost tests 871s ok 44 /network-address/localhost/async 871s ok 45 /network-address/localhost/sync 871s # End of localhost tests 871s # Start of happy-eyeballs tests 871s ok 46 /network-address/happy-eyeballs/basic 871s ok 47 /network-address/happy-eyeballs/parallel 871s ok 48 /network-address/happy-eyeballs/slow-ipv4 871s ok 49 /network-address/happy-eyeballs/slow-ipv6 872s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 872s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 872s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 872s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 872s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 872s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 872s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 872s # /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. 872s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 873s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 873s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 873s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 873s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 873s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 873s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 873s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 873s ok 57 /network-address/happy-eyeballs/both-error 873s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 873s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 873s ok 58 /network-address/happy-eyeballs/both-error-delays-1 873s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 873s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 873s ok 59 /network-address/happy-eyeballs/both-error-delays-2 873s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 873s ok 60 /network-address/happy-eyeballs/both-error-delays-3 873s # End of happy-eyeballs tests 873s # End of network-address tests 873s # Start of gresolver tests 873s # Start of resolve-address tests 873s # Input: 192.168.1.2 873s ok 61 /gresolver/resolve-address/0 873s # Input: fe80::42 873s ok 62 /gresolver/resolve-address/1 873s # Input: 192.168.1.2:80 873s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 873s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 873s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 873s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 873s # Error: Error resolving “192.168.1.2:80”: Name or service not known 873s ok 63 /gresolver/resolve-address/2 873s # Input: [fe80::42] 873s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 873s # Error: Error resolving “[fe80::42]”: Name or service not known 873s ok 64 /gresolver/resolve-address/3 873s # Input: [fe80::42]:80 873s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 873s # Error: Error resolving “[fe80::42]:80”: Name or service not known 873s ok 65 /gresolver/resolve-address/4 873s # Input: 192.168.258 873s # Error: Error resolving “192.168.258”: Name or service not known 873s ok 66 /gresolver/resolve-address/5 873s # Input: 192.11010306 873s # Error: Error resolving “192.11010306”: Name or service not known 873s ok 67 /gresolver/resolve-address/6 873s # Input: 3232235778 873s # Error: Error resolving “3232235778”: Name or service not known 873s ok 68 /gresolver/resolve-address/7 873s # Input: 0300.0250.0001.0001 873s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 873s ok 69 /gresolver/resolve-address/8 873s # Input: 0xC0.0xA8.0x01.0x02 873s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 873s ok 70 /gresolver/resolve-address/9 873s # Input: 0xc0.0xa8.0x01.0x02 873s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 873s ok 71 /gresolver/resolve-address/10 873s # Input: 0xc0a80102 873s # Error: Error resolving “0xc0a80102”: Name or service not known 873s ok 72 /gresolver/resolve-address/11 873s # End of resolve-address tests 873s # End of gresolver tests 873s ok - glib/network-address.test 873s # Running test: glib/gio-tool.py.test 873s TAP version 13 873s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 873s # gio: /usr/bin/gio 873s # tmpdir: /tmp/tmpkbcoxhs1 873s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpkbcoxhs1/folder/desktop.entry'] 873s # Working Directory: /tmp/tmpkbcoxhs1/folder 873s # Return code: 0 873s # Output: 873s # /tmp/tmpkbcoxhs1/folder/desktop.entry 873s # Error: 873s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 873s # gio: /usr/bin/gio 873s # tmpdir: /tmp/tmpdk1atnea 873s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpdk1atnea/folder/desktop.entry'] 873s # Working Directory: /tmp/tmpdk1atnea 873s # Return code: 0 873s # Output: 873s # /tmp/tmpdk1atnea/folder/desktop.entry 873s # Error: 873s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 873s # gio: /usr/bin/gio 873s # tmpdir: /tmp/tmpisiykbed 873s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpisiykbed/folder/desktop.entry'] 873s # Working Directory: /tmp/tmpisiykbed/sibling 873s # Return code: 0 873s # Output: 873s # /tmp/tmpisiykbed/folder/desktop.entry 873s # Error: 873s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 873s # gio: /usr/bin/gio 873s # tmpdir: /tmp/tmpixx2o8xb 873s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 873s # Working Directory: /tmp/tmpixx2o8xb/folder 873s # Return code: 0 873s # Output: 873s # /tmp/tmpixx2o8xb/folder/desktop.entry 873s # Error: 873s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 873s # gio: /usr/bin/gio 873s # tmpdir: /tmp/tmplptqod2w 873s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 873s # Working Directory: /tmp/tmplptqod2w 873s # Return code: 0 873s # Output: 873s # /tmp/tmplptqod2w/folder/desktop.entry 873s # Error: 873s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 873s # gio: /usr/bin/gio 873s # tmpdir: /tmp/tmpsg9tn8ic 873s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 873s # Working Directory: /tmp/tmpsg9tn8ic/sibling 873s # Return code: 0 873s # Output: 873s # /tmp/tmpsg9tn8ic/folder/desktop.entry 873s # Error: 873s ok 7 __main__.TestGioTool.test_help 873s # gio: /usr/bin/gio 873s # tmpdir: /tmp/tmpjmgng840 873s # Running: ['/usr/bin/gio', '--help'] 873s # Return code: 0 873s # Output: 873s # Usage: 873s # gio COMMAND [ARGS…] 873s # 873s # Commands: 873s # help Print help 873s # version Print version 873s # cat Concatenate files to standard output 873s # copy Copy one or more files 873s # info Show information about locations 873s # launch Launch an application from a desktop file 873s # list List the contents of locations 873s # mime Get or set the handler for a mimetype 873s # mkdir Create directories 873s # monitor Monitor files and directories for changes 873s # mount Mount or unmount the locations 873s # move Move one or more files 873s # open Open files with the default application 873s # rename Rename a file 873s # remove Delete one or more files 873s # save Read from standard input and save 873s # set Set a file attribute 873s # trash Move files or directories to the trash 873s # tree Lists the contents of locations in a tree 873s # 873s # Use “gio help COMMAND” to get detailed help. 873s # Error: 873s # 873s # Running: ['/usr/bin/gio', 'help'] 873s # Return code: 0 873s # Output: 873s # Usage: 873s # gio COMMAND [ARGS…] 873s # 873s # Commands: 873s # help Print help 873s # version Print version 873s # cat Concatenate files to standard output 873s # copy Copy one or more files 873s # info Show information about locations 873s # launch Launch an application from a desktop file 873s # list List the contents of locations 873s # mime Get or set the handler for a mimetype 873s # mkdir Create directories 873s # monitor Monitor files and directories for changes 873s # mount Mount or unmount the locations 873s # move Move one or more files 873s # open Open files with the default application 873s # rename Rename a file 873s # remove Delete one or more files 873s # save Read from standard input and save 873s # set Set a file attribute 873s # trash Move files or directories to the trash 873s # tree Lists the contents of locations in a tree 873s # 873s # Use “gio help COMMAND” to get detailed help. 873s # Error: 873s ok 8 __main__.TestGioTool.test_info_non_default_attributes 873s # gio: /usr/bin/gio 873s # tmpdir: /tmp/tmppt5xfe2n 873s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmppt5xfe2n/tmpehly64x7'] 873s # Return code: 0 873s # Output: 873s # uri: file:///tmp/tmppt5xfe2n/tmpehly64x7 873s # local path: /tmp/tmppt5xfe2n/tmpehly64x7 873s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 873s # attributes: 873s # standard::content-type: application/x-zerosize 873s # Error: 873s ok 9 __main__.TestGioTool.test_no_args 873s # gio: /usr/bin/gio 873s # tmpdir: /tmp/tmpq5957mpd 873s # Running: ['/usr/bin/gio'] 873s # Return code: 1 873s # Output: 873s # 873s # Error: 873s # Usage: 873s # gio COMMAND [ARGS…] 873s # 873s # Commands: 873s # help Print help 873s # version Print version 873s # cat Concatenate files to standard output 873s # copy Copy one or more files 873s # info Show information about locations 873s # launch Launch an application from a desktop file 873s # list List the contents of locations 873s # mime Get or set the handler for a mimetype 873s # mkdir Create directories 873s # monitor Monitor files and directories for changes 873s # mount Mount or unmount the locations 873s # move Move one or more files 873s # open Open files with the default application 873s # rename Rename a file 873s # remove Delete one or more files 873s # save Read from standard input and save 873s # set Set a file attribute 873s # trash Move files or directories to the trash 873s # tree Lists the contents of locations in a tree 873s # 873s # Use “gio help COMMAND” to get detailed help. 873s 1..9 873s ok - glib/gio-tool.py.test 873s # Running test: glib/sleepy-stream.test 873s TAP version 14 873s # random seed: R02S5f3cc2a1f4d92f0d228a259f1e9dff6b 873s 1..2 873s # Start of filter-stream tests 873s ok 1 /filter-stream/input 873s ok 2 /filter-stream/async 873s # End of filter-stream tests 873s ok - glib/sleepy-stream.test 873s # Running test: glib/ir-parser.test 873s TAP version 14 873s # random seed: R02S86ce68536301e77c000ac287d9da9d9b 873s 1..1 873s # Start of ir-parser tests 873s ok - glib/ir-parser.test 873s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: pushing node 1 dummy 873s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: popping node 1 dummy 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: pushing node 1 dummy 873s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: popping node 1 dummy 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: 873s # GLib-GIRepository-DEBUG: pushing node 1 dummy 873s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error 879s # 879s # 879s # 879s # 879s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9pq6d0n/tmpgvg_s9e6.xml', '--output', '-', '--header'] 879s # Return code: 0 879s # Output: 879s # /* 879s # * This file is generated by gdbus-codegen, do not modify it. 879s # * 879s # * The license of this code is the same as for the D-Bus interface description 879s # * it was derived from. Note that it links to GLib, so must comply with the 879s # * LGPL linking clauses. 879s # */ 879s # 879s # #ifndef __STDOUT__ 879s # #define __STDOUT__ 879s # 879s # #include 879s # 879s # G_BEGIN_DECLS 879s # 879s # 879s # /* ------------------------------------------------------------------------ */ 879s # /* Declarations for org.project.UsefulInterface */ 879s # 879s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 879s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 879s # 879s # struct _OrgProjectUsefulInterface; 879s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 879s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 879s # 879s # struct _OrgProjectUsefulInterfaceIface 879s # { 879s # GTypeInterface parent_iface; 879s # 879s # gboolean (*handle_useful_method) ( 879s # OrgProjectUsefulInterface *object, 879s # GDBusMethodInvocation *invocation); 879s # 879s # }; 879s # 879s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 879s # 879s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 879s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 879s # 879s # 879s # /* D-Bus method call completion functions: */ 879s # void org_project_useful_interface_complete_useful_method ( 879s # OrgProjectUsefulInterface *object, 879s # GDBusMethodInvocation *invocation); 879s # 879s # 879s # 879s # /* D-Bus method calls: */ 879s # void org_project_useful_interface_call_useful_method ( 879s # OrgProjectUsefulInterface *proxy, 879s # GCancellable *cancellable, 879s # GAsyncReadyCallback callback, 879s # gpointer user_data); 879s # 879s # gboolean org_project_useful_interface_call_useful_method_finish ( 879s # OrgProjectUsefulInterface *proxy, 879s # GAsyncResult *res, 879s # GError **error); 879s # 879s # gboolean org_project_useful_interface_call_useful_method_sync ( 879s # OrgProjectUsefulInterface *proxy, 879s # GCancellable *cancellable, 879s # GError **error); 879s # 879s # 879s # 879s # /* ---- */ 879s # 879s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 879s # 879s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 879s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 879s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 879s # 879s # struct _OrgProjectUsefulInterfaceProxy 879s # { 879s # /*< private >*/ 879s # GDBusProxy parent_instance; 879s # OrgProjectUsefulInterfaceProxyPrivate *priv; 879s # }; 879s # 879s # struct _OrgProjectUsefulInterfaceProxyClass 879s # { 879s # GDBusProxyClass parent_class; 879s # }; 879s # 879s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 879s # 879s # #if GLIB_CHECK_VERSION(2, 44, 0) 879s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 879s # #endif 879s # 879s # void org_project_useful_interface_proxy_new ( 879s # GDBusConnection *connection, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GAsyncReadyCallback callback, 879s # gpointer user_data); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 879s # GAsyncResult *res, 879s # GError **error); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 879s # GDBusConnection *connection, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GError **error); 879s # 879s # void org_project_useful_interface_proxy_new_for_bus ( 879s # GBusType bus_type, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GAsyncReadyCallback callback, 879s # gpointer user_data); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 879s # GAsyncResult *res, 879s # GError **error); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 879s # GBusType bus_type, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GError **error); 879s # 879s # 879s # /* ---- */ 879s # 879s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 879s # 879s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 879s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 879s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 879s # 879s # struct _OrgProjectUsefulInterfaceSkeleton 879s # { 879s # /*< private >*/ 879s # GDBusInterfaceSkeleton parent_instance; 879s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 879s # }; 879s # 879s # struct _OrgProjectUsefulInterfaceSkeletonClass 879s # { 879s # GDBusInterfaceSkeletonClass parent_class; 879s # }; 879s # 879s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 879s # 879s # #if GLIB_CHECK_VERSION(2, 44, 0) 879s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 879s # #endif 879s # 879s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 879s # 879s # 879s # G_END_DECLS 879s # 879s # #endif /* __STDOUT__ */ 879s # Error: 879s # 879s # /tmp/tmpp9pq6d0n/tmp4kaji13k.xml: 879s # 879s # 879s # 879s # 879s # 879s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9pq6d0n/tmp4kaji13k.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 879s # Return code: 0 879s # Output: 879s # /* 879s # * This file is generated by gdbus-codegen, do not modify it. 879s # * 879s # * The license of this code is the same as for the D-Bus interface description 879s # * it was derived from. Note that it links to GLib, so must comply with the 879s # * LGPL linking clauses. 879s # */ 879s # 879s # #ifndef __STDOUT__ 879s # #define __STDOUT__ 879s # 879s # #include 879s # 879s # G_BEGIN_DECLS 879s # 879s # 879s # /* ------------------------------------------------------------------------ */ 879s # /* Declarations for org.project.UsefulInterface */ 879s # 879s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 879s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 879s # 879s # struct _OrgProjectUsefulInterface; 879s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 879s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 879s # 879s # struct _OrgProjectUsefulInterfaceIface 879s # { 879s # GTypeInterface parent_iface; 879s # 879s # gboolean (*handle_useful_method) ( 879s # OrgProjectUsefulInterface *object, 879s # GDBusMethodInvocation *invocation); 879s # 879s # }; 879s # 879s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 879s # 879s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 879s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 879s # 879s # 879s # /* D-Bus method call completion functions: */ 879s # void org_project_useful_interface_complete_useful_method ( 879s # OrgProjectUsefulInterface *object, 879s # GDBusMethodInvocation *invocation); 879s # 879s # 879s # 879s # /* D-Bus method calls: */ 879s # void org_project_useful_interface_call_useful_method ( 879s # OrgProjectUsefulInterface *proxy, 879s # GCancellable *cancellable, 879s # GAsyncReadyCallback callback, 879s # gpointer user_data); 879s # 879s # gboolean org_project_useful_interface_call_useful_method_finish ( 879s # OrgProjectUsefulInterface *proxy, 879s # GAsyncResult *res, 879s # GError **error); 879s # 879s # gboolean org_project_useful_interface_call_useful_method_sync ( 879s # OrgProjectUsefulInterface *proxy, 879s # GCancellable *cancellable, 879s # GError **error); 879s # 879s # 879s # 879s # /* ---- */ 879s # 879s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 879s # 879s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 879s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 879s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 879s # 879s # struct _OrgProjectUsefulInterfaceProxy 879s # { 879s # /*< private >*/ 879s # GDBusProxy parent_instance; 879s # OrgProjectUsefulInterfaceProxyPrivate *priv; 879s # }; 879s # 879s # struct _OrgProjectUsefulInterfaceProxyClass 879s # { 879s # GDBusProxyClass parent_class; 879s # }; 879s # 879s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 879s # 879s # #if GLIB_CHECK_VERSION(2, 44, 0) 879s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 879s # #endif 879s # 879s # void org_project_useful_interface_proxy_new ( 879s # GDBusConnection *connection, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GAsyncReadyCallback callback, 879s # gpointer user_data); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 879s # GAsyncResult *res, 879s # GError **error); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 879s # GDBusConnection *connection, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GError **error); 879s # 879s # void org_project_useful_interface_proxy_new_for_bus ( 879s # GBusType bus_type, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GAsyncReadyCallback callback, 879s # gpointer user_data); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 879s # GAsyncResult *res, 879s # GError **error); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 879s # GBusType bus_type, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GError **error); 879s # 879s # 879s # /* ---- */ 879s # 879s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 879s # 879s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 879s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 879s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 879s # 879s # struct _OrgProjectUsefulInterfaceSkeleton 879s # { 879s # /*< private >*/ 879s # GDBusInterfaceSkeleton parent_instance; 879s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 879s # }; 879s # 879s # struct _OrgProjectUsefulInterfaceSkeletonClass 879s # { 879s # GDBusInterfaceSkeletonClass parent_class; 879s # }; 879s # 879s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 879s # 879s # #if GLIB_CHECK_VERSION(2, 44, 0) 879s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 879s # #endif 879s # 879s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 879s # 879s # 879s # G_END_DECLS 879s # 879s # #endif /* __STDOUT__ */ 879s # Error: 879s # 879s # /tmp/tmpp9pq6d0n/tmppzyxn39c.xml: 879s # 879s # 879s # 879s # 879s # 879s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9pq6d0n/tmppzyxn39c.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 879s # Return code: 0 879s # Output: 879s # /* 879s # * This file is generated by gdbus-codegen, do not modify it. 879s # * 879s # * The license of this code is the same as for the D-Bus interface description 879s # * it was derived from. Note that it links to GLib, so must comply with the 879s # * LGPL linking clauses. 879s # */ 879s # 879s # #ifndef __STDOUT__ 879s # #define __STDOUT__ 879s # 879s # #include 879s # 879s # G_BEGIN_DECLS 879s # 879s # 879s # /* ------------------------------------------------------------------------ */ 879s # /* Declarations for org.project.UsefulInterface */ 879s # 879s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 879s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 879s # 879s # struct _OrgProjectUsefulInterface; 879s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 879s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 879s # 879s # struct _OrgProjectUsefulInterfaceIface 879s # { 879s # GTypeInterface parent_iface; 879s # 879s # gboolean (*handle_useful_method) ( 879s # OrgProjectUsefulInterface *object, 879s # GDBusMethodInvocation *invocation); 879s # 879s # }; 879s # 879s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 879s # 879s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 879s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 879s # 879s # 879s # /* D-Bus method call completion functions: */ 879s # void org_project_useful_interface_complete_useful_method ( 879s # OrgProjectUsefulInterface *object, 879s # GDBusMethodInvocation *invocation); 879s # 879s # 879s # 879s # /* D-Bus method calls: */ 879s # void org_project_useful_interface_call_useful_method ( 879s # OrgProjectUsefulInterface *proxy, 879s # GDBusCallFlags call_flags, 879s # gint timeout_msec, 879s # GCancellable *cancellable, 879s # GAsyncReadyCallback callback, 879s # gpointer user_data); 879s # 879s # gboolean org_project_useful_interface_call_useful_method_finish ( 879s # OrgProjectUsefulInterface *proxy, 879s # GAsyncResult *res, 879s # GError **error); 879s # 879s # gboolean org_project_useful_interface_call_useful_method_sync ( 879s # OrgProjectUsefulInterface *proxy, 879s # GDBusCallFlags call_flags, 879s # gint timeout_msec, 879s # GCancellable *cancellable, 879s # GError **error); 879s # 879s # 879s # 879s # /* ---- */ 879s # 879s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 879s # 879s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 879s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 879s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 879s # 879s # struct _OrgProjectUsefulInterfaceProxy 879s # { 879s # /*< private >*/ 879s # GDBusProxy parent_instance; 879s # OrgProjectUsefulInterfaceProxyPrivate *priv; 879s # }; 879s # 879s # struct _OrgProjectUsefulInterfaceProxyClass 879s # { 879s # GDBusProxyClass parent_class; 879s # }; 879s # 879s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 879s # 879s # #if GLIB_CHECK_VERSION(2, 44, 0) 879s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 879s # #endif 879s # 879s # void org_project_useful_interface_proxy_new ( 879s # GDBusConnection *connection, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GAsyncReadyCallback callback, 879s # gpointer user_data); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 879s # GAsyncResult *res, 879s # GError **error); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 879s # GDBusConnection *connection, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GError **error); 879s # 879s # void org_project_useful_interface_proxy_new_for_bus ( 879s # GBusType bus_type, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GAsyncReadyCallback callback, 879s # gpointer user_data); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 879s # GAsyncResult *res, 879s # GError **error); 879s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 879s # GBusType bus_type, 879s # GDBusProxyFlags flags, 879s # const gchar *name, 879s # const gchar *object_path, 879s # GCancellable *cancellable, 879s # GError **error); 879s # 879s # 879s # /* ---- */ 879s # 879s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 879s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 879s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 879s # 879s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 879s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 879s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 879s # 879s # struct _OrgProjectUsefulInterfaceSkeleton 879s # { 879s # /*< private >*/ 879s # GDBusInterfaceSkeleton parent_instance; 879s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 879s # }; 879s # 879s # struct _OrgProjectUsefulInterfaceSkeletonClass 879s # { 879s # GDBusInterfaceSkeletonClass parent_class; 879s # }; 879s # 879s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 879s # 879s # #if GLIB_CHECK_VERSION(2, 44, 0) 879s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 879s # #endif 879s # 879s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 879s # 879s # 879s # G_END_DECLS 879s # 879s # #endif /* __STDOUT__ */ 879s # Error: 880s ok 2 __main__.TestCodegen.test_dbus_types 880s # gdbus-codegen: /usr/bin/gdbus-codegen 880s # tmpdir: /tmp/tmpah8p3y8v 880s # /tmp/tmpah8p3y8v/tmps7tz48v3.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmps7tz48v3.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 880s # /tmp/tmpah8p3y8v/tmpwxnagcqe.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmpwxnagcqe.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 880s # /tmp/tmpah8p3y8v/tmp8n_blv9e.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmp8n_blv9e.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 880s # /tmp/tmpah8p3y8v/tmp51jdev6j.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmp51jdev6j.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 880s # /tmp/tmpah8p3y8v/tmpj0iwbqwa.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmpj0iwbqwa.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 880s # /tmp/tmpah8p3y8v/tmp3w46o3fw.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmp3w46o3fw.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 880s # /tmp/tmpah8p3y8v/tmpzeyog42r.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmpzeyog42r.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 880s # /tmp/tmpah8p3y8v/tmpxjhpp5kf.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmpxjhpp5kf.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 880s # /tmp/tmpah8p3y8v/tmp4leuttm9.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmp4leuttm9.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 880s # /tmp/tmpah8p3y8v/tmpo37xob2y.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmpo37xob2y.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: D-Bus maximum signature length of 255 exceeded. 880s # /tmp/tmpah8p3y8v/tmpdgl33dst.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmpdgl33dst.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: D-Bus maximum signature length of 255 exceeded. 880s # /tmp/tmpah8p3y8v/tmpbjqf0nom.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmpbjqf0nom.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 880s # /tmp/tmpah8p3y8v/tmp3mq51wus.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmp3mq51wus.xml', '--output', '-', '--body'] 880s # Return code: 1 880s # Output: 880s # 880s # Error: 880s # ERROR: D-Bus maximum signature length of 255 exceeded. 880s # /tmp/tmpah8p3y8v/tmpr5gipma9.xml: 880s # 880s # 880s # 880s # 880s # 880s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmpr5gipma9.xml', '--output', '-', '--body'] 880s # Return code: 0 880s # Output: 880s # /* 880s # * This file is generated by gdbus-codegen, do not modify it. 880s # * 880s # * The license of this code is the same as for the D-Bus interface description 880s # * it was derived from. Note that it links to GLib, so must comply with the 880s # * LGPL linking clauses. 880s # */ 880s # 880s # #ifdef HAVE_CONFIG_H 880s # # include "config.h" 880s # #endif 880s # 880s # #include 880s # #ifdef G_OS_UNIX 880s # # include 880s # #endif 880s # 880s # #ifdef G_ENABLE_DEBUG 880s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 880s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 880s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 880s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 880s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 880s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 880s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 880s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 880s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 880s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 880s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 880s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 880s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 880s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 880s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 880s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 880s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 880s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 880s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 880s # #else /* !G_ENABLE_DEBUG */ 880s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 880s # * Do not access GValues directly in your code. Instead, use the 880s # * g_value_get_*() functions 880s # */ 880s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 880s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 880s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 880s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 880s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 880s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 880s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 880s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 880s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 880s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 880s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 880s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 880s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 880s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 880s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 880s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 880s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 880s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 880s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 880s # #endif /* !G_ENABLE_DEBUG */ 880s # 880s # typedef struct 880s # { 880s # GDBusArgInfo parent_struct; 880s # gboolean use_gvariant; 880s # } _ExtendedGDBusArgInfo; 880s # 880s # typedef struct 880s # { 880s # GDBusMethodInfo parent_struct; 880s # const gchar *signal_name; 880s # gboolean pass_fdlist; 880s # } _ExtendedGDBusMethodInfo; 880s # 880s # typedef struct 880s # { 880s # GDBusSignalInfo parent_struct; 880s # const gchar *signal_name; 880s # } _ExtendedGDBusSignalInfo; 880s # 880s # typedef struct 880s # { 880s # GDBusPropertyInfo parent_struct; 880s # const gchar *hyphen_name; 880s # guint use_gvariant : 1; 880s # guint emits_changed_signal : 1; 880s # } _ExtendedGDBusPropertyInfo; 880s # 880s # typedef struct 880s # { 880s # GDBusInterfaceInfo parent_struct; 880s # const gchar *hyphen_name; 880s # } _ExtendedGDBusInterfaceInfo; 880s # 880s # typedef struct 880s # { 880s # const _ExtendedGDBusPropertyInfo *info; 880s # guint prop_id; 880s # GValue orig_value; /* the value before the change */ 880s # } ChangedProperty; 880s # 880s # static void 880s # _changed_property_free (ChangedProperty *data) 880s # { 880s # g_value_unset (&data->orig_value); 880s # g_free (data); 880s # } 880s # 880s # static gboolean 880s # _g_strv_equal0 (gchar **a, gchar **b) 880s # { 880s # gboolean ret = FALSE; 880s # guint n; 880s # if (a == NULL && b == NULL) 880s # { 880s # ret = TRUE; 880s # goto out; 880s # } 880s # if (a == NULL || b == NULL) 880s # goto out; 880s # if (g_strv_length (a) != g_strv_length (b)) 880s # goto out; 880s # for (n = 0; a[n] != NULL; n++) 880s # if (g_strcmp0 (a[n], b[n]) != 0) 880s # goto out; 880s # ret = TRUE; 880s # out: 880s # return ret; 880s # } 880s # 880s # static gboolean 880s # _g_variant_equal0 (GVariant *a, GVariant *b) 880s # { 880s # gboolean ret = FALSE; 880s # if (a == NULL && b == NULL) 880s # { 880s # ret = TRUE; 880s # goto out; 880s # } 880s # if (a == NULL || b == NULL) 880s # goto out; 880s # ret = g_variant_equal (a, b); 880s # out: 880s # return ret; 880s # } 880s # 880s # G_GNUC_UNUSED static gboolean 880s # _g_value_equal (const GValue *a, const GValue *b) 880s # { 880s # gboolean ret = FALSE; 880s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 880s # switch (G_VALUE_TYPE (a)) 880s # { 880s # case G_TYPE_BOOLEAN: 880s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 880s # break; 880s # case G_TYPE_UCHAR: 880s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 880s # break; 880s # case G_TYPE_INT: 880s # ret = (g_value_get_int (a) == g_value_get_int (b)); 880s # break; 880s # case G_TYPE_UINT: 880s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 880s # break; 880s # case G_TYPE_INT64: 880s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 880s # break; 880s # case G_TYPE_UINT64: 880s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 880s # break; 880s # case G_TYPE_DOUBLE: 880s # { 880s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 880s # gdouble da = g_value_get_double (a); 880s # gdouble db = g_value_get_double (b); 880s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 880s # } 880s # break; 880s # case G_TYPE_STRING: 880s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 880s # break; 880s # case G_TYPE_VARIANT: 880s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 880s # break; 880s # default: 880s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 880s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 880s # else 880s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 880s # break; 880s # } 880s # return ret; 880s # } 880s # 880s # /* ------------------------------------------------------------------------ 880s # * Code for interface GoodTypes 880s # * ------------------------------------------------------------------------ 880s # */ 880s # 880s # /** 880s # * SECTION:GoodTypes 880s # * @title: GoodTypes 880s # * @short_description: Generated C code for the GoodTypes D-Bus interface 880s # * 880s # * This section contains code for working with the GoodTypes D-Bus interface in C. 880s # */ 880s # 880s # /* ---- Introspection data for GoodTypes ---- */ 880s # 880s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 880s # { 880s # { 880s # -1, 880s # (gchar *) "GoodPropertyType", 880s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 880s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 880s # NULL 880s # }, 880s # "good-property-type", 880s # FALSE, 880s # TRUE 880s # }; 880s # 880s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 880s # { 880s # &_good_types_property_info_good_property_type.parent_struct, 880s # NULL 880s # }; 880s # 880s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 880s # { 880s # { 880s # -1, 880s # (gchar *) "GoodTypes", 880s # NULL, 880s # NULL, 880s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 880s # NULL 880s # }, 880s # "good-types", 880s # }; 880s # 880s # 880s # /** 880s # * good_types_interface_info: 880s # * 880s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 880s # * 880s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 880s # */ 880s # GDBusInterfaceInfo * 880s # good_types_interface_info (void) 880s # { 880s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 880s # } 880s # 880s # /** 880s # * good_types_override_properties: 880s # * @klass: The class structure for a #GObject derived class. 880s # * @property_id_begin: The property id to assign to the first overridden property. 880s # * 880s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 880s # * The properties are overridden in the order they are defined. 880s # * 880s # * Returns: The last property id. 880s # */ 880s # guint 880s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 880s # { 880s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 880s # return property_id_begin - 1; 880s # } 880s # 880s # 880s # 880s # /** 880s # * GoodTypes: 880s # * 880s # * Abstract interface type for the D-Bus interface GoodTypes. 880s # */ 880s # 880s # /** 880s # * GoodTypesIface: 880s # * @parent_iface: The parent interface. 880s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 880s # * 880s # * Virtual table for the D-Bus interface GoodTypes. 880s # */ 880s # 880s # typedef GoodTypesIface GoodTypesInterface; 880s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 880s # 880s # static void 880s # good_types_default_init (GoodTypesIface *iface) 880s # { 880s # /* GObject properties for D-Bus properties: */ 880s # /** 880s # * GoodTypes:good-property-type: 880s # * 880s # * Represents the D-Bus property "GoodPropertyType". 880s # * 880s # * 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. 880s # */ 880s # g_object_interface_install_property (iface, 880s # 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)); 880s # } 880s # 880s # /** 880s # * good_types_get_good_property_type: (skip) 880s # * @object: A GoodTypes. 880s # * 880s # * Gets the value of the "GoodPropertyType" D-Bus property. 880s # * 880s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 880s # * 880s # * 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. 880s # * 880s # * 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. 880s # */ 880s # GVariant * 880s # good_types_get_good_property_type (GoodTypes *object) 880s # { 880s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 880s # 880s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 880s # } 880s # 880s # /** 880s # * good_types_dup_good_property_type: (skip) 880s # * @object: A GoodTypes. 880s # * 880s # * Gets a copy of the "GoodPropertyType" D-Bus property. 880s # * 880s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 880s # * 880s # * 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(). 880s # */ 880s # GVariant * 880s # good_types_dup_good_property_type (GoodTypes *object) 880s # { 880s # GVariant *value; 880s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 880s # return value; 880s # } 880s # 880s # /** 880s # * good_types_set_good_property_type: (skip) 880s # * @object: A GoodTypes. 880s # * @value: The value to set. 880s # * 880s # * Sets the "GoodPropertyType" D-Bus property to @value. 880s # * 880s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 880s # */ 880s # void 880s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 880s # { 880s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 880s # } 880s # 880s # /* ------------------------------------------------------------------------ */ 880s # 880s # /** 880s # * GoodTypesProxy: 880s # * 880s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 880s # */ 880s # 880s # /** 880s # * GoodTypesProxyClass: 880s # * @parent_class: The parent class. 880s # * 880s # * Class structure for GoodTypesProxy. 880s # */ 880s # 880s # struct _GoodTypesProxyPrivate 880s # { 880s # GData *qdata; 880s # }; 880s # 880s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 880s # 880s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 880s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 880s # G_ADD_PRIVATE (GoodTypesProxy) 880s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 880s # 880s # #else 880s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 880s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 880s # 880s # #endif 880s # static void 880s # good_types_proxy_finalize (GObject *object) 880s # { 880s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 880s # g_datalist_clear (&proxy->priv->qdata); 880s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 880s # } 880s # 880s # static void 880s # good_types_proxy_get_property (GObject *object, 880s # guint prop_id, 880s # GValue *value, 880s # GParamSpec *pspec G_GNUC_UNUSED) 880s # { 880s # const _ExtendedGDBusPropertyInfo *info; 880s # GVariant *variant; 880s # g_assert (prop_id != 0 && prop_id - 1 < 1); 880s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 880s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 880s # if (info->use_gvariant) 880s # { 880s # g_value_set_variant (value, variant); 880s # } 880s # else 880s # { 880s # if (variant != NULL) 880s # g_dbus_gvariant_to_gvalue (variant, value); 880s # } 880s # if (variant != NULL) 880s # g_variant_unref (variant); 880s # } 880s # 880s # static void 880s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 880s # GAsyncResult *res, 880s # gpointer user_data) 880s # { 880s # const _ExtendedGDBusPropertyInfo *info = user_data; 880s # GError *error; 880s # GVariant *_ret; 880s # error = NULL; 880s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 880s # if (!_ret) 880s # { 880s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 880s # info->parent_struct.name, 880s # error->message, g_quark_to_string (error->domain), error->code); 880s # g_error_free (error); 880s # } 880s # else 880s # { 880s # g_variant_unref (_ret); 880s # } 880s # } 880s # 880s # static void 880s # good_types_proxy_set_property (GObject *object, 880s # guint prop_id, 880s # const GValue *value, 880s # GParamSpec *pspec G_GNUC_UNUSED) 880s # { 880s # const _ExtendedGDBusPropertyInfo *info; 880s # GVariant *variant; 880s # g_assert (prop_id != 0 && prop_id - 1 < 1); 880s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 880s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 880s # g_dbus_proxy_call (G_DBUS_PROXY (object), 880s # "org.freedesktop.DBus.Properties.Set", 880s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 880s # G_DBUS_CALL_FLAGS_NONE, 880s # -1, 880s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 880s # g_variant_unref (variant); 880s # } 880s # 880s # static void 880s # good_types_proxy_g_signal (GDBusProxy *proxy, 880s # const gchar *sender_name G_GNUC_UNUSED, 880s # const gchar *signal_name, 880s # GVariant *parameters) 880s # { 880s # _ExtendedGDBusSignalInfo *info; 880s # GVariantIter iter; 880s # GVariant *child; 880s # GValue *paramv; 880s # gsize num_params; 880s # gsize n; 880s # guint signal_id; 880s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 880s # if (info == NULL) 880s # return; 880s # num_params = g_variant_n_children (parameters); 880s # paramv = g_new0 (GValue, num_params + 1); 880s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 880s # g_value_set_object (¶mv[0], proxy); 880s # g_variant_iter_init (&iter, parameters); 880s # n = 1; 880s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 880s # { 880s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 880s # if (arg_info->use_gvariant) 880s # { 880s # g_value_init (¶mv[n], G_TYPE_VARIANT); 880s # g_value_set_variant (¶mv[n], child); 880s # n++; 880s # } 880s # else 880s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 880s # g_variant_unref (child); 880s # } 880s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 880s # g_signal_emitv (paramv, signal_id, 0, NULL); 880s # for (n = 0; n < num_params + 1; n++) 880s # g_value_unset (¶mv[n]); 880s # g_free (paramv); 880s # } 880s # 880s # static void 880s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 880s # GVariant *changed_properties, 880s # const gchar *const *invalidated_properties) 880s # { 880s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 880s # guint n; 880s # const gchar *key; 880s # GVariantIter *iter; 880s # _ExtendedGDBusPropertyInfo *info; 880s # g_variant_get (changed_properties, "a{sv}", &iter); 880s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 880s # { 880s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 880s # g_datalist_remove_data (&proxy->priv->qdata, key); 880s # if (info != NULL) 880s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 880s # } 880s # g_variant_iter_free (iter); 880s # for (n = 0; invalidated_properties[n] != NULL; n++) 880s # { 880s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 880s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 880s # if (info != NULL) 880s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 880s # } 880s # } 880s # 880s # static GVariant * 880s # good_types_proxy_get_good_property_type (GoodTypes *object) 880s # { 880s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 880s # GVariant *variant; 880s # GVariant *value = NULL; 880s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 880s # value = variant; 880s # if (variant != NULL) 880s # g_variant_unref (variant); 880s # return value; 880s # } 880s # 880s # static void 880s # good_types_proxy_init (GoodTypesProxy *proxy) 880s # { 880s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 880s # proxy->priv = good_types_proxy_get_instance_private (proxy); 880s # #else 880s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 880s # #endif 880s # 880s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 880s # } 880s # 880s # static void 880s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 880s # { 880s # GObjectClass *gobject_class; 880s # GDBusProxyClass *proxy_class; 880s # 880s # gobject_class = G_OBJECT_CLASS (klass); 880s # gobject_class->finalize = good_types_proxy_finalize; 880s # gobject_class->get_property = good_types_proxy_get_property; 880s # gobject_class->set_property = good_types_proxy_set_property; 880s # 880s # proxy_class = G_DBUS_PROXY_CLASS (klass); 880s # proxy_class->g_signal = good_types_proxy_g_signal; 880s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 880s # 880s # good_types_override_properties (gobject_class, 1); 880s # 880s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 880s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 880s # #endif 880s # } 880s # 880s # static void 880s # good_types_proxy_iface_init (GoodTypesIface *iface) 880s # { 880s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 880s # } 880s # 880s # /** 880s # * good_types_proxy_new: 880s # * @connection: A #GDBusConnection. 880s # * @flags: Flags from the #GDBusProxyFlags enumeration. 880s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 880s # * @object_path: An object path. 880s # * @cancellable: (nullable): A #GCancellable or %NULL. 880s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 880s # * @user_data: User data to pass to @callback. 880s # * 880s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 880s # * 880s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 880s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 880s # * 880s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 880s # */ 880s # void 880s # good_types_proxy_new ( 880s # GDBusConnection *connection, 880s # GDBusProxyFlags flags, 880s # const gchar *name, 880s # const gchar *object_path, 880s # GCancellable *cancellable, 880s # GAsyncReadyCallback callback, 880s # gpointer user_data) 880s # { 880s # 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); 880s # } 880s # 880s # /** 880s # * good_types_proxy_new_finish: 880s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 880s # * @error: Return location for error or %NULL 880s # * 880s # * Finishes an operation started with good_types_proxy_new(). 880s # * 880s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 880s # */ 880s # GoodTypes * 880s # good_types_proxy_new_finish ( 880s # GAsyncResult *res, 880s # GError **error) 880s # { 880s # GObject *ret; 880s # GObject *source_object; 880s # source_object = g_async_result_get_source_object (res); 880s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 880s # g_object_unref (source_object); 880s # if (ret != NULL) 880s # return GOOD_TYPES (ret); 880s # else 880s # return NULL; 880s # } 880s # 880s # /** 880s # * good_types_proxy_new_sync: 880s # * @connection: A #GDBusConnection. 880s # * @flags: Flags from the #GDBusProxyFlags enumeration. 880s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 880s # * @object_path: An object path. 880s # * @cancellable: (nullable): A #GCancellable or %NULL. 880s # * @error: Return location for error or %NULL 880s # * 880s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 880s # * 880s # * The calling thread is blocked until a reply is received. 880s # * 880s # * See good_types_proxy_new() for the asynchronous version of this constructor. 880s # * 880s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 880s # */ 880s # GoodTypes * 880s # good_types_proxy_new_sync ( 880s # GDBusConnection *connection, 880s # GDBusProxyFlags flags, 880s # const gchar *name, 880s # const gchar *object_path, 880s # GCancellable *cancellable, 880s # GError **error) 880s # { 880s # GInitable *ret; 880s # 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); 880s # if (ret != NULL) 880s # return GOOD_TYPES (ret); 880s # else 880s # return NULL; 880s # } 880s # 880s # 880s # /** 880s # * good_types_proxy_new_for_bus: 880s # * @bus_type: A #GBusType. 880s # * @flags: Flags from the #GDBusProxyFlags enumeration. 880s # * @name: A bus name (well-known or unique). 880s # * @object_path: An object path. 880s # * @cancellable: (nullable): A #GCancellable or %NULL. 880s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 880s # * @user_data: User data to pass to @callback. 880s # * 880s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 880s # * 880s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 880s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 880s # * 880s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 880s # */ 880s # void 880s # good_types_proxy_new_for_bus ( 880s # GBusType bus_type, 880s # GDBusProxyFlags flags, 880s # const gchar *name, 880s # const gchar *object_path, 880s # GCancellable *cancellable, 880s # GAsyncReadyCallback callback, 880s # gpointer user_data) 880s # { 880s # 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); 880s # } 880s # 880s # /** 880s # * good_types_proxy_new_for_bus_finish: 880s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 880s # * @error: Return location for error or %NULL 880s # * 880s # * Finishes an operation started with good_types_proxy_new_for_bus(). 880s # * 880s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 880s # */ 880s # GoodTypes * 880s # good_types_proxy_new_for_bus_finish ( 880s # GAsyncResult *res, 880s # GError **error) 880s # { 880s # GObject *ret; 880s # GObject *source_object; 880s # source_object = g_async_result_get_source_object (res); 880s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 880s # g_object_unref (source_object); 880s # if (ret != NULL) 880s # return GOOD_TYPES (ret); 880s # else 880s # return NULL; 880s # } 880s # 880s # /** 880s # * good_types_proxy_new_for_bus_sync: 880s # * @bus_type: A #GBusType. 880s # * @flags: Flags from the #GDBusProxyFlags enumeration. 880s # * @name: A bus name (well-known or unique). 880s # * @object_path: An object path. 880s # * @cancellable: (nullable): A #GCancellable or %NULL. 880s # * @error: Return location for error or %NULL 880s # * 880s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 880s # * 880s # * The calling thread is blocked until a reply is received. 880s # * 880s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 880s # * 880s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 880s # */ 880s # GoodTypes * 880s # good_types_proxy_new_for_bus_sync ( 880s # GBusType bus_type, 880s # GDBusProxyFlags flags, 880s # const gchar *name, 880s # const gchar *object_path, 880s # GCancellable *cancellable, 880s # GError **error) 880s # { 880s # GInitable *ret; 880s # 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); 880s # if (ret != NULL) 880s # return GOOD_TYPES (ret); 880s # else 880s # return NULL; 880s # } 880s # 880s # 880s # /* ------------------------------------------------------------------------ */ 880s # 880s # /** 880s # * GoodTypesSkeleton: 880s # * 880s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 880s # */ 880s # 880s # /** 880s # * GoodTypesSkeletonClass: 880s # * @parent_class: The parent class. 880s # * 880s # * Class structure for GoodTypesSkeleton. 880s # */ 880s # 880s # struct _GoodTypesSkeletonPrivate 880s # { 880s # GValue *properties; 880s # GList *changed_properties; 880s # GSource *changed_properties_idle_source; 880s # GMainContext *context; 880s # GMutex lock; 880s # }; 880s # 880s # static void 880s # _good_types_skeleton_handle_method_call ( 880s # GDBusConnection *connection G_GNUC_UNUSED, 880s # const gchar *sender G_GNUC_UNUSED, 880s # const gchar *object_path G_GNUC_UNUSED, 880s # const gchar *interface_name, 880s # const gchar *method_name, 880s # GVariant *parameters, 880s # GDBusMethodInvocation *invocation, 880s # gpointer user_data) 880s # { 880s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 880s # _ExtendedGDBusMethodInfo *info; 880s # GVariantIter iter; 880s # GVariant *child; 880s # GValue *paramv; 880s # gsize num_params; 880s # guint num_extra; 880s # gsize n; 880s # guint signal_id; 880s # GValue return_value = G_VALUE_INIT; 880s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 880s # g_assert (info != NULL); 880s # num_params = g_variant_n_children (parameters); 880s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 880s # n = 0; 880s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 880s # g_value_set_object (¶mv[n++], skeleton); 880s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 880s # g_value_set_object (¶mv[n++], invocation); 880s # if (info->pass_fdlist) 880s # { 880s # #ifdef G_OS_UNIX 880s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 880s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 880s # #else 880s # g_assert_not_reached (); 880s # #endif 880s # } 880s # g_variant_iter_init (&iter, parameters); 880s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 880s # { 880s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 880s # if (arg_info->use_gvariant) 880s # { 880s # g_value_init (¶mv[n], G_TYPE_VARIANT); 880s # g_value_set_variant (¶mv[n], child); 880s # n++; 880s # } 880s # else 880s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 880s # g_variant_unref (child); 880s # } 880s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 880s # g_value_init (&return_value, G_TYPE_BOOLEAN); 880s # g_signal_emitv (paramv, signal_id, 0, &return_value); 880s # if (!g_value_get_boolean (&return_value)) 880s # 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); 880s # g_value_unset (&return_value); 880s # for (n = 0; n < num_params + num_extra; n++) 880s # g_value_unset (¶mv[n]); 880s # g_free (paramv); 880s # } 880s # 880s # static GVariant * 880s # _good_types_skeleton_handle_get_property ( 880s # GDBusConnection *connection G_GNUC_UNUSED, 880s # const gchar *sender G_GNUC_UNUSED, 880s # const gchar *object_path G_GNUC_UNUSED, 880s # const gchar *interface_name G_GNUC_UNUSED, 880s # const gchar *property_name, 880s # GError **error, 880s # gpointer user_data) 880s # { 880s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 880s # GValue value = G_VALUE_INIT; 880s # GParamSpec *pspec; 880s # _ExtendedGDBusPropertyInfo *info; 880s # GVariant *ret; 880s # ret = NULL; 880s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 880s # g_assert (info != NULL); 880s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 880s # if (pspec == NULL) 880s # { 880s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 880s # } 880s # else 880s # { 880s # g_value_init (&value, pspec->value_type); 880s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 880s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 880s # g_value_unset (&value); 880s # } 880s # return ret; 880s # } 880s # 880s # static gboolean 880s # _good_types_skeleton_handle_set_property ( 880s # GDBusConnection *connection G_GNUC_UNUSED, 880s # const gchar *sender G_GNUC_UNUSED, 880s # const gchar *object_path G_GNUC_UNUSED, 880s # const gchar *interface_name G_GNUC_UNUSED, 880s # const gchar *property_name, 880s # GVariant *variant, 880s # GError **error, 880s # gpointer user_data) 880s # { 880s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 880s # GValue value = G_VALUE_INIT; 880s # GParamSpec *pspec; 880s # _ExtendedGDBusPropertyInfo *info; 880s # gboolean ret; 880s # ret = FALSE; 880s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 880s # g_assert (info != NULL); 880s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 880s # if (pspec == NULL) 880s # { 880s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 880s # } 880s # else 880s # { 880s # if (info->use_gvariant) 880s # g_value_set_variant (&value, variant); 880s # else 880s # g_dbus_gvariant_to_gvalue (variant, &value); 880s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 880s # g_value_unset (&value); 880s # ret = TRUE; 880s # } 880s # return ret; 880s # } 880s # 880s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 880s # { 880s # _good_types_skeleton_handle_method_call, 880s # _good_types_skeleton_handle_get_property, 880s # _good_types_skeleton_handle_set_property, 880s # {NULL} 880s # }; 880s # 880s # static GDBusInterfaceInfo * 880s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 880s # { 880s # return good_types_interface_info (); 880s # } 880s # 880s # static GDBusInterfaceVTable * 880s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 880s # { 880s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 880s # } 880s # 880s # static GVariant * 880s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 880s # { 880s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 880s # 880s # GVariantBuilder builder; 880s # guint n; 880s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 880s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 880s # #else 880s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 880s # #endif 880s # if (_good_types_interface_info.parent_struct.properties == NULL) 880s # goto out; 880s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 880s # { 880s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 880s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 880s # { 880s # GVariant *value; 880s # 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); 880s # if (value != NULL) 880s # { 880s # g_variant_take_ref (value); 880s # g_variant_builder_add (&builder, "{sv}", info->name, value); 880s # g_variant_unref (value); 880s # } 880s # } 880s # } 880s # out: 880s # return g_variant_builder_end (&builder); 880s # } 880s # 880s # static gboolean _good_types_emit_changed (gpointer user_data); 880s # 880s # static void 880s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 880s # { 880s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 880s # gboolean emit_changed = FALSE; 880s # 880s # g_mutex_lock (&skeleton->priv->lock); 880s # if (skeleton->priv->changed_properties_idle_source != NULL) 880s # { 880s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 880s # skeleton->priv->changed_properties_idle_source = NULL; 880s # emit_changed = TRUE; 880s # } 880s # g_mutex_unlock (&skeleton->priv->lock); 880s # 880s # if (emit_changed) 880s # _good_types_emit_changed (skeleton); 880s # } 880s # 880s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 880s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 880s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 880s # G_ADD_PRIVATE (GoodTypesSkeleton) 880s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 880s # 880s # #else 880s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 880s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 880s # 880s # #endif 880s # static void 880s # good_types_skeleton_finalize (GObject *object) 880s # { 880s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 880s # guint n; 880s # for (n = 0; n < 1; n++) 880s # g_value_unset (&skeleton->priv->properties[n]); 880s # g_free (skeleton->priv->properties); 880s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 880s # if (skeleton->priv->changed_properties_idle_source != NULL) 880s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 880s # g_main_context_unref (skeleton->priv->context); 880s # g_mutex_clear (&skeleton->priv->lock); 880s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 880s # } 880s # 880s # static void 880s # good_types_skeleton_get_property (GObject *object, 880s # guint prop_id, 880s # GValue *value, 880s # GParamSpec *pspec G_GNUC_UNUSED) 880s # { 880s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 880s # g_assert (prop_id != 0 && prop_id - 1 < 1); 880s # g_mutex_lock (&skeleton->priv->lock); 880s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 880s # g_mutex_unlock (&skeleton->priv->lock); 880s # } 880s # 880s # static gboolean 880s # _good_types_emit_changed (gpointer user_data) 880s # { 880s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 880s # GList *l; 880s # GVariantBuilder builder; 880s # GVariantBuilder invalidated_builder; 880s # guint num_changes; 880s # 880s # g_mutex_lock (&skeleton->priv->lock); 880s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 880s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 880s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 880s # #else 880s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 880s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 880s # #endif 880s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 880s # { 880s # ChangedProperty *cp = l->data; 880s # GVariant *variant; 880s # const GValue *cur_value; 880s # 880s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 880s # if (!_g_value_equal (cur_value, &cp->orig_value)) 880s # { 880s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 880s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 880s # g_variant_unref (variant); 880s # num_changes++; 880s # } 880s # } 880s # if (num_changes > 0) 880s # { 880s # GList *connections, *ll; 880s # GVariant *signal_variant; 880s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 880s # &builder, &invalidated_builder)); 880s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 880s # for (ll = connections; ll != NULL; ll = ll->next) 880s # { 880s # GDBusConnection *connection = ll->data; 880s # 880s # g_dbus_connection_emit_signal (connection, 880s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 880s # "org.freedesktop.DBus.Properties", 880s # "PropertiesChanged", 880s # signal_variant, 880s # NULL); 880s # } 880s # g_variant_unref (signal_variant); 880s # g_list_free_full (connections, g_object_unref); 880s # } 880s # else 880s # { 880s # g_variant_builder_clear (&builder); 880s # g_variant_builder_clear (&invalidated_builder); 880s # } 880s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 880s # skeleton->priv->changed_properties = NULL; 880s # skeleton->priv->changed_properties_idle_source = NULL; 880s # g_mutex_unlock (&skeleton->priv->lock); 880s # return FALSE; 880s # } 880s # 880s # static void 880s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 880s # { 880s # ChangedProperty *cp; 880s # GList *l; 880s # cp = NULL; 880s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 880s # { 880s # ChangedProperty *i_cp = l->data; 880s # if (i_cp->info == info) 880s # { 880s # cp = i_cp; 880s # break; 880s # } 880s # } 880s # if (cp == NULL) 880s # { 881s # cp = g_new0 (ChangedProperty, 1); 881s # cp->prop_id = prop_id; 881s # cp->info = info; 881s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 881s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 881s # g_value_copy (orig_value, &cp->orig_value); 881s # } 881s # } 881s # 881s # static void 881s # good_types_skeleton_notify (GObject *object, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # g_mutex_lock (&skeleton->priv->lock); 881s # if (skeleton->priv->changed_properties != NULL && 881s # skeleton->priv->changed_properties_idle_source == NULL) 881s # { 881s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 881s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 881s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 881s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 881s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 881s # g_source_unref (skeleton->priv->changed_properties_idle_source); 881s # } 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # } 881s # 881s # static void 881s # good_types_skeleton_set_property (GObject *object, 881s # guint prop_id, 881s # const GValue *value, 881s # GParamSpec *pspec) 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # g_assert (prop_id != 0 && prop_id - 1 < 1); 881s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 881s # g_mutex_lock (&skeleton->priv->lock); 881s # g_object_freeze_notify (object); 881s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 881s # { 881s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 881s # info->emits_changed_signal) 881s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 881s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 881s # g_object_notify_by_pspec (object, pspec); 881s # } 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # g_object_thaw_notify (object); 881s # } 881s # 881s # static void 881s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # skeleton->priv->properties = g_new0 (GValue, 1); 881s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 881s # } 881s # 881s # static GVariant * 881s # good_types_skeleton_get_good_property_type (GoodTypes *object) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # GVariant *value; 881s # g_mutex_lock (&skeleton->priv->lock); 881s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # return value; 881s # } 881s # 881s # static void 881s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = good_types_skeleton_finalize; 881s # gobject_class->get_property = good_types_skeleton_get_property; 881s # gobject_class->set_property = good_types_skeleton_set_property; 881s # gobject_class->notify = good_types_skeleton_notify; 881s # 881s # 881s # good_types_override_properties (gobject_class, 1); 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # good_types_skeleton_iface_init (GoodTypesIface *iface) 881s # { 881s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 881s # } 881s # 881s # /** 881s # * good_types_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface GoodTypes. 881s # * 881s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 881s # */ 881s # GoodTypes * 881s # good_types_skeleton_new (void) 881s # { 881s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpah8p3y8v/tmpa063kt_e.xml: 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmpa063kt_e.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface GoodTypes 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:GoodTypes 881s # * @title: GoodTypes 881s # * @short_description: Generated C code for the GoodTypes D-Bus interface 881s # * 881s # * This section contains code for working with the GoodTypes D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for GoodTypes ---- */ 881s # 881s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 881s # { 881s # { 881s # -1, 881s # (gchar *) "GoodPropertyType", 881s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 881s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 881s # NULL 881s # }, 881s # "good-property-type", 881s # FALSE, 881s # TRUE 881s # }; 881s # 881s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 881s # { 881s # &_good_types_property_info_good_property_type.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "GoodTypes", 881s # NULL, 881s # NULL, 881s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 881s # NULL 881s # }, 881s # "good-types", 881s # }; 881s # 881s # 881s # /** 881s # * good_types_interface_info: 881s # * 881s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # good_types_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * good_types_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 881s # { 881s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # 881s # /** 881s # * GoodTypes: 881s # * 881s # * Abstract interface type for the D-Bus interface GoodTypes. 881s # */ 881s # 881s # /** 881s # * GoodTypesIface: 881s # * @parent_iface: The parent interface. 881s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 881s # * 881s # * Virtual table for the D-Bus interface GoodTypes. 881s # */ 881s # 881s # typedef GoodTypesIface GoodTypesInterface; 881s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 881s # 881s # static void 881s # good_types_default_init (GoodTypesIface *iface) 881s # { 881s # /* GObject properties for D-Bus properties: */ 881s # /** 881s # * GoodTypes:good-property-type: 881s # * 881s # * Represents the D-Bus property "GoodPropertyType". 881s # * 881s # * 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. 881s # */ 881s # g_object_interface_install_property (iface, 881s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 881s # } 881s # 881s # /** 881s # * good_types_get_good_property_type: (skip) 881s # * @object: A GoodTypes. 881s # * 881s # * Gets the value of the "GoodPropertyType" D-Bus property. 881s # * 881s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # GVariant * 881s # good_types_get_good_property_type (GoodTypes *object) 881s # { 881s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 881s # 881s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 881s # } 881s # 881s # /** 881s # * good_types_dup_good_property_type: (skip) 881s # * @object: A GoodTypes. 881s # * 881s # * Gets a copy of the "GoodPropertyType" D-Bus property. 881s # * 881s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 881s # * 881s # * 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(). 881s # */ 881s # GVariant * 881s # good_types_dup_good_property_type (GoodTypes *object) 881s # { 881s # GVariant *value; 881s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 881s # return value; 881s # } 881s # 881s # /** 881s # * good_types_set_good_property_type: (skip) 881s # * @object: A GoodTypes. 881s # * @value: The value to set. 881s # * 881s # * Sets the "GoodPropertyType" D-Bus property to @value. 881s # * 881s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 881s # */ 881s # void 881s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 881s # { 881s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * GoodTypesProxy: 881s # * 881s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * GoodTypesProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for GoodTypesProxy. 881s # */ 881s # 881s # struct _GoodTypesProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (GoodTypesProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # good_types_proxy_finalize (GObject *object) 881s # { 881s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # good_types_proxy_get_property (GObject *object, 881s # guint prop_id, 881s # GValue *value, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # GVariant *variant; 881s # g_assert (prop_id != 0 && prop_id - 1 < 1); 881s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 881s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 881s # if (info->use_gvariant) 881s # { 881s # g_value_set_variant (value, variant); 881s # } 881s # else 881s # { 881s # if (variant != NULL) 881s # g_dbus_gvariant_to_gvalue (variant, value); 881s # } 881s # if (variant != NULL) 881s # g_variant_unref (variant); 881s # } 881s # 881s # static void 881s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 881s # GAsyncResult *res, 881s # gpointer user_data) 881s # { 881s # const _ExtendedGDBusPropertyInfo *info = user_data; 881s # GError *error; 881s # GVariant *_ret; 881s # error = NULL; 881s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 881s # if (!_ret) 881s # { 881s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 881s # info->parent_struct.name, 881s # error->message, g_quark_to_string (error->domain), error->code); 881s # g_error_free (error); 881s # } 881s # else 881s # { 881s # g_variant_unref (_ret); 881s # } 881s # } 881s # 881s # static void 881s # good_types_proxy_set_property (GObject *object, 881s # guint prop_id, 881s # const GValue *value, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # GVariant *variant; 881s # g_assert (prop_id != 0 && prop_id - 1 < 1); 881s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 881s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_dbus_proxy_call (G_DBUS_PROXY (object), 881s # "org.freedesktop.DBus.Properties.Set", 881s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 881s # g_variant_unref (variant); 881s # } 881s # 881s # static void 881s # good_types_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static GVariant * 881s # good_types_proxy_get_good_property_type (GoodTypes *object) 881s # { 881s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 881s # GVariant *variant; 881s # GVariant *value = NULL; 881s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 881s # value = variant; 881s # if (variant != NULL) 881s # g_variant_unref (variant); 881s # return value; 881s # } 881s # 881s # static void 881s # good_types_proxy_init (GoodTypesProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = good_types_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 881s # } 881s # 881s # static void 881s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = good_types_proxy_finalize; 881s # gobject_class->get_property = good_types_proxy_get_property; 881s # gobject_class->set_property = good_types_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = good_types_proxy_g_signal; 881s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 881s # 881s # good_types_override_properties (gobject_class, 1); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # good_types_proxy_iface_init (GoodTypesIface *iface) 881s # { 881s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 881s # } 881s # 881s # /** 881s # * good_types_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # good_types_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * good_types_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with good_types_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # GoodTypes * 881s # good_types_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return GOOD_TYPES (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * good_types_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See good_types_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # GoodTypes * 881s # good_types_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return GOOD_TYPES (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * good_types_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # good_types_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * good_types_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with good_types_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # GoodTypes * 881s # good_types_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return GOOD_TYPES (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * good_types_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # GoodTypes * 881s # good_types_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return GOOD_TYPES (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * GoodTypesSkeleton: 881s # * 881s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * GoodTypesSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for GoodTypesSkeleton. 881s # */ 881s # 881s # struct _GoodTypesSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _good_types_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _good_types_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _good_types_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 881s # { 881s # _good_types_skeleton_handle_method_call, 881s # _good_types_skeleton_handle_get_property, 881s # _good_types_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return good_types_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_good_types_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static gboolean _good_types_emit_changed (gpointer user_data); 881s # 881s # static void 881s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 881s # gboolean emit_changed = FALSE; 881s # 881s # g_mutex_lock (&skeleton->priv->lock); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # { 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # skeleton->priv->changed_properties_idle_source = NULL; 881s # emit_changed = TRUE; 881s # } 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # 881s # if (emit_changed) 881s # _good_types_emit_changed (skeleton); 881s # } 881s # 881s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (GoodTypesSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # good_types_skeleton_finalize (GObject *object) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # guint n; 881s # for (n = 0; n < 1; n++) 881s # g_value_unset (&skeleton->priv->properties[n]); 881s # g_free (skeleton->priv->properties); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # good_types_skeleton_get_property (GObject *object, 881s # guint prop_id, 881s # GValue *value, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # g_assert (prop_id != 0 && prop_id - 1 < 1); 881s # g_mutex_lock (&skeleton->priv->lock); 881s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # } 881s # 881s # static gboolean 881s # _good_types_emit_changed (gpointer user_data) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 881s # GList *l; 881s # GVariantBuilder builder; 881s # GVariantBuilder invalidated_builder; 881s # guint num_changes; 881s # 881s # g_mutex_lock (&skeleton->priv->lock); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 881s # #else 881s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 881s # #endif 881s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 881s # { 881s # ChangedProperty *cp = l->data; 881s # GVariant *variant; 881s # const GValue *cur_value; 881s # 881s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 881s # if (!_g_value_equal (cur_value, &cp->orig_value)) 881s # { 881s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 881s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 881s # g_variant_unref (variant); 881s # num_changes++; 881s # } 881s # } 881s # if (num_changes > 0) 881s # { 881s # GList *connections, *ll; 881s # GVariant *signal_variant; 881s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 881s # &builder, &invalidated_builder)); 881s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 881s # for (ll = connections; ll != NULL; ll = ll->next) 881s # { 881s # GDBusConnection *connection = ll->data; 881s # 881s # g_dbus_connection_emit_signal (connection, 881s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 881s # "org.freedesktop.DBus.Properties", 881s # "PropertiesChanged", 881s # signal_variant, 881s # NULL); 881s # } 881s # g_variant_unref (signal_variant); 881s # g_list_free_full (connections, g_object_unref); 881s # } 881s # else 881s # { 881s # g_variant_builder_clear (&builder); 881s # g_variant_builder_clear (&invalidated_builder); 881s # } 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # skeleton->priv->changed_properties = NULL; 881s # skeleton->priv->changed_properties_idle_source = NULL; 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # return FALSE; 881s # } 881s # 881s # static void 881s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 881s # { 881s # ChangedProperty *cp; 881s # GList *l; 881s # cp = NULL; 881s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 881s # { 881s # ChangedProperty *i_cp = l->data; 881s # if (i_cp->info == info) 881s # { 881s # cp = i_cp; 881s # break; 881s # } 881s # } 881s # if (cp == NULL) 881s # { 881s # cp = g_new0 (ChangedProperty, 1); 881s # cp->prop_id = prop_id; 881s # cp->info = info; 881s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 881s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 881s # g_value_copy (orig_value, &cp->orig_value); 881s # } 881s # } 881s # 881s # static void 881s # good_types_skeleton_notify (GObject *object, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # g_mutex_lock (&skeleton->priv->lock); 881s # if (skeleton->priv->changed_properties != NULL && 881s # skeleton->priv->changed_properties_idle_source == NULL) 881s # { 881s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 881s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 881s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 881s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 881s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 881s # g_source_unref (skeleton->priv->changed_properties_idle_source); 881s # } 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # } 881s # 881s # static void 881s # good_types_skeleton_set_property (GObject *object, 881s # guint prop_id, 881s # const GValue *value, 881s # GParamSpec *pspec) 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # g_assert (prop_id != 0 && prop_id - 1 < 1); 881s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 881s # g_mutex_lock (&skeleton->priv->lock); 881s # g_object_freeze_notify (object); 881s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 881s # { 881s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 881s # info->emits_changed_signal) 881s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 881s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 881s # g_object_notify_by_pspec (object, pspec); 881s # } 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # g_object_thaw_notify (object); 881s # } 881s # 881s # static void 881s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # skeleton->priv->properties = g_new0 (GValue, 1); 881s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 881s # } 881s # 881s # static GVariant * 881s # good_types_skeleton_get_good_property_type (GoodTypes *object) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # GVariant *value; 881s # g_mutex_lock (&skeleton->priv->lock); 881s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # return value; 881s # } 881s # 881s # static void 881s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = good_types_skeleton_finalize; 881s # gobject_class->get_property = good_types_skeleton_get_property; 881s # gobject_class->set_property = good_types_skeleton_set_property; 881s # gobject_class->notify = good_types_skeleton_notify; 881s # 881s # 881s # good_types_override_properties (gobject_class, 1); 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # good_types_skeleton_iface_init (GoodTypesIface *iface) 881s # { 881s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 881s # } 881s # 881s # /** 881s # * good_types_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface GoodTypes. 881s # * 881s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 881s # */ 881s # GoodTypes * 881s # good_types_skeleton_new (void) 881s # { 881s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpah8p3y8v/tmphzop0vlj.xml: 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpah8p3y8v/tmphzop0vlj.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface GoodTypes 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:GoodTypes 881s # * @title: GoodTypes 881s # * @short_description: Generated C code for the GoodTypes D-Bus interface 881s # * 881s # * This section contains code for working with the GoodTypes D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for GoodTypes ---- */ 881s # 881s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 881s # { 881s # { 881s # -1, 881s # (gchar *) "GoodPropertyType", 881s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 881s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 881s # NULL 881s # }, 881s # "good-property-type", 881s # FALSE, 881s # TRUE 881s # }; 881s # 881s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 881s # { 881s # &_good_types_property_info_good_property_type.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "GoodTypes", 881s # NULL, 881s # NULL, 881s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 881s # NULL 881s # }, 881s # "good-types", 881s # }; 881s # 881s # 881s # /** 881s # * good_types_interface_info: 881s # * 881s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # good_types_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * good_types_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 881s # { 881s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # 881s # /** 881s # * GoodTypes: 881s # * 881s # * Abstract interface type for the D-Bus interface GoodTypes. 881s # */ 881s # 881s # /** 881s # * GoodTypesIface: 881s # * @parent_iface: The parent interface. 881s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 881s # * 881s # * Virtual table for the D-Bus interface GoodTypes. 881s # */ 881s # 881s # typedef GoodTypesIface GoodTypesInterface; 881s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 881s # 881s # static void 881s # good_types_default_init (GoodTypesIface *iface) 881s # { 881s # /* GObject properties for D-Bus properties: */ 881s # /** 881s # * GoodTypes:good-property-type: 881s # * 881s # * Represents the D-Bus property "GoodPropertyType". 881s # * 881s # * 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. 881s # */ 881s # g_object_interface_install_property (iface, 881s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 881s # } 881s # 881s # /** 881s # * good_types_get_good_property_type: (skip) 881s # * @object: A GoodTypes. 881s # * 881s # * Gets the value of the "GoodPropertyType" D-Bus property. 881s # * 881s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # GVariant * 881s # good_types_get_good_property_type (GoodTypes *object) 881s # { 881s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 881s # 881s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 881s # } 881s # 881s # /** 881s # * good_types_dup_good_property_type: (skip) 881s # * @object: A GoodTypes. 881s # * 881s # * Gets a copy of the "GoodPropertyType" D-Bus property. 881s # * 881s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 881s # * 881s # * 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(). 881s # */ 881s # GVariant * 881s # good_types_dup_good_property_type (GoodTypes *object) 881s # { 881s # GVariant *value; 881s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 881s # return value; 881s # } 881s # 881s # /** 881s # * good_types_set_good_property_type: (skip) 881s # * @object: A GoodTypes. 881s # * @value: The value to set. 881s # * 881s # * Sets the "GoodPropertyType" D-Bus property to @value. 881s # * 881s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 881s # */ 881s # void 881s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 881s # { 881s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * GoodTypesProxy: 881s # * 881s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * GoodTypesProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for GoodTypesProxy. 881s # */ 881s # 881s # struct _GoodTypesProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (GoodTypesProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # good_types_proxy_finalize (GObject *object) 881s # { 881s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # good_types_proxy_get_property (GObject *object, 881s # guint prop_id, 881s # GValue *value, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # GVariant *variant; 881s # g_assert (prop_id != 0 && prop_id - 1 < 1); 881s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 881s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 881s # if (info->use_gvariant) 881s # { 881s # g_value_set_variant (value, variant); 881s # } 881s # else 881s # { 881s # if (variant != NULL) 881s # g_dbus_gvariant_to_gvalue (variant, value); 881s # } 881s # if (variant != NULL) 881s # g_variant_unref (variant); 881s # } 881s # 881s # static void 881s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 881s # GAsyncResult *res, 881s # gpointer user_data) 881s # { 881s # const _ExtendedGDBusPropertyInfo *info = user_data; 881s # GError *error; 881s # GVariant *_ret; 881s # error = NULL; 881s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 881s # if (!_ret) 881s # { 881s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 881s # info->parent_struct.name, 881s # error->message, g_quark_to_string (error->domain), error->code); 881s # g_error_free (error); 881s # } 881s # else 881s # { 881s # g_variant_unref (_ret); 881s # } 881s # } 881s # 881s # static void 881s # good_types_proxy_set_property (GObject *object, 881s # guint prop_id, 881s # const GValue *value, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # GVariant *variant; 881s # g_assert (prop_id != 0 && prop_id - 1 < 1); 881s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 881s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_dbus_proxy_call (G_DBUS_PROXY (object), 881s # "org.freedesktop.DBus.Properties.Set", 881s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 881s # g_variant_unref (variant); 881s # } 881s # 881s # static void 881s # good_types_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static GVariant * 881s # good_types_proxy_get_good_property_type (GoodTypes *object) 881s # { 881s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 881s # GVariant *variant; 881s # GVariant *value = NULL; 881s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 881s # value = variant; 881s # if (variant != NULL) 881s # g_variant_unref (variant); 881s # return value; 881s # } 881s # 881s # static void 881s # good_types_proxy_init (GoodTypesProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = good_types_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 881s # } 881s # 881s # static void 881s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = good_types_proxy_finalize; 881s # gobject_class->get_property = good_types_proxy_get_property; 881s # gobject_class->set_property = good_types_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = good_types_proxy_g_signal; 881s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 881s # 881s # good_types_override_properties (gobject_class, 1); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # good_types_proxy_iface_init (GoodTypesIface *iface) 881s # { 881s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 881s # } 881s # 881s # /** 881s # * good_types_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # good_types_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * good_types_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with good_types_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # GoodTypes * 881s # good_types_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return GOOD_TYPES (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * good_types_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See good_types_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # GoodTypes * 881s # good_types_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return GOOD_TYPES (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * good_types_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # good_types_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * good_types_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with good_types_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # GoodTypes * 881s # good_types_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return GOOD_TYPES (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * good_types_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # GoodTypes * 881s # good_types_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return GOOD_TYPES (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * GoodTypesSkeleton: 881s # * 881s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * GoodTypesSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for GoodTypesSkeleton. 881s # */ 881s # 881s # struct _GoodTypesSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _good_types_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _good_types_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _good_types_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 881s # { 881s # _good_types_skeleton_handle_method_call, 881s # _good_types_skeleton_handle_get_property, 881s # _good_types_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return good_types_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_good_types_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static gboolean _good_types_emit_changed (gpointer user_data); 881s # 881s # static void 881s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 881s # gboolean emit_changed = FALSE; 881s # 881s # g_mutex_lock (&skeleton->priv->lock); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # { 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # skeleton->priv->changed_properties_idle_source = NULL; 881s # emit_changed = TRUE; 881s # } 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # 881s # if (emit_changed) 881s # _good_types_emit_changed (skeleton); 881s # } 881s # 881s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (GoodTypesSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # good_types_skeleton_finalize (GObject *object) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # guint n; 881s # for (n = 0; n < 1; n++) 881s # g_value_unset (&skeleton->priv->properties[n]); 881s # g_free (skeleton->priv->properties); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # good_types_skeleton_get_property (GObject *object, 881s # guint prop_id, 881s # GValue *value, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # g_assert (prop_id != 0 && prop_id - 1 < 1); 881s # g_mutex_lock (&skeleton->priv->lock); 881s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # } 881s # 881s # static gboolean 881s # _good_types_emit_changed (gpointer user_data) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 881s # GList *l; 881s # GVariantBuilder builder; 881s # GVariantBuilder invalidated_builder; 881s # guint num_changes; 881s # 881s # g_mutex_lock (&skeleton->priv->lock); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 881s # #else 881s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 881s # #endif 881s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 881s # { 881s # ChangedProperty *cp = l->data; 881s # GVariant *variant; 881s # const GValue *cur_value; 881s # 881s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 881s # if (!_g_value_equal (cur_value, &cp->orig_value)) 881s # { 881s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 881s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 881s # g_variant_unref (variant); 881s # num_changes++; 881s # } 881s # } 881s # if (num_changes > 0) 881s # { 881s # GList *connections, *ll; 881s # GVariant *signal_variant; 881s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 881s # &builder, &invalidated_builder)); 881s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 881s # for (ll = connections; ll != NULL; ll = ll->next) 881s # { 881s # GDBusConnection *connection = ll->data; 881s # 881s # g_dbus_connection_emit_signal (connection, 881s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 881s # "org.freedesktop.DBus.Properties", 881s # "PropertiesChanged", 881s # signal_variant, 881s # NULL); 881s # } 881s # g_variant_unref (signal_variant); 881s # g_list_free_full (connections, g_object_unref); 881s # } 881s # else 881s # { 881s # g_variant_builder_clear (&builder); 881s # g_variant_builder_clear (&invalidated_builder); 881s # } 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # skeleton->priv->changed_properties = NULL; 881s # skeleton->priv->changed_properties_idle_source = NULL; 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # return FALSE; 881s # } 881s # 881s # static void 881s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 881s # { 881s # ChangedProperty *cp; 881s # GList *l; 881s # cp = NULL; 881s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 881s # { 881s # ChangedProperty *i_cp = l->data; 881s # if (i_cp->info == info) 881s # { 881s # cp = i_cp; 881s # break; 881s # } 881s # } 881s # if (cp == NULL) 881s # { 881s # cp = g_new0 (ChangedProperty, 1); 881s # cp->prop_id = prop_id; 881s # cp->info = info; 881s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 881s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 881s # g_value_copy (orig_value, &cp->orig_value); 881s # } 881s # } 881s # 881s # static void 881s # good_types_skeleton_notify (GObject *object, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # g_mutex_lock (&skeleton->priv->lock); 881s # if (skeleton->priv->changed_properties != NULL && 881s # skeleton->priv->changed_properties_idle_source == NULL) 881s # { 881s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 881s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 881s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 881s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 881s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 881s # g_source_unref (skeleton->priv->changed_properties_idle_source); 881s # } 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # } 881s # 881s # static void 881s # good_types_skeleton_set_property (GObject *object, 881s # guint prop_id, 881s # const GValue *value, 881s # GParamSpec *pspec) 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # g_assert (prop_id != 0 && prop_id - 1 < 1); 881s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 881s # g_mutex_lock (&skeleton->priv->lock); 881s # g_object_freeze_notify (object); 881s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 881s # { 881s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 881s # info->emits_changed_signal) 881s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 881s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 881s # g_object_notify_by_pspec (object, pspec); 881s # } 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # g_object_thaw_notify (object); 881s # } 881s # 881s # static void 881s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # skeleton->priv->properties = g_new0 (GValue, 1); 881s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 881s # } 881s # 881s # static GVariant * 881s # good_types_skeleton_get_good_property_type (GoodTypes *object) 881s # { 881s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 881s # GVariant *value; 881s # g_mutex_lock (&skeleton->priv->lock); 881s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 881s # g_mutex_unlock (&skeleton->priv->lock); 881s # return value; 881s # } 881s # 881s # static void 881s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = good_types_skeleton_finalize; 881s # gobject_class->get_property = good_types_skeleton_get_property; 881s # gobject_class->set_property = good_types_skeleton_set_property; 881s # gobject_class->notify = good_types_skeleton_notify; 881s # 881s # 881s # good_types_override_properties (gobject_class, 1); 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # good_types_skeleton_iface_init (GoodTypesIface *iface) 881s # { 881s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 881s # } 881s # 881s # /** 881s # * good_types_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface GoodTypes. 881s # * 881s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 881s # */ 881s # GoodTypes * 881s # good_types_skeleton_new (void) 881s # { 881s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 881s # } 881s # Error: 881s ok 3 __main__.TestCodegen.test_empty_interface_body 881s # gdbus-codegen: /usr/bin/gdbus-codegen 881s # tmpdir: /tmp/tmpsaii8ysa 881s # /tmp/tmpsaii8ysa/tmpsm5gzxvl.xml: 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsaii8ysa/tmpsm5gzxvl.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # Error: 881s ok 4 __main__.TestCodegen.test_empty_interface_header 881s # gdbus-codegen: /usr/bin/gdbus-codegen 881s # tmpdir: /tmp/tmpjflb1wd7 881s # /tmp/tmpjflb1wd7/tmph_mki7gv.xml: 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjflb1wd7/tmph_mki7gv.xml', '--output', '-', '--header'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifndef __STDOUT__ 881s # #define __STDOUT__ 881s # 881s # #include 881s # 881s # G_BEGIN_DECLS 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __STDOUT__ */ 881s # Error: 881s ok 5 __main__.TestCodegen.test_empty_interface_info_body 881s # gdbus-codegen: /usr/bin/gdbus-codegen 881s # tmpdir: /tmp/tmpffk2_2vr 881s # /tmp/tmpffk2_2vr/tmplun6zkmh.xml: 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpffk2_2vr/tmplun6zkmh.xml', '--output', '-', '--interface-info-body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # Error: 881s ok 6 __main__.TestCodegen.test_empty_interface_info_header 881s # gdbus-codegen: /usr/bin/gdbus-codegen 881s # tmpdir: /tmp/tmpdw3h79ti 881s # /tmp/tmpdw3h79ti/tmp4w0dm21q.xml: 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdw3h79ti/tmp4w0dm21q.xml', '--output', '-', '--interface-info-header'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifndef __STDOUT__ 881s # #define __STDOUT__ 881s # 881s # #include 881s # 881s # G_BEGIN_DECLS 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __STDOUT__ */ 881s # Error: 881s ok 7 __main__.TestCodegen.test_generate_docbook 881s # gdbus-codegen: /usr/bin/gdbus-codegen 881s # tmpdir: /tmp/tmpu68slj40 881s # /tmp/tmpu68slj40/tmp9i_x_hxc.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu68slj40/tmp9i_x_hxc.xml', '--generate-docbook', 'test'] 881s # Return code: 0 881s # Output: 881s # 881s # Error: 881s ok 8 __main__.TestCodegen.test_generate_md 881s # gdbus-codegen: /usr/bin/gdbus-codegen 881s # tmpdir: /tmp/tmpk2m41077 881s # /tmp/tmpk2m41077/tmpqj3utd3g.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk2m41077/tmpqj3utd3g.xml', '--generate-md', 'test'] 881s # Return code: 0 881s # Output: 881s # 881s # Error: 881s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 881s # gdbus-codegen: /usr/bin/gdbus-codegen 881s # tmpdir: /tmp/tmprsdkwvlc 881s # /tmp/tmprsdkwvlc/tmpcrmy4bq1.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsdkwvlc/tmpcrmy4bq1.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 2); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.CallableIface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectCallableIface 881s # * @title: OrgProjectCallableIface 881s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.CallableIface ---- */ 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SimpleMethod", 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-simple-method", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 881s # { 881s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.CallableIface", 881s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-callable-iface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_callable_iface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_callable_iface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_callable_iface_method_marshal_simple_method ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectCallableIface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 881s # */ 881s # 881s # /** 881s # * OrgProjectCallableIfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.CallableIface. 881s # */ 881s # 881s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectCallableIface::handle-simple-method: 881s # * @object: A #OrgProjectCallableIface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * 881s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-simple-method", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_callable_iface_method_marshal_simple_method, 881s # G_TYPE_BOOLEAN, 881s # 1, 881s # G_TYPE_DBUS_METHOD_INVOCATION); 881s # 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_call_simple_method: 881s # * @proxy: A #OrgProjectCallableIfaceProxy. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 881s # * 881s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_callable_iface_call_simple_method ( 881s # OrgProjectCallableIface *proxy, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SimpleMethod", 881s # g_variant_new ("()"), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_call_simple_method_finish: 881s # * @proxy: A #OrgProjectCallableIfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_callable_iface_call_simple_method_finish ( 881s # OrgProjectCallableIface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_call_simple_method_sync: 881s # * @proxy: A #OrgProjectCallableIfaceProxy. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_callable_iface_call_simple_method_sync ( 881s # OrgProjectCallableIface *proxy, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SimpleMethod", 881s # g_variant_new ("()"), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_complete_simple_method: 881s # * @object: A #OrgProjectCallableIface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_callable_iface_complete_simple_method ( 881s # OrgProjectCallableIface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectCallableIfaceProxy: 881s # * 881s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectCallableIfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectCallableIfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectCallableIfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_callable_iface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 881s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 881s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_callable_iface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectCallableIface * 881s # org_project_callable_iface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_CALLABLE_IFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectCallableIface * 881s # org_project_callable_iface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_CALLABLE_IFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_callable_iface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_callable_iface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectCallableIface * 881s # org_project_callable_iface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_CALLABLE_IFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectCallableIface * 881s # org_project_callable_iface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_CALLABLE_IFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectCallableIfaceSkeleton: 881s # * 881s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectCallableIfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectCallableIfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectCallableIfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_callable_iface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_callable_iface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_callable_iface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 881s # { 881s # _org_project_callable_iface_skeleton_handle_method_call, 881s # _org_project_callable_iface_skeleton_handle_get_property, 881s # _org_project_callable_iface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_callable_iface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_callable_iface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_callable_iface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectCallableIface * 881s # org_project_callable_iface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.OtherCallableIface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectOtherCallableIface 881s # * @title: OrgProjectOtherCallableIface 881s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SimpleMethod", 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-simple-method", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 881s # { 881s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.OtherCallableIface", 881s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-other-callable-iface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_other_callable_iface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_other_callable_iface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_other_callable_iface_method_marshal_simple_method ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectOtherCallableIface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 881s # */ 881s # 881s # /** 881s # * OrgProjectOtherCallableIfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 881s # */ 881s # 881s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectOtherCallableIface::handle-simple-method: 881s # * @object: A #OrgProjectOtherCallableIface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * 881s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-simple-method", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_other_callable_iface_method_marshal_simple_method, 881s # G_TYPE_BOOLEAN, 881s # 1, 881s # G_TYPE_DBUS_METHOD_INVOCATION); 881s # 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_call_simple_method: 881s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 881s # * 881s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_other_callable_iface_call_simple_method ( 881s # OrgProjectOtherCallableIface *proxy, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SimpleMethod", 881s # g_variant_new ("()"), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_call_simple_method_finish: 881s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_other_callable_iface_call_simple_method_finish ( 881s # OrgProjectOtherCallableIface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_call_simple_method_sync: 881s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_other_callable_iface_call_simple_method_sync ( 881s # OrgProjectOtherCallableIface *proxy, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SimpleMethod", 881s # g_variant_new ("()"), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_complete_simple_method: 881s # * @object: A #OrgProjectOtherCallableIface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_other_callable_iface_complete_simple_method ( 881s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectOtherCallableIfaceProxy: 881s # * 881s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectOtherCallableIfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectOtherCallableIfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_other_callable_iface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 881s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 881s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_other_callable_iface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectOtherCallableIface * 881s # org_project_other_callable_iface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectOtherCallableIface * 881s # org_project_other_callable_iface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_other_callable_iface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_other_callable_iface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectOtherCallableIface * 881s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectOtherCallableIface * 881s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectOtherCallableIfaceSkeleton: 881s # * 881s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectOtherCallableIfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_other_callable_iface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_other_callable_iface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_other_callable_iface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 881s # { 881s # _org_project_other_callable_iface_skeleton_handle_method_call, 881s # _org_project_other_callable_iface_skeleton_handle_get_property, 881s # _org_project_other_callable_iface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_other_callable_iface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_other_callable_iface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectOtherCallableIface * 881s # org_project_other_callable_iface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 881s # gdbus-codegen: /usr/bin/gdbus-codegen 881s # tmpdir: /tmp/tmpgjunbl51 881s # /tmp/tmpgjunbl51/tmp25x9uvlf.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmp25x9uvlf.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # gboolean arg_arg_b, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_boolean (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_b", 881s # (gchar *) "b", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodB", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-b", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_b ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_b: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-b", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_b, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_b: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_b: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_b ( 881s # OrgProjectUsefulInterface *proxy, 881s # gboolean arg_arg_b, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodB", 881s # g_variant_new ("(b)", 881s # arg_arg_b), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_b_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_b_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_b_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_b: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_b_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # gboolean arg_arg_b, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodB", 881s # g_variant_new ("(b)", 881s # arg_arg_b), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_b: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_b ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy# Executing: glib/codegen.py.test 881s _new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmp1vkimi10.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmp1vkimi10.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # guchar arg_arg_y, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_uchar (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_y", 881s # (gchar *) "y", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodY", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-y", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_y ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_y: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-y", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_y, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_y: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_y: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_y ( 881s # OrgProjectUsefulInterface *proxy, 881s # guchar arg_arg_y, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodY", 881s # g_variant_new ("(y)", 881s # arg_arg_y), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_y_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_y_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_y_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_y: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_y_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # guchar arg_arg_y, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodY", 881s # g_variant_new ("(y)", 881s # arg_arg_y), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_y: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_y ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmpwspl1jpd.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmpwspl1jpd.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # gint16 arg_arg_n, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_int (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_n", 881s # (gchar *) "n", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodN", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-n", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_n ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_n: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-n", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_n, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_n: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_n: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_n ( 881s # OrgProjectUsefulInterface *proxy, 881s # gint16 arg_arg_n, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodN", 881s # g_variant_new ("(n)", 881s # arg_arg_n), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_n_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_n_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_n_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_n: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_n_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # gint16 arg_arg_n, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodN", 881s # g_variant_new ("(n)", 881s # arg_arg_n), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_n: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_n ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmp8w39zb4t.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmp8w39zb4t.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # guint16 arg_arg_q, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_uint (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_q", 881s # (gchar *) "q", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodQ", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-q", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_q ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_q: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-q", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_q, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_q: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_q: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_q ( 881s # OrgProjectUsefulInterface *proxy, 881s # guint16 arg_arg_q, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodQ", 881s # g_variant_new ("(q)", 881s # arg_arg_q), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_q_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_q_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_q_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_q: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_q_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # guint16 arg_arg_q, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodQ", 881s # g_variant_new ("(q)", 881s # arg_arg_q), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_q: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_q ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmp9juw3aht.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmp9juw3aht.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # gint arg_arg_i, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_int (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_i", 881s # (gchar *) "i", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodI", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-i", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_i ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_i: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-i", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_i, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_i: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_i: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_i ( 881s # OrgProjectUsefulInterface *proxy, 881s # gint arg_arg_i, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodI", 881s # g_variant_new ("(i)", 881s # arg_arg_i), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_i_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_i_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_i_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_i: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_i_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # gint arg_arg_i, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodI", 881s # g_variant_new ("(i)", 881s # arg_arg_i), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_i: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_i ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmp_vox8w0r.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmp_vox8w0r.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # guint arg_arg_u, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_uint (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_u", 881s # (gchar *) "u", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodU", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-u", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_u ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_u: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-u", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_u, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_u: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_u: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_u ( 881s # OrgProjectUsefulInterface *proxy, 881s # guint arg_arg_u, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodU", 881s # g_variant_new ("(u)", 881s # arg_arg_u), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_u_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_u_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_u_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_u: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_u_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # guint arg_arg_u, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodU", 881s # g_variant_new ("(u)", 881s # arg_arg_u), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_u: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_u ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmpoqkdt1il.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmpoqkdt1il.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # gint64 arg_arg_x, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_int64 (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_x", 881s # (gchar *) "x", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodX", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-x", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_x ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_x: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-x", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_x, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_x: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_x: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_x ( 881s # OrgProjectUsefulInterface *proxy, 881s # gint64 arg_arg_x, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodX", 881s # g_variant_new ("(x)", 881s # arg_arg_x), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_x_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_x_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_x_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_x: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_x_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # gint64 arg_arg_x, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodX", 881s # g_variant_new ("(x)", 881s # arg_arg_x), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_x: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_x ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmp74jiicok.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmp74jiicok.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # guint64 arg_arg_t, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_uint64 (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_t", 881s # (gchar *) "t", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodT", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-t", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_t ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_t: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-t", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_t, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_t: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_t: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_t ( 881s # OrgProjectUsefulInterface *proxy, 881s # guint64 arg_arg_t, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodT", 881s # g_variant_new ("(t)", 881s # arg_arg_t), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_t_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_t_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_t_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_t: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_t_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # guint64 arg_arg_t, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodT", 881s # g_variant_new ("(t)", 881s # arg_arg_t), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_t: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_t ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmp7rpm6uv7.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmp7rpm6uv7.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # gdouble arg_arg_d, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_double (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_d", 881s # (gchar *) "d", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodD", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-d", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_d ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_d: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-d", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_d, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_d: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_d: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_d ( 881s # OrgProjectUsefulInterface *proxy, 881s # gdouble arg_arg_d, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodD", 881s # g_variant_new ("(d)", 881s # arg_arg_d), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_d_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_d_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_d_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_d: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_d_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # gdouble arg_arg_d, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodD", 881s # g_variant_new ("(d)", 881s # arg_arg_d), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_d: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_d ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmpv4fvxkay.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmpv4fvxkay.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # const gchar *arg_arg_s, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_string (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_s", 881s # (gchar *) "s", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodS", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-s", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_s ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_s: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-s", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_s, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_s: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_s: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_s ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *arg_arg_s, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodS", 881s # g_variant_new ("(s)", 881s # arg_arg_s), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_s_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_s_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_s_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_s: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_s_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *arg_arg_s, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodS", 881s # g_variant_new ("(s)", 881s # arg_arg_s), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_s: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_s ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmpjvppi9x8.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmpjvppi9x8.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # const gchar *arg_arg_o, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_string (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_o", 881s # (gchar *) "o", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodO", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-o", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_o ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_o: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-o", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_o, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_o: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_o: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_o ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *arg_arg_o, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodO", 881s # g_variant_new ("(o)", 881s # arg_arg_o), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_o_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_o_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_o_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_o: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_o_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *arg_arg_o, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodO", 881s # g_variant_new ("(o)", 881s # arg_arg_o), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_o: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_o ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmpui1pat3q.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmpui1pat3q.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # const gchar *arg_arg_g, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_string (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_g", 881s # (gchar *) "g", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodG", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-g", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_g ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_g: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-g", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_g, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_g: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_g: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_g ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *arg_arg_g, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodG", 881s # g_variant_new ("(g)", 881s # arg_arg_g), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_g_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_g_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_g_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_g: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_g_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *arg_arg_g, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodG", 881s # g_variant_new ("(g)", 881s # arg_arg_g), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_g: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_g ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmp0q51bdsc.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmp0q51bdsc.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # GVariant *arg_arg_h, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_variant (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_h", 881s # (gchar *) "h", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodH", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-h", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_h ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_h: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-h", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_h, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_h: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_h: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_h ( 881s # OrgProjectUsefulInterface *proxy, 881s # GVariant *arg_arg_h, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodH", 881s # g_variant_new ("(@h)", 881s # arg_arg_h), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_h_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_h_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_h_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_h: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_h_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # GVariant *arg_arg_h, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodH", 881s # g_variant_new ("(@h)", 881s # arg_arg_h), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_h: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_h ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmplf9vy42e.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmplf9vy42e.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # const gchar *arg_arg_ay, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_string (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_ay", 881s # (gchar *) "ay", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodAy", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-ay", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_ay: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-ay", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_ay, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_ay: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_ay: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_ay ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *arg_arg_ay, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodAy", 881s # g_variant_new ("(^ay)", 881s # arg_arg_ay), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_ay_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_ay_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_ay_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_ay: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_ay_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *arg_arg_ay, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodAy", 881s # g_variant_new ("(^ay)", 881s # arg_arg_ay), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_ay: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_ay ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmpnfepsvti.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmpnfepsvti.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # const gchar *const *arg_arg_as, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_boxed (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_as", 881s # (gchar *) "as", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodAs", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-as", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_as ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_as: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-as", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_as, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_as: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_as: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_as ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *const *arg_arg_as, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodAs", 881s # g_variant_new ("(^as)", 881s # arg_arg_as), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_as_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_as_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_as_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_as: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_as_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *const *arg_arg_as, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodAs", 881s # g_variant_new ("(^as)", 881s # arg_arg_as), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_as: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_as ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmpb8bbkc20.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmpb8bbkc20.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # const gchar *const *arg_arg_ao, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_boxed (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_ao", 881s # (gchar *) "ao", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodAo", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-ao", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_ao: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-ao", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_ao, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_ao: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_ao: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_ao ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *const *arg_arg_ao, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodAo", 881s # g_variant_new ("(^ao)", 881s # arg_arg_ao), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_ao_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_ao_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_ao_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_ao: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_ao_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *const *arg_arg_ao, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodAo", 881s # g_variant_new ("(^ao)", 881s # arg_arg_ao), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_ao: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_ao ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmphefgwauz.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmphefgwauz.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # const gchar *const *arg_arg_aay, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_boxed (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_aay", 881s # (gchar *) "aay", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodAay", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-aay", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_aay: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-aay", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_aay, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_aay: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_aay: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_aay ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *const *arg_arg_aay, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodAay", 881s # g_variant_new ("(^aay)", 881s # arg_arg_aay), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_aay_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_aay_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_aay_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_aay: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_aay_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # const gchar *const *arg_arg_aay, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodAay", 881s # g_variant_new ("(^aay)", 881s # arg_arg_aay), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_aay: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_aay ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 881s # 881s # /tmp/tmpgjunbl51/tmp0q5_0cq_.xml: 881s # 881s # 881s # 881s # 881s # 881s # 881s # 881s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgjunbl51/tmp0q5_0cq_.xml', '--output', '-', '--body'] 881s # Return code: 0 881s # Output: 881s # /* 881s # * This file is generated by gdbus-codegen, do not modify it. 881s # * 881s # * The license of this code is the same as for the D-Bus interface description 881s # * it was derived from. Note that it links to GLib, so must comply with the 881s # * LGPL linking clauses. 881s # */ 881s # 881s # #ifdef HAVE_CONFIG_H 881s # # include "config.h" 881s # #endif 881s # 881s # #include 881s # #ifdef G_OS_UNIX 881s # # include 881s # #endif 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # typedef struct 881s # { 881s # GDBusArgInfo parent_struct; 881s # gboolean use_gvariant; 881s # } _ExtendedGDBusArgInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusMethodInfo parent_struct; 881s # const gchar *signal_name; 881s # gboolean pass_fdlist; 881s # } _ExtendedGDBusMethodInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusSignalInfo parent_struct; 881s # const gchar *signal_name; 881s # } _ExtendedGDBusSignalInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusPropertyInfo parent_struct; 881s # const gchar *hyphen_name; 881s # guint use_gvariant : 1; 881s # guint emits_changed_signal : 1; 881s # } _ExtendedGDBusPropertyInfo; 881s # 881s # typedef struct 881s # { 881s # GDBusInterfaceInfo parent_struct; 881s # const gchar *hyphen_name; 881s # } _ExtendedGDBusInterfaceInfo; 881s # 881s # typedef struct 881s # { 881s # const _ExtendedGDBusPropertyInfo *info; 881s # guint prop_id; 881s # GValue orig_value; /* the value before the change */ 881s # } ChangedProperty; 881s # 881s # static void 881s # _changed_property_free (ChangedProperty *data) 881s # { 881s # g_value_unset (&data->orig_value); 881s # g_free (data); 881s # } 881s # 881s # static gboolean 881s # _g_strv_equal0 (gchar **a, gchar **b) 881s # { 881s # gboolean ret = FALSE; 881s # guint n; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # if (g_strv_length (a) != g_strv_length (b)) 881s # goto out; 881s # for (n = 0; a[n] != NULL; n++) 881s # if (g_strcmp0 (a[n], b[n]) != 0) 881s # goto out; 881s # ret = TRUE; 881s # out: 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _g_variant_equal0 (GVariant *a, GVariant *b) 881s # { 881s # gboolean ret = FALSE; 881s # if (a == NULL && b == NULL) 881s # { 881s # ret = TRUE; 881s # goto out; 881s # } 881s # if (a == NULL || b == NULL) 881s # goto out; 881s # ret = g_variant_equal (a, b); 881s # out: 881s # return ret; 881s # } 881s # 881s # G_GNUC_UNUSED static gboolean 881s # _g_value_equal (const GValue *a, const GValue *b) 881s # { 881s # gboolean ret = FALSE; 881s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 881s # switch (G_VALUE_TYPE (a)) 881s # { 881s # case G_TYPE_BOOLEAN: 881s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 881s # break; 881s # case G_TYPE_UCHAR: 881s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 881s # break; 881s # case G_TYPE_INT: 881s # ret = (g_value_get_int (a) == g_value_get_int (b)); 881s # break; 881s # case G_TYPE_UINT: 881s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 881s # break; 881s # case G_TYPE_INT64: 881s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 881s # break; 881s # case G_TYPE_UINT64: 881s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 881s # break; 881s # case G_TYPE_DOUBLE: 881s # { 881s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 881s # gdouble da = g_value_get_double (a); 881s # gdouble db = g_value_get_double (b); 881s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 881s # } 881s # break; 881s # case G_TYPE_STRING: 881s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 881s # break; 881s # case G_TYPE_VARIANT: 881s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 881s # break; 881s # default: 881s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 881s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 881s # else 881s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 881s # break; 881s # } 881s # return ret; 881s # } 881s # 881s # static void 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint G_GNUC_UNUSED, 881s # void *marshal_data) 881s # { 881s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 881s # (void *data1, 881s # GDBusMethodInvocation *arg_method_invocation, 881s # GVariant *arg_arg_asv, 881s # void *data2); 881s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 881s # GCClosure *cc = (GCClosure*) closure; 881s # void *data1, *data2; 881s # gboolean v_return; 881s # 881s # g_return_if_fail (return_value != NULL); 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # 881s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 881s # (marshal_data ? marshal_data : cc->callback); 881s # 881s # v_return = 881s # callback (data1, 881s # g_marshal_value_peek_object (param_values + 1), 881s # g_marshal_value_peek_variant (param_values + 2), 881s # data2); 881s # 881s # g_value_set_boolean (return_value, v_return); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ 881s # * Code for interface org.project.UsefulInterface 881s # * ------------------------------------------------------------------------ 881s # */ 881s # 881s # /** 881s # * SECTION:OrgProjectUsefulInterface 881s # * @title: OrgProjectUsefulInterface 881s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 881s # * 881s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 881s # */ 881s # 881s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 881s # 881s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 881s # { 881s # { 881s # -1, 881s # (gchar *) "arg_asv", 881s # (gchar *) "a{sv}", 881s # NULL 881s # }, 881s # FALSE 881s # }; 881s # 881s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 881s # { 881s # { 881s # -1, 881s # (gchar *) "SingleArgMethodAsv", 881s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 881s # NULL, 881s # NULL 881s # }, 881s # "handle-single-arg-method-asv", 881s # FALSE 881s # }; 881s # 881s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 881s # { 881s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 881s # NULL 881s # }; 881s # 881s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 881s # { 881s # { 881s # -1, 881s # (gchar *) "org.project.UsefulInterface", 881s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 881s # NULL, 881s # NULL, 881s # NULL 881s # }, 881s # "org-project-useful-interface", 881s # }; 881s # 881s # 881s # /** 881s # * org_project_useful_interface_interface_info: 881s # * 881s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 881s # * 881s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 881s # */ 881s # GDBusInterfaceInfo * 881s # org_project_useful_interface_interface_info (void) 881s # { 881s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_override_properties: 881s # * @klass: The class structure for a #GObject derived class. 881s # * @property_id_begin: The property id to assign to the first overridden property. 881s # * 881s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 881s # * The properties are overridden in the order they are defined. 881s # * 881s # * Returns: The last property id. 881s # */ 881s # guint 881s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 881s # { 881s # return property_id_begin - 1; 881s # } 881s # 881s # 881s # inline static void 881s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 881s # GClosure *closure, 881s # GValue *return_value, 881s # unsigned int n_param_values, 881s # const GValue *param_values, 881s # void *invocation_hint, 881s # void *marshal_data) 881s # { 881s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 881s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 881s # } 881s # 881s # 881s # /** 881s # * OrgProjectUsefulInterface: 881s # * 881s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceIface: 881s # * @parent_iface: The parent interface. 881s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 881s # * 881s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 881s # */ 881s # 881s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 881s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 881s # 881s # static void 881s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 881s # { 881s # /* GObject signals for incoming D-Bus method calls: */ 881s # /** 881s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: A #GDBusMethodInvocation. 881s # * @arg_arg_asv: Argument passed by remote caller. 881s # * 881s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 881s # * 881s # * 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. 881s # * 881s # * 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. 881s # */ 881s # g_signal_new ("handle-single-arg-method-asv", 881s # G_TYPE_FROM_INTERFACE (iface), 881s # G_SIGNAL_RUN_LAST, 881s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 881s # g_signal_accumulator_true_handled, 881s # NULL, 881s # org_project_useful_interface_method_marshal_single_arg_method_asv, 881s # G_TYPE_BOOLEAN, 881s # 2, 881s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 881s # 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_asv: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_asv: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 881s # */ 881s # void 881s # org_project_useful_interface_call_single_arg_method_asv ( 881s # OrgProjectUsefulInterface *proxy, 881s # GVariant *arg_arg_asv, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodAsv", 881s # g_variant_new ("(@a{sv})", 881s # arg_arg_asv), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # callback, 881s # user_data); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_asv_finish: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_asv_finish ( 881s # OrgProjectUsefulInterface *proxy, 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_call_single_arg_method_asv_sync: 881s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 881s # * @arg_arg_asv: Argument to pass with the method invocation. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL. 881s # * 881s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 881s # * 881s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 881s # */ 881s # gboolean 881s # org_project_useful_interface_call_single_arg_method_asv_sync ( 881s # OrgProjectUsefulInterface *proxy, 881s # GVariant *arg_arg_asv, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GVariant *_ret; 881s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 881s # "SingleArgMethodAsv", 881s # g_variant_new ("(@a{sv})", 881s # arg_arg_asv), 881s # G_DBUS_CALL_FLAGS_NONE, 881s # -1, 881s # cancellable, 881s # error); 881s # if (_ret == NULL) 881s # goto _out; 881s # g_variant_get (_ret, 881s # "()"); 881s # g_variant_unref (_ret); 881s # _out: 881s # return _ret != NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_complete_single_arg_method_asv: 881s # * @object: A #OrgProjectUsefulInterface. 881s # * @invocation: (transfer full): A #GDBusMethodInvocation. 881s # * 881s # * 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. 881s # * 881s # * This method will free @invocation, you cannot use it afterwards. 881s # */ 881s # void 881s # org_project_useful_interface_complete_single_arg_method_asv ( 881s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 881s # GDBusMethodInvocation *invocation) 881s # { 881s # g_dbus_method_invocation_return_value (invocation, 881s # g_variant_new ("()")); 881s # } 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxy: 881s # * 881s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceProxyClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceProxy. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceProxyPrivate 881s # { 881s # GData *qdata; 881s # }; 881s # 881s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_proxy_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 881s # g_datalist_clear (&proxy->priv->qdata); 881s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 881s # guint prop_id G_GNUC_UNUSED, 881s # const GValue *value G_GNUC_UNUSED, 881s # GParamSpec *pspec G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 881s # const gchar *sender_name G_GNUC_UNUSED, 881s # const gchar *signal_name, 881s # GVariant *parameters) 881s # { 881s # _ExtendedGDBusSignalInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # gsize n; 881s # guint signal_id; 881s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 881s # if (info == NULL) 881s # return; 881s # num_params = g_variant_n_children (parameters); 881s # paramv = g_new0 (GValue, num_params + 1); 881s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[0], proxy); 881s # g_variant_iter_init (&iter, parameters); 881s # n = 1; 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_signal_emitv (paramv, signal_id, 0, NULL); 881s # for (n = 0; n < num_params + 1; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 881s # GVariant *changed_properties, 881s # const gchar *const *invalidated_properties) 881s # { 881s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 881s # guint n; 881s # const gchar *key; 881s # GVariantIter *iter; 881s # _ExtendedGDBusPropertyInfo *info; 881s # g_variant_get (changed_properties, "a{sv}", &iter); 881s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 881s # g_datalist_remove_data (&proxy->priv->qdata, key); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # g_variant_iter_free (iter); 881s # for (n = 0; invalidated_properties[n] != NULL; n++) 881s # { 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 881s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 881s # if (info != NULL) 881s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 881s # } 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 881s # #else 881s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 881s # #endif 881s # 881s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusProxyClass *proxy_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 881s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 881s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 881s # 881s # proxy_class = G_DBUS_PROXY_CLASS (klass); 881s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 881s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_sync: 881s # * @connection: A #GDBusConnection. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_sync ( 881s # GDBusConnection *connection, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 881s # * @user_data: User data to pass to @callback. 881s # * 881s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 881s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 881s # */ 881s # void 881s # org_project_useful_interface_proxy_new_for_bus ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GAsyncReadyCallback callback, 881s # gpointer user_data) 881s # { 881s # 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); 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_finish: 881s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 881s # * @error: Return location for error or %NULL 881s # * 881s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_finish ( 881s # GAsyncResult *res, 881s # GError **error) 881s # { 881s # GObject *ret; 881s # GObject *source_object; 881s # source_object = g_async_result_get_source_object (res); 881s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 881s # g_object_unref (source_object); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_proxy_new_for_bus_sync: 881s # * @bus_type: A #GBusType. 881s # * @flags: Flags from the #GDBusProxyFlags enumeration. 881s # * @name: A bus name (well-known or unique). 881s # * @object_path: An object path. 881s # * @cancellable: (nullable): A #GCancellable or %NULL. 881s # * @error: Return location for error or %NULL 881s # * 881s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 881s # * 881s # * The calling thread is blocked until a reply is received. 881s # * 881s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_proxy_new_for_bus_sync ( 881s # GBusType bus_type, 881s # GDBusProxyFlags flags, 881s # const gchar *name, 881s # const gchar *object_path, 881s # GCancellable *cancellable, 881s # GError **error) 881s # { 881s # GInitable *ret; 881s # 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); 881s # if (ret != NULL) 881s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 881s # else 881s # return NULL; 881s # } 881s # 881s # 881s # /* ------------------------------------------------------------------------ */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeleton: 881s # * 881s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 881s # */ 881s # 881s # /** 881s # * OrgProjectUsefulInterfaceSkeletonClass: 881s # * @parent_class: The parent class. 881s # * 881s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 881s # */ 881s # 881s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 881s # { 881s # GValue *properties; 881s # GList *changed_properties; 881s # GSource *changed_properties_idle_source; 881s # GMainContext *context; 881s # GMutex lock; 881s # }; 881s # 881s # static void 881s # _org_project_useful_interface_skeleton_handle_method_call ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name, 881s # const gchar *method_name, 881s # GVariant *parameters, 881s # GDBusMethodInvocation *invocation, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # _ExtendedGDBusMethodInfo *info; 881s # GVariantIter iter; 881s # GVariant *child; 881s # GValue *paramv; 881s # gsize num_params; 881s # guint num_extra; 881s # gsize n; 881s # guint signal_id; 881s # GValue return_value = G_VALUE_INIT; 881s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 881s # g_assert (info != NULL); 881s # num_params = g_variant_n_children (parameters); 881s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 881s # n = 0; 881s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_set_object (¶mv[n++], skeleton); 881s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 881s # g_value_set_object (¶mv[n++], invocation); 881s # if (info->pass_fdlist) 881s # { 881s # #ifdef G_OS_UNIX 881s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 881s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 881s # #else 881s # g_assert_not_reached (); 881s # #endif 881s # } 881s # g_variant_iter_init (&iter, parameters); 881s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 881s # { 881s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 881s # if (arg_info->use_gvariant) 881s # { 881s # g_value_init (¶mv[n], G_TYPE_VARIANT); 881s # g_value_set_variant (¶mv[n], child); 881s # n++; 881s # } 881s # else 881s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 881s # g_variant_unref (child); 881s # } 881s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 881s # g_value_init (&return_value, G_TYPE_BOOLEAN); 881s # g_signal_emitv (paramv, signal_id, 0, &return_value); 881s # if (!g_value_get_boolean (&return_value)) 881s # 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); 881s # g_value_unset (&return_value); 881s # for (n = 0; n < num_params + num_extra; n++) 881s # g_value_unset (¶mv[n]); 881s # g_free (paramv); 881s # } 881s # 881s # static GVariant * 881s # _org_project_useful_interface_skeleton_handle_get_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # GVariant *ret; 881s # ret = NULL; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # g_value_init (&value, pspec->value_type); 881s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 881s # g_value_unset (&value); 881s # } 881s # return ret; 881s # } 881s # 881s # static gboolean 881s # _org_project_useful_interface_skeleton_handle_set_property ( 881s # GDBusConnection *connection G_GNUC_UNUSED, 881s # const gchar *sender G_GNUC_UNUSED, 881s # const gchar *object_path G_GNUC_UNUSED, 881s # const gchar *interface_name G_GNUC_UNUSED, 881s # const gchar *property_name, 881s # GVariant *variant, 881s # GError **error, 881s # gpointer user_data) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 881s # GValue value = G_VALUE_INIT; 881s # GParamSpec *pspec; 881s # _ExtendedGDBusPropertyInfo *info; 881s # gboolean ret; 881s # ret = FALSE; 881s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 881s # g_assert (info != NULL); 881s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 881s # if (pspec == NULL) 881s # { 881s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 881s # } 881s # else 881s # { 881s # if (info->use_gvariant) 881s # g_value_set_variant (&value, variant); 881s # else 881s # g_dbus_gvariant_to_gvalue (variant, &value); 881s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 881s # g_value_unset (&value); 881s # ret = TRUE; 881s # } 881s # return ret; 881s # } 881s # 881s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 881s # { 881s # _org_project_useful_interface_skeleton_handle_method_call, 881s # _org_project_useful_interface_skeleton_handle_get_property, 881s # _org_project_useful_interface_skeleton_handle_set_property, 881s # {NULL} 881s # }; 881s # 881s # static GDBusInterfaceInfo * 881s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return org_project_useful_interface_interface_info (); 881s # } 881s # 881s # static GDBusInterfaceVTable * 881s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 881s # { 881s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 881s # } 881s # 881s # static GVariant * 881s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 881s # 881s # GVariantBuilder builder; 881s # guint n; 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 881s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #else 881s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 881s # #endif 881s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 881s # goto out; 881s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 881s # { 881s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 881s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 881s # { 881s # GVariant *value; 881s # 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); 881s # if (value != NULL) 881s # { 881s # g_variant_take_ref (value); 881s # g_variant_builder_add (&builder, "{sv}", info->name, value); 881s # g_variant_unref (value); 881s # } 881s # } 881s # } 881s # out: 881s # return g_variant_builder_end (&builder); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #else 881s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 881s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 881s # 881s # #endif 881s # static void 881s # org_project_useful_interface_skeleton_finalize (GObject *object) 881s # { 881s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 881s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 881s # if (skeleton->priv->changed_properties_idle_source != NULL) 881s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 881s # g_main_context_unref (skeleton->priv->context); 881s # g_mutex_clear (&skeleton->priv->lock); 881s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 881s # { 881s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 881s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 881s # #else 881s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 881s # #endif 881s # 881s # g_mutex_init (&skeleton->priv->lock); 881s # skeleton->priv->context = g_main_context_ref_thread_default (); 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 881s # { 881s # GObjectClass *gobject_class; 881s # GDBusInterfaceSkeletonClass *skeleton_class; 881s # 881s # gobject_class = G_OBJECT_CLASS (klass); 881s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 881s # 881s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 881s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 881s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 881s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 881s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 881s # 881s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 881s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 881s # #endif 881s # } 881s # 881s # static void 881s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 881s # { 881s # } 881s # 881s # /** 881s # * org_project_useful_interface_skeleton_new: 881s # * 881s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 881s # * 881s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 881s # */ 881s # OrgProjectUsefulInterface * 881s # org_project_useful_interface_skeleton_new (void) 881s # { 881s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 881s # } 881s # Error: 882s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmpkt8tu2hi 882s # /tmp/tmpkt8tu2hi/tmpdjsdhjsb.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpdjsdhjsb.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_b", 882s # (gchar *) "b", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodB", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-b", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_b ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-b", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_b, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_b: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_b ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodB", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_b_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_b_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gboolean *out_arg_b, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(b)", 882s # out_arg_b); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_b_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_b_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gboolean *out_arg_b, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodB", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(b)", 882s # out_arg_b); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_b: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_b: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_b ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # gboolean arg_b) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(b)", 882s # arg_b)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmp10jlanto.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmp10jlanto.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_y", 882s # (gchar *) "y", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodY", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-y", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_y ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-y", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_y, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_y: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_y ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodY", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_y_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_y_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # guchar *out_arg_y, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(y)", 882s # out_arg_y); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_y_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_y_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # guchar *out_arg_y, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodY", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(y)", 882s # out_arg_y); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_y: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_y: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_y ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # guchar arg_y) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(y)", 882s # arg_y)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmpakwviwzr.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpakwviwzr.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_n", 882s # (gchar *) "n", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodN", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-n", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_n ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-n", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_n, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_n: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_n ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodN", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_n_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_n_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gint16 *out_arg_n, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(n)", 882s # out_arg_n); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_n_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_n_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gint16 *out_arg_n, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodN", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(n)", 882s # out_arg_n); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_n: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_n: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_n ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # gint16 arg_n) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(n)", 882s # arg_n)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmpgi0b488a.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpgi0b488a.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_q", 882s # (gchar *) "q", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodQ", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-q", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_q ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-q", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_q, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_q: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_q ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodQ", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_q_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_q_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # guint16 *out_arg_q, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(q)", 882s # out_arg_q); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_q_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_q_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # guint16 *out_arg_q, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodQ", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(q)", 882s # out_arg_q); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_q: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_q: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_q ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # guint16 arg_q) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(q)", 882s # arg_q)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmpt_2630ev.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpt_2630ev.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_i", 882s # (gchar *) "i", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodI", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-i", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_i ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-i", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_i, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_i: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_i ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodI", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_i_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_i_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gint *out_arg_i, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(i)", 882s # out_arg_i); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_i_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_i_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gint *out_arg_i, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodI", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(i)", 882s # out_arg_i); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_i: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_i: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_i ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # gint arg_i) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(i)", 882s # arg_i)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmpfw9hgmew.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpfw9hgmew.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_u", 882s # (gchar *) "u", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodU", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-u", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_u ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-u", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_u, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_u: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_u ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodU", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_u_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_u_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # guint *out_arg_u, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(u)", 882s # out_arg_u); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_u_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_u_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # guint *out_arg_u, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodU", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(u)", 882s # out_arg_u); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_u: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_u: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_u ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # guint arg_u) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(u)", 882s # arg_u)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmpeuf6r0pe.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpeuf6r0pe.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_x", 882s # (gchar *) "x", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodX", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-x", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_x ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-x", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_x, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_x: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_x ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodX", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_x_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_x_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gint64 *out_arg_x, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(x)", 882s # out_arg_x); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_x_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_x_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gint64 *out_arg_x, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodX", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(x)", 882s # out_arg_x); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_x: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_x: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_x ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # gint64 arg_x) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(x)", 882s # arg_x)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmp_5z3rlzi.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmp_5z3rlzi.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_t", 882s # (gchar *) "t", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodT", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-t", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_t ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-t", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_t, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_t: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_t ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodT", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_t_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_t_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # guint64 *out_arg_t, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(t)", 882s # out_arg_t); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_t_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_t_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # guint64 *out_arg_t, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodT", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(t)", 882s # out_arg_t); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_t: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_t: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_t ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # guint64 arg_t) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(t)", 882s # arg_t)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmpy8bn_bzx.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpy8bn_bzx.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_d", 882s # (gchar *) "d", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodD", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-d", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_d ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-d", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_d, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_d: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_d ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodD", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_d_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_d_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gdouble *out_arg_d, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(d)", 882s # out_arg_d); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_d_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_d_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gdouble *out_arg_d, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodD", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(d)", 882s # out_arg_d); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_d: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_d: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_d ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # gdouble arg_d) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(d)", 882s # arg_d)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmpix6sw5sb.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpix6sw5sb.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_s", 882s # (gchar *) "s", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodS", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-s", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_s ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-s", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_s, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_s: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_s ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodS", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_s_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_s_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar **out_arg_s, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(s)", 882s # out_arg_s); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_s_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_s_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar **out_arg_s, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodS", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(s)", 882s # out_arg_s); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_s: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_s: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_s ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # const gchar *arg_s) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(s)", 882s # arg_s)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmp1xa1yru1.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmp1xa1yru1.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_o", 882s # (gchar *) "o", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodO", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-o", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_o ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-o", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_o, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_o: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_o ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodO", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_o_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_o_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar **out_arg_o, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(o)", 882s # out_arg_o); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_o_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_o_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar **out_arg_o, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodO", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(o)", 882s # out_arg_o); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_o: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_o: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_o ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # const gchar *arg_o) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(o)", 882s # arg_o)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmppuhet3fl.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmppuhet3fl.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_g", 882s # (gchar *) "g", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodG", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-g", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_g ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-g", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_g, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_g: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_g ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodG", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_g_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_g_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar **out_arg_g, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(g)", 882s # out_arg_g); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_g_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_g_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar **out_arg_g, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodG", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(g)", 882s # out_arg_g); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_g: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_g: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_g ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # const gchar *arg_g) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(g)", 882s # arg_g)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmpz2__xkn3.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpz2__xkn3.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_h", 882s # (gchar *) "h", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodH", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-h", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_h ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-h", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_h, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_h: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_h ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodH", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_h_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_h_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # GVariant **out_arg_h, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(@h)", 882s # out_arg_h); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_h_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_h_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # GVariant **out_arg_h, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodH", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(@h)", 882s # out_arg_h); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_h: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_h: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_h ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # GVariant *arg_h) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(@h)", 882s # arg_h)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmp4s6a0z8u.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmp4s6a0z8u.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_ay", 882s # (gchar *) "ay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodAy", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-ay", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-ay", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_ay, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_ay: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_ay ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodAy", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_ay_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_ay_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar **out_arg_ay, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(^ay)", 882s # out_arg_ay); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_ay_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_ay_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar **out_arg_ay, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodAy", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(^ay)", 882s # out_arg_ay); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_ay: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_ay: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_ay ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # const gchar *arg_ay) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(^ay)", 882s # arg_ay)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmpy7tocg6b.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpy7tocg6b.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_as", 882s # (gchar *) "as", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodAs", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-as", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_as ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-as", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_as, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_as: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_as ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodAs", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_as_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_as_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar ***out_arg_as, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(^as)", 882s # out_arg_as); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_as_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_as_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar ***out_arg_as, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodAs", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(^as)", 882s # out_arg_as); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_as: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_as: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_as ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # const gchar *const *arg_as) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(^as)", 882s # arg_as)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmprl0zb48o.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmprl0zb48o.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_ao", 882s # (gchar *) "ao", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodAo", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-ao", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-ao", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_ao, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_ao: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_ao ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodAo", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_ao_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_ao_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar ***out_arg_ao, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(^ao)", 882s # out_arg_ao); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_ao_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_ao_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar ***out_arg_ao, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodAo", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(^ao)", 882s # out_arg_ao); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_ao: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_ao: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_ao ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # const gchar *const *arg_ao) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(^ao)", 882s # arg_ao)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmpae4v3_xd.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmpae4v3_xd.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_aay", 882s # (gchar *) "aay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodAay", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-aay", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-aay", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_aay, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_aay: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_aay ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodAay", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_aay_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_aay_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar ***out_arg_aay, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(^aay)", 882s # out_arg_aay); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_aay_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_aay_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # gchar ***out_arg_aay, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodAay", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(^aay)", 882s # out_arg_aay); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_aay: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_aay: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_aay ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # const gchar *const *arg_aay) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(^aay)", 882s # arg_aay)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s # 882s # /tmp/tmpkt8tu2hi/tmp1w5wnz80.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8tu2hi/tmp1w5wnz80.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 882s # { 882s # { 882s # -1, 882s # (gchar *) "arg_asv", 882s # (gchar *) "a{sv}", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgMethodAsv", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-single-arg-method-asv", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-single-arg-method-asv", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_useful_interface_method_marshal_single_arg_method_asv, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_asv: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_useful_interface_call_single_arg_method_asv ( 882s # OrgProjectUsefulInterface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodAsv", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_asv_finish: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_asv_finish ( 882s # OrgProjectUsefulInterface *proxy, 882s # GVariant **out_arg_asv, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(@a{sv})", 882s # out_arg_asv); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_call_single_arg_method_asv_sync: 882s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 882s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_useful_interface_call_single_arg_method_asv_sync ( 882s # OrgProjectUsefulInterface *proxy, 882s # GVariant **out_arg_asv, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SingleArgMethodAsv", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(@a{sv})", 882s # out_arg_asv); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_complete_single_arg_method_asv: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @arg_asv: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_useful_interface_complete_single_arg_method_asv ( 882s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # GVariant *arg_asv) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(@a{sv})", 882s # arg_asv)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmpet9wnvtm 882s # /tmp/tmpet9wnvtm/tmplqm1kkj9.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpet9wnvtm/tmplqm1kkj9.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # gboolean arg_an_b, 882s # guchar arg_an_y, 882s # gint16 arg_an_n, 882s # guint16 arg_an_q, 882s # gint arg_an_i, 882s # guint arg_an_u, 882s # gint64 arg_an_x, 882s # guint64 arg_an_t, 882s # gdouble arg_an_d, 882s # const gchar *arg_an_s, 882s # const gchar *arg_an_o, 882s # const gchar *arg_an_g, 882s # GVariant *arg_an_h, 882s # const gchar *arg_an_ay, 882s # const gchar *const *arg_an_as, 882s # const gchar *const *arg_an_ao, 882s # const gchar *const *arg_an_aay, 882s # GVariant *arg_an_asv, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 20); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # g_marshal_value_peek_boolean (param_values + 2), 882s # g_marshal_value_peek_uchar (param_values + 3), 882s # g_marshal_value_peek_int (param_values + 4), 882s # g_marshal_value_peek_uint (param_values + 5), 882s # g_marshal_value_peek_int (param_values + 6), 882s # g_marshal_value_peek_uint (param_values + 7), 882s # g_marshal_value_peek_int64 (param_values + 8), 882s # g_marshal_value_peek_uint64 (param_values + 9), 882s # g_marshal_value_peek_double (param_values + 10), 882s # g_marshal_value_peek_string (param_values + 11), 882s # g_marshal_value_peek_string (param_values + 12), 882s # g_marshal_value_peek_string (param_values + 13), 882s # g_marshal_value_peek_variant (param_values + 14), 882s # g_marshal_value_peek_string (param_values + 15), 882s # g_marshal_value_peek_boxed (param_values + 16), 882s # g_marshal_value_peek_boxed (param_values + 17), 882s # g_marshal_value_peek_boxed (param_values + 18), 882s # g_marshal_value_peek_variant (param_values + 19), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.CallableIface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectCallableIface 882s # * @title: OrgProjectCallableIface 882s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.CallableIface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_b", 882s # (gchar *) "b", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_y", 882s # (gchar *) "y", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_n", 882s # (gchar *) "n", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_q", 882s # (gchar *) "q", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_i", 882s # (gchar *) "i", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_u", 882s # (gchar *) "u", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_x", 882s # (gchar *) "x", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_t", 882s # (gchar *) "t", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_d", 882s # (gchar *) "d", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_s", 882s # (gchar *) "s", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_o", 882s # (gchar *) "o", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_g", 882s # (gchar *) "g", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_h", 882s # (gchar *) "h", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ay", 882s # (gchar *) "ay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_as", 882s # (gchar *) "as", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ao", 882s # (gchar *) "ao", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_aay", 882s # (gchar *) "aay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_asv", 882s # (gchar *) "a{sv}", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 882s # { 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 882s # { 882s # { 882s # -1, 882s # (gchar *) "MethodWithManyArgs", 882s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 882s # NULL, 882s # NULL 882s # }, 882s # "handle-method-with-many-args", 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_b", 882s # (gchar *) "b", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_y", 882s # (gchar *) "y", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_n", 882s # (gchar *) "n", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_q", 882s # (gchar *) "q", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_i", 882s # (gchar *) "i", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_u", 882s # (gchar *) "u", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_x", 882s # (gchar *) "x", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_t", 882s # (gchar *) "t", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_d", 882s # (gchar *) "d", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_s", 882s # (gchar *) "s", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_o", 882s # (gchar *) "o", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_g", 882s # (gchar *) "g", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_h", 882s # (gchar *) "h", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ay", 882s # (gchar *) "ay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_as", 882s # (gchar *) "as", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ao", 882s # (gchar *) "ao", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_aay", 882s # (gchar *) "aay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_asv", 882s # (gchar *) "a{sv}", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 882s # { 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SameMethodWithManyArgs", 882s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 882s # NULL, 882s # NULL 882s # }, 882s # "handle-same-method-with-many-args", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 882s # { 882s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 882s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.CallableIface", 882s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-callable-iface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_callable_iface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_callable_iface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_callable_iface_method_marshal_method_with_many_args ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _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, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _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, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectCallableIface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 882s # */ 882s # 882s # /** 882s # * OrgProjectCallableIfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 882s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.CallableIface. 882s # */ 882s # 882s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectCallableIface::handle-method-with-many-args: 882s # * @object: A #OrgProjectCallableIface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * @arg_an_b: Argument passed by remote caller. 882s # * @arg_an_y: Argument passed by remote caller. 882s # * @arg_an_n: Argument passed by remote caller. 882s # * @arg_an_q: Argument passed by remote caller. 882s # * @arg_an_i: Argument passed by remote caller. 882s # * @arg_an_u: Argument passed by remote caller. 882s # * @arg_an_x: Argument passed by remote caller. 882s # * @arg_an_t: Argument passed by remote caller. 882s # * @arg_an_d: Argument passed by remote caller. 882s # * @arg_an_s: Argument passed by remote caller. 882s # * @arg_an_o: Argument passed by remote caller. 882s # * @arg_an_g: Argument passed by remote caller. 882s # * @arg_an_h: Argument passed by remote caller. 882s # * @arg_an_ay: Argument passed by remote caller. 882s # * @arg_an_as: Argument passed by remote caller. 882s # * @arg_an_ao: Argument passed by remote caller. 882s # * @arg_an_aay: Argument passed by remote caller. 882s # * @arg_an_asv: Argument passed by remote caller. 882s # * 882s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-method-with-many-args", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_callable_iface_method_marshal_method_with_many_args, 882s # G_TYPE_BOOLEAN, 882s # 19, 882s # 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); 882s # 882s # /** 882s # * OrgProjectCallableIface::handle-same-method-with-many-args: 882s # * @object: A #OrgProjectCallableIface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * @arg_an_b: Argument passed by remote caller. 882s # * @arg_an_y: Argument passed by remote caller. 882s # * @arg_an_n: Argument passed by remote caller. 882s # * @arg_an_q: Argument passed by remote caller. 882s # * @arg_an_i: Argument passed by remote caller. 882s # * @arg_an_u: Argument passed by remote caller. 882s # * @arg_an_x: Argument passed by remote caller. 882s # * @arg_an_t: Argument passed by remote caller. 882s # * @arg_an_d: Argument passed by remote caller. 882s # * @arg_an_s: Argument passed by remote caller. 882s # * @arg_an_o: Argument passed by remote caller. 882s # * @arg_an_g: Argument passed by remote caller. 882s # * @arg_an_h: Argument passed by remote caller. 882s # * @arg_an_ay: Argument passed by remote caller. 882s # * @arg_an_as: Argument passed by remote caller. 882s # * @arg_an_ao: Argument passed by remote caller. 882s # * @arg_an_aay: Argument passed by remote caller. 882s # * @arg_an_asv: Argument passed by remote caller. 882s # * 882s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-same-method-with-many-args", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_callable_iface_method_marshal_same_method_with_many_args, 882s # G_TYPE_BOOLEAN, 882s # 19, 882s # 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); 882s # 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_call_method_with_many_args: 882s # * @proxy: A #OrgProjectCallableIfaceProxy. 882s # * @arg_an_b: Argument to pass with the method invocation. 882s # * @arg_an_y: Argument to pass with the method invocation. 882s # * @arg_an_n: Argument to pass with the method invocation. 882s # * @arg_an_q: Argument to pass with the method invocation. 882s # * @arg_an_i: Argument to pass with the method invocation. 882s # * @arg_an_u: Argument to pass with the method invocation. 882s # * @arg_an_x: Argument to pass with the method invocation. 882s # * @arg_an_t: Argument to pass with the method invocation. 882s # * @arg_an_d: Argument to pass with the method invocation. 882s # * @arg_an_s: Argument to pass with the method invocation. 882s # * @arg_an_o: Argument to pass with the method invocation. 882s # * @arg_an_g: Argument to pass with the method invocation. 882s # * @arg_an_h: Argument to pass with the method invocation. 882s # * @arg_an_ay: Argument to pass with the method invocation. 882s # * @arg_an_as: Argument to pass with the method invocation. 882s # * @arg_an_ao: Argument to pass with the method invocation. 882s # * @arg_an_aay: Argument to pass with the method invocation. 882s # * @arg_an_asv: Argument to pass with the method invocation. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 882s # * 882s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_callable_iface_call_method_with_many_args ( 882s # OrgProjectCallableIface *proxy, 882s # gboolean arg_an_b, 882s # guchar arg_an_y, 882s # gint16 arg_an_n, 882s # guint16 arg_an_q, 882s # gint arg_an_i, 882s # guint arg_an_u, 882s # gint64 arg_an_x, 882s # guint64 arg_an_t, 882s # gdouble arg_an_d, 882s # const gchar *arg_an_s, 882s # const gchar *arg_an_o, 882s # const gchar *arg_an_g, 882s # GVariant *arg_an_h, 882s # const gchar *arg_an_ay, 882s # const gchar *const *arg_an_as, 882s # const gchar *const *arg_an_ao, 882s # const gchar *const *arg_an_aay, 882s # GVariant *arg_an_asv, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "MethodWithManyArgs", 882s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 882s # arg_an_b, 882s # arg_an_y, 882s # arg_an_n, 882s # arg_an_q, 882s # arg_an_i, 882s # arg_an_u, 882s # arg_an_x, 882s # arg_an_t, 882s # arg_an_d, 882s # arg_an_s, 882s # arg_an_o, 882s # arg_an_g, 882s # arg_an_h, 882s # arg_an_ay, 882s # arg_an_as, 882s # arg_an_ao, 882s # arg_an_aay, 882s # arg_an_asv), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_call_method_with_many_args_finish: 882s # * @proxy: A #OrgProjectCallableIfaceProxy. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_callable_iface_call_method_with_many_args_finish ( 882s # OrgProjectCallableIface *proxy, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "()"); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_call_method_with_many_args_sync: 882s # * @proxy: A #OrgProjectCallableIfaceProxy. 882s # * @arg_an_b: Argument to pass with the method invocation. 882s # * @arg_an_y: Argument to pass with the method invocation. 882s # * @arg_an_n: Argument to pass with the method invocation. 882s # * @arg_an_q: Argument to pass with the method invocation. 882s # * @arg_an_i: Argument to pass with the method invocation. 882s # * @arg_an_u: Argument to pass with the method invocation. 882s # * @arg_an_x: Argument to pass with the method invocation. 882s # * @arg_an_t: Argument to pass with the method invocation. 882s # * @arg_an_d: Argument to pass with the method invocation. 882s # * @arg_an_s: Argument to pass with the method invocation. 882s # * @arg_an_o: Argument to pass with the method invocation. 882s # * @arg_an_g: Argument to pass with the method invocation. 882s # * @arg_an_h: Argument to pass with the method invocation. 882s # * @arg_an_ay: Argument to pass with the method invocation. 882s # * @arg_an_as: Argument to pass with the method invocation. 882s # * @arg_an_ao: Argument to pass with the method invocation. 882s # * @arg_an_aay: Argument to pass with the method invocation. 882s # * @arg_an_asv: Argument to pass with the method invocation. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_callable_iface_call_method_with_many_args_sync ( 882s # OrgProjectCallableIface *proxy, 882s # gboolean arg_an_b, 882s # guchar arg_an_y, 882s # gint16 arg_an_n, 882s # guint16 arg_an_q, 882s # gint arg_an_i, 882s # guint arg_an_u, 882s # gint64 arg_an_x, 882s # guint64 arg_an_t, 882s # gdouble arg_an_d, 882s # const gchar *arg_an_s, 882s # const gchar *arg_an_o, 882s # const gchar *arg_an_g, 882s # GVariant *arg_an_h, 882s # const gchar *arg_an_ay, 882s # const gchar *const *arg_an_as, 882s # const gchar *const *arg_an_ao, 882s # const gchar *const *arg_an_aay, 882s # GVariant *arg_an_asv, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "MethodWithManyArgs", 882s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 882s # arg_an_b, 882s # arg_an_y, 882s # arg_an_n, 882s # arg_an_q, 882s # arg_an_i, 882s # arg_an_u, 882s # arg_an_x, 882s # arg_an_t, 882s # arg_an_d, 882s # arg_an_s, 882s # arg_an_o, 882s # arg_an_g, 882s # arg_an_h, 882s # arg_an_ay, 882s # arg_an_as, 882s # arg_an_ao, 882s # arg_an_aay, 882s # arg_an_asv), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "()"); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_call_same_method_with_many_args: 882s # * @proxy: A #OrgProjectCallableIfaceProxy. 882s # * @arg_an_b: Argument to pass with the method invocation. 882s # * @arg_an_y: Argument to pass with the method invocation. 882s # * @arg_an_n: Argument to pass with the method invocation. 882s # * @arg_an_q: Argument to pass with the method invocation. 882s # * @arg_an_i: Argument to pass with the method invocation. 882s # * @arg_an_u: Argument to pass with the method invocation. 882s # * @arg_an_x: Argument to pass with the method invocation. 882s # * @arg_an_t: Argument to pass with the method invocation. 882s # * @arg_an_d: Argument to pass with the method invocation. 882s # * @arg_an_s: Argument to pass with the method invocation. 882s # * @arg_an_o: Argument to pass with the method invocation. 882s # * @arg_an_g: Argument to pass with the method invocation. 882s # * @arg_an_h: Argument to pass with the method invocation. 882s # * @arg_an_ay: Argument to pass with the method invocation. 882s # * @arg_an_as: Argument to pass with the method invocation. 882s # * @arg_an_ao: Argument to pass with the method invocation. 882s # * @arg_an_aay: Argument to pass with the method invocation. 882s # * @arg_an_asv: Argument to pass with the method invocation. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 882s # * 882s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_callable_iface_call_same_method_with_many_args ( 882s # OrgProjectCallableIface *proxy, 882s # gboolean arg_an_b, 882s # guchar arg_an_y, 882s # gint16 arg_an_n, 882s # guint16 arg_an_q, 882s # gint arg_an_i, 882s # guint arg_an_u, 882s # gint64 arg_an_x, 882s # guint64 arg_an_t, 882s # gdouble arg_an_d, 882s # const gchar *arg_an_s, 882s # const gchar *arg_an_o, 882s # const gchar *arg_an_g, 882s # GVariant *arg_an_h, 882s # const gchar *arg_an_ay, 882s # const gchar *const *arg_an_as, 882s # const gchar *const *arg_an_ao, 882s # const gchar *const *arg_an_aay, 882s # GVariant *arg_an_asv, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "SameMethodWithManyArgs", 882s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 882s # arg_an_b, 882s # arg_an_y, 882s # arg_an_n, 882s # arg_an_q, 882s # arg_an_i, 882s # arg_an_u, 882s # arg_an_x, 882s # arg_an_t, 882s # arg_an_d, 882s # arg_an_s, 882s # arg_an_o, 882s # arg_an_g, 882s # arg_an_h, 882s # arg_an_ay, 882s # arg_an_as, 882s # arg_an_ao, 882s # arg_an_aay, 882s # arg_an_asv), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_call_same_method_with_many_args_finish: 882s # * @proxy: A #OrgProjectCallableIfaceProxy. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_callable_iface_call_same_method_with_many_args_finish ( 882s # OrgProjectCallableIface *proxy, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "()"); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_call_same_method_with_many_args_sync: 882s # * @proxy: A #OrgProjectCallableIfaceProxy. 882s # * @arg_an_b: Argument to pass with the method invocation. 882s # * @arg_an_y: Argument to pass with the method invocation. 882s # * @arg_an_n: Argument to pass with the method invocation. 882s # * @arg_an_q: Argument to pass with the method invocation. 882s # * @arg_an_i: Argument to pass with the method invocation. 882s # * @arg_an_u: Argument to pass with the method invocation. 882s # * @arg_an_x: Argument to pass with the method invocation. 882s # * @arg_an_t: Argument to pass with the method invocation. 882s # * @arg_an_d: Argument to pass with the method invocation. 882s # * @arg_an_s: Argument to pass with the method invocation. 882s # * @arg_an_o: Argument to pass with the method invocation. 882s # * @arg_an_g: Argument to pass with the method invocation. 882s # * @arg_an_h: Argument to pass with the method invocation. 882s # * @arg_an_ay: Argument to pass with the method invocation. 882s # * @arg_an_as: Argument to pass with the method invocation. 882s # * @arg_an_ao: Argument to pass with the method invocation. 882s # * @arg_an_aay: Argument to pass with the method invocation. 882s # * @arg_an_asv: Argument to pass with the method invocation. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_callable_iface_call_same_method_with_many_args_sync ( 882s # OrgProjectCallableIface *proxy, 882s # gboolean arg_an_b, 882s # guchar arg_an_y, 882s # gint16 arg_an_n, 882s # guint16 arg_an_q, 882s # gint arg_an_i, 882s # guint arg_an_u, 882s # gint64 arg_an_x, 882s # guint64 arg_an_t, 882s # gdouble arg_an_d, 882s # const gchar *arg_an_s, 882s # const gchar *arg_an_o, 882s # const gchar *arg_an_g, 882s # GVariant *arg_an_h, 882s # const gchar *arg_an_ay, 882s # const gchar *const *arg_an_as, 882s # const gchar *const *arg_an_ao, 882s # const gchar *const *arg_an_aay, 882s # GVariant *arg_an_asv, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "SameMethodWithManyArgs", 882s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 882s # arg_an_b, 882s # arg_an_y, 882s # arg_an_n, 882s # arg_an_q, 882s # arg_an_i, 882s # arg_an_u, 882s # arg_an_x, 882s # arg_an_t, 882s # arg_an_d, 882s # arg_an_s, 882s # arg_an_o, 882s # arg_an_g, 882s # arg_an_h, 882s # arg_an_ay, 882s # arg_an_as, 882s # arg_an_ao, 882s # arg_an_aay, 882s # arg_an_asv), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "()"); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_complete_method_with_many_args: 882s # * @object: A #OrgProjectCallableIface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_callable_iface_complete_method_with_many_args ( 882s # OrgProjectCallableIface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("()")); 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_complete_same_method_with_many_args: 882s # * @object: A #OrgProjectCallableIface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_callable_iface_complete_same_method_with_many_args ( 882s # OrgProjectCallableIface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("()")); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectCallableIfaceProxy: 882s # * 882s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectCallableIfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectCallableIfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectCallableIfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_callable_iface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 882s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 882s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_callable_iface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectCallableIface * 882s # org_project_callable_iface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectCallableIface * 882s # org_project_callable_iface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_callable_iface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectCallableIface * 882s # org_project_callable_iface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectCallableIface * 882s # org_project_callable_iface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectCallableIfaceSkeleton: 882s # * 882s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectCallableIfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectCallableIfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectCallableIfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_callable_iface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_callable_iface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_callable_iface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 882s # { 882s # _org_project_callable_iface_skeleton_handle_method_call, 882s # _org_project_callable_iface_skeleton_handle_get_property, 882s # _org_project_callable_iface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_callable_iface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_callable_iface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectCallableIface * 882s # org_project_callable_iface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.OtherCallableIface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectOtherCallableIface 882s # * @title: OrgProjectOtherCallableIface 882s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_b", 882s # (gchar *) "b", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_y", 882s # (gchar *) "y", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_n", 882s # (gchar *) "n", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_q", 882s # (gchar *) "q", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_i", 882s # (gchar *) "i", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_u", 882s # (gchar *) "u", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_x", 882s # (gchar *) "x", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_t", 882s # (gchar *) "t", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_d", 882s # (gchar *) "d", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_s", 882s # (gchar *) "s", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_o", 882s # (gchar *) "o", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_g", 882s # (gchar *) "g", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_h", 882s # (gchar *) "h", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ay", 882s # (gchar *) "ay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_as", 882s # (gchar *) "as", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ao", 882s # (gchar *) "ao", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_aay", 882s # (gchar *) "aay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_asv", 882s # (gchar *) "a{sv}", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 882s # { 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 882s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 882s # { 882s # { 882s # -1, 882s # (gchar *) "MethodWithManyArgs", 882s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 882s # NULL, 882s # NULL 882s # }, 882s # "handle-method-with-many-args", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 882s # { 882s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.OtherCallableIface", 882s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-other-callable-iface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_other_callable_iface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_other_callable_iface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _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, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectOtherCallableIface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 882s # */ 882s # 882s # /** 882s # * OrgProjectOtherCallableIfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 882s # */ 882s # 882s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 882s # * @object: A #OrgProjectOtherCallableIface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * @arg_an_b: Argument passed by remote caller. 882s # * @arg_an_y: Argument passed by remote caller. 882s # * @arg_an_n: Argument passed by remote caller. 882s # * @arg_an_q: Argument passed by remote caller. 882s # * @arg_an_i: Argument passed by remote caller. 882s # * @arg_an_u: Argument passed by remote caller. 882s # * @arg_an_x: Argument passed by remote caller. 882s # * @arg_an_t: Argument passed by remote caller. 882s # * @arg_an_d: Argument passed by remote caller. 882s # * @arg_an_s: Argument passed by remote caller. 882s # * @arg_an_o: Argument passed by remote caller. 882s # * @arg_an_g: Argument passed by remote caller. 882s # * @arg_an_h: Argument passed by remote caller. 882s # * @arg_an_ay: Argument passed by remote caller. 882s # * @arg_an_as: Argument passed by remote caller. 882s # * @arg_an_ao: Argument passed by remote caller. 882s # * @arg_an_aay: Argument passed by remote caller. 882s # * @arg_an_asv: Argument passed by remote caller. 882s # * 882s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-method-with-many-args", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_other_callable_iface_method_marshal_method_with_many_args, 882s # G_TYPE_BOOLEAN, 882s # 19, 882s # 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); 882s # 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_call_method_with_many_args: 882s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 882s # * @arg_an_b: Argument to pass with the method invocation. 882s # * @arg_an_y: Argument to pass with the method invocation. 882s # * @arg_an_n: Argument to pass with the method invocation. 882s # * @arg_an_q: Argument to pass with the method invocation. 882s # * @arg_an_i: Argument to pass with the method invocation. 882s # * @arg_an_u: Argument to pass with the method invocation. 882s # * @arg_an_x: Argument to pass with the method invocation. 882s # * @arg_an_t: Argument to pass with the method invocation. 882s # * @arg_an_d: Argument to pass with the method invocation. 882s # * @arg_an_s: Argument to pass with the method invocation. 882s # * @arg_an_o: Argument to pass with the method invocation. 882s # * @arg_an_g: Argument to pass with the method invocation. 882s # * @arg_an_h: Argument to pass with the method invocation. 882s # * @arg_an_ay: Argument to pass with the method invocation. 882s # * @arg_an_as: Argument to pass with the method invocation. 882s # * @arg_an_ao: Argument to pass with the method invocation. 882s # * @arg_an_aay: Argument to pass with the method invocation. 882s # * @arg_an_asv: Argument to pass with the method invocation. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 882s # * 882s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_other_callable_iface_call_method_with_many_args ( 882s # OrgProjectOtherCallableIface *proxy, 882s # gboolean arg_an_b, 882s # guchar arg_an_y, 882s # gint16 arg_an_n, 882s # guint16 arg_an_q, 882s # gint arg_an_i, 882s # guint arg_an_u, 882s # gint64 arg_an_x, 882s # guint64 arg_an_t, 882s # gdouble arg_an_d, 882s # const gchar *arg_an_s, 882s # const gchar *arg_an_o, 882s # const gchar *arg_an_g, 882s # GVariant *arg_an_h, 882s # const gchar *arg_an_ay, 882s # const gchar *const *arg_an_as, 882s # const gchar *const *arg_an_ao, 882s # const gchar *const *arg_an_aay, 882s # GVariant *arg_an_asv, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "MethodWithManyArgs", 882s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 882s # arg_an_b, 882s # arg_an_y, 882s # arg_an_n, 882s # arg_an_q, 882s # arg_an_i, 882s # arg_an_u, 882s # arg_an_x, 882s # arg_an_t, 882s # arg_an_d, 882s # arg_an_s, 882s # arg_an_o, 882s # arg_an_g, 882s # arg_an_h, 882s # arg_an_ay, 882s # arg_an_as, 882s # arg_an_ao, 882s # arg_an_aay, 882s # arg_an_asv), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_call_method_with_many_args_finish: 882s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_other_callable_iface_call_method_with_many_args_finish ( 882s # OrgProjectOtherCallableIface *proxy, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "()"); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_call_method_with_many_args_sync: 882s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 882s # * @arg_an_b: Argument to pass with the method invocation. 882s # * @arg_an_y: Argument to pass with the method invocation. 882s # * @arg_an_n: Argument to pass with the method invocation. 882s # * @arg_an_q: Argument to pass with the method invocation. 882s # * @arg_an_i: Argument to pass with the method invocation. 882s # * @arg_an_u: Argument to pass with the method invocation. 882s # * @arg_an_x: Argument to pass with the method invocation. 882s # * @arg_an_t: Argument to pass with the method invocation. 882s # * @arg_an_d: Argument to pass with the method invocation. 882s # * @arg_an_s: Argument to pass with the method invocation. 882s # * @arg_an_o: Argument to pass with the method invocation. 882s # * @arg_an_g: Argument to pass with the method invocation. 882s # * @arg_an_h: Argument to pass with the method invocation. 882s # * @arg_an_ay: Argument to pass with the method invocation. 882s # * @arg_an_as: Argument to pass with the method invocation. 882s # * @arg_an_ao: Argument to pass with the method invocation. 882s # * @arg_an_aay: Argument to pass with the method invocation. 882s # * @arg_an_asv: Argument to pass with the method invocation. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_other_callable_iface_call_method_with_many_args_sync ( 882s # OrgProjectOtherCallableIface *proxy, 882s # gboolean arg_an_b, 882s # guchar arg_an_y, 882s # gint16 arg_an_n, 882s # guint16 arg_an_q, 882s # gint arg_an_i, 882s # guint arg_an_u, 882s # gint64 arg_an_x, 882s # guint64 arg_an_t, 882s # gdouble arg_an_d, 882s # const gchar *arg_an_s, 882s # const gchar *arg_an_o, 882s # const gchar *arg_an_g, 882s # GVariant *arg_an_h, 882s # const gchar *arg_an_ay, 882s # const gchar *const *arg_an_as, 882s # const gchar *const *arg_an_ao, 882s # const gchar *const *arg_an_aay, 882s # GVariant *arg_an_asv, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "MethodWithManyArgs", 882s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 882s # arg_an_b, 882s # arg_an_y, 882s # arg_an_n, 882s # arg_an_q, 882s # arg_an_i, 882s # arg_an_u, 882s # arg_an_x, 882s # arg_an_t, 882s # arg_an_d, 882s # arg_an_s, 882s # arg_an_o, 882s # arg_an_g, 882s # arg_an_h, 882s # arg_an_ay, 882s # arg_an_as, 882s # arg_an_ao, 882s # arg_an_aay, 882s # arg_an_asv), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "()"); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_complete_method_with_many_args: 882s # * @object: A #OrgProjectOtherCallableIface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_other_callable_iface_complete_method_with_many_args ( 882s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("()")); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectOtherCallableIfaceProxy: 882s # * 882s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectOtherCallableIfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectOtherCallableIfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_other_callable_iface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 882s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 882s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_other_callable_iface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherCallableIface * 882s # org_project_other_callable_iface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherCallableIface * 882s # org_project_other_callable_iface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_other_callable_iface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_other_callable_iface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherCallableIface * 882s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherCallableIface * 882s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectOtherCallableIfaceSkeleton: 882s # * 882s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectOtherCallableIfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_other_callable_iface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_other_callable_iface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_other_callable_iface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 882s # { 882s # _org_project_other_callable_iface_skeleton_handle_method_call, 882s # _org_project_other_callable_iface_skeleton_handle_get_property, 882s # _org_project_other_callable_iface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_other_callable_iface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_other_callable_iface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectOtherCallableIface * 882s # org_project_other_callable_iface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmpd0k5howw 882s # /tmp/tmpd0k5howw/tmpg16tuujg.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd0k5howw/tmpg16tuujg.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.CallableIface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectCallableIface 882s # * @title: OrgProjectCallableIface 882s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for org.project.CallableIface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_b", 882s # (gchar *) "b", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_y", 882s # (gchar *) "y", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_n", 882s # (gchar *) "n", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_q", 882s # (gchar *) "q", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_i", 882s # (gchar *) "i", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_u", 882s # (gchar *) "u", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_x", 882s # (gchar *) "x", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_t", 882s # (gchar *) "t", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_d", 882s # (gchar *) "d", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_s", 882s # (gchar *) "s", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_o", 882s # (gchar *) "o", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_g", 882s # (gchar *) "g", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_h", 882s # (gchar *) "h", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ay", 882s # (gchar *) "ay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_as", 882s # (gchar *) "as", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ao", 882s # (gchar *) "ao", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_aay", 882s # (gchar *) "aay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_asv", 882s # (gchar *) "a{sv}", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 882s # { 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 882s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 882s # { 882s # { 882s # -1, 882s # (gchar *) "MethodWithManyArgs", 882s # NULL, 882s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-method-with-many-args", 882s # FALSE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 882s # { 882s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.CallableIface", 882s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-callable-iface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_callable_iface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_callable_iface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_callable_iface_method_marshal_method_with_many_args ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectCallableIface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 882s # */ 882s # 882s # /** 882s # * OrgProjectCallableIfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.CallableIface. 882s # */ 882s # 882s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * OrgProjectCallableIface::handle-method-with-many-args: 882s # * @object: A #OrgProjectCallableIface. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * 882s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-method-with-many-args", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # org_project_callable_iface_method_marshal_method_with_many_args, 882s # G_TYPE_BOOLEAN, 882s # 1, 882s # G_TYPE_DBUS_METHOD_INVOCATION); 882s # 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_call_method_with_many_args: 882s # * @proxy: A #OrgProjectCallableIfaceProxy. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 882s # * 882s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # org_project_callable_iface_call_method_with_many_args ( 882s # OrgProjectCallableIface *proxy, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 882s # "MethodWithManyArgs", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_call_method_with_many_args_finish: 882s # * @proxy: A #OrgProjectCallableIfaceProxy. 882s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_callable_iface_call_method_with_many_args_finish ( 882s # OrgProjectCallableIface *proxy, 882s # gboolean *out_an_b, 882s # guchar *out_an_y, 882s # gint16 *out_an_n, 882s # guint16 *out_an_q, 882s # gint *out_an_i, 882s # guint *out_an_u, 882s # gint64 *out_an_x, 882s # guint64 *out_an_t, 882s # gdouble *out_an_d, 882s # gchar **out_an_s, 882s # gchar **out_an_o, 882s # gchar **out_an_g, 882s # GVariant **out_an_h, 882s # gchar **out_an_ay, 882s # gchar ***out_an_as, 882s # gchar ***out_an_ao, 882s # gchar ***out_an_aay, 882s # GVariant **out_an_asv, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 882s # out_an_b, 882s # out_an_y, 882s # out_an_n, 882s # out_an_q, 882s # out_an_i, 882s # out_an_u, 882s # out_an_x, 882s # out_an_t, 882s # out_an_d, 882s # out_an_s, 882s # out_an_o, 882s # out_an_g, 882s # out_an_h, 882s # out_an_ay, 882s # out_an_as, 882s # out_an_ao, 882s # out_an_aay, 882s # out_an_asv); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_call_method_with_many_args_sync: 882s # * @proxy: A #OrgProjectCallableIfaceProxy. 882s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 882s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # org_project_callable_iface_call_method_with_many_args_sync ( 882s # OrgProjectCallableIface *proxy, 882s # gboolean *out_an_b, 882s # guchar *out_an_y, 882s # gint16 *out_an_n, 882s # guint16 *out_an_q, 882s # gint *out_an_i, 882s # guint *out_an_u, 882s # gint64 *out_an_x, 882s # guint64 *out_an_t, 882s # gdouble *out_an_d, 882s # gchar **out_an_s, 882s # gchar **out_an_o, 882s # gchar **out_an_g, 882s # GVariant **out_an_h, 882s # gchar **out_an_ay, 882s # gchar ***out_an_as, 882s # gchar ***out_an_ao, 882s # gchar ***out_an_aay, 882s # GVariant **out_an_asv, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 882s # "MethodWithManyArgs", 882s # g_variant_new ("()"), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 882s # out_an_b, 882s # out_an_y, 882s # out_an_n, 882s # out_an_q, 882s # out_an_i, 882s # out_an_u, 882s # out_an_x, 882s # out_an_t, 882s # out_an_d, 882s # out_an_s, 882s # out_an_o, 882s # out_an_g, 882s # out_an_h, 882s # out_an_ay, 882s # out_an_as, 882s # out_an_ao, 882s # out_an_aay, 882s # out_an_asv); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_complete_method_with_many_args: 882s # * @object: A #OrgProjectCallableIface. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @an_b: Parameter to return. 882s # * @an_y: Parameter to return. 882s # * @an_n: Parameter to return. 882s # * @an_q: Parameter to return. 882s # * @an_i: Parameter to return. 882s # * @an_u: Parameter to return. 882s # * @an_x: Parameter to return. 882s # * @an_t: Parameter to return. 882s # * @an_d: Parameter to return. 882s # * @an_s: Parameter to return. 882s # * @an_o: Parameter to return. 882s # * @an_g: Parameter to return. 882s # * @an_h: Parameter to return. 882s # * @an_ay: Parameter to return. 882s # * @an_as: Parameter to return. 882s # * @an_ao: Parameter to return. 882s # * @an_aay: Parameter to return. 882s # * @an_asv: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # org_project_callable_iface_complete_method_with_many_args ( 882s # OrgProjectCallableIface *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # gboolean an_b, 882s # guchar an_y, 882s # gint16 an_n, 882s # guint16 an_q, 882s # gint an_i, 882s # guint an_u, 882s # gint64 an_x, 882s # guint64 an_t, 882s # gdouble an_d, 882s # const gchar *an_s, 882s # const gchar *an_o, 882s # const gchar *an_g, 882s # GVariant *an_h, 882s # const gchar *an_ay, 882s # const gchar *const *an_as, 882s # const gchar *const *an_ao, 882s # const gchar *const *an_aay, 882s # GVariant *an_asv) 882s # { 882s # g_dbus_method_invocation_return_value (invocation, 882s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 882s # an_b, 882s # an_y, 882s # an_n, 882s # an_q, 882s # an_i, 882s # an_u, 882s # an_x, 882s # an_t, 882s # an_d, 882s # an_s, 882s # an_o, 882s # an_g, 882s # an_h, 882s # an_ay, 882s # an_as, 882s # an_ao, 882s # an_aay, 882s # an_asv)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectCallableIfaceProxy: 882s # * 882s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectCallableIfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectCallableIfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectCallableIfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_callable_iface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 882s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 882s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_callable_iface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectCallableIface * 882s # org_project_callable_iface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectCallableIface * 882s # org_project_callable_iface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_callable_iface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectCallableIface * 882s # org_project_callable_iface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectCallableIface * 882s # org_project_callable_iface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_CALLABLE_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectCallableIfaceSkeleton: 882s # * 882s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectCallableIfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectCallableIfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectCallableIfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_callable_iface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_callable_iface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_callable_iface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 882s # { 882s # _org_project_callable_iface_skeleton_handle_method_call, 882s # _org_project_callable_iface_skeleton_handle_get_property, 882s # _org_project_callable_iface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_callable_iface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_callable_iface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_callable_iface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectCallableIface * 882s # org_project_callable_iface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmpljin58ht 882s # /tmp/tmpljin58ht/tmpra82qgxt.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpljin58ht/tmpra82qgxt.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 882s # (void *data1, 882s # GDBusMethodInvocation *arg_method_invocation, 882s # GUnixFDList *arg_fd_list, 882s # const gchar *arg_greeting, 882s # void *data2); 882s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # gboolean v_return; 882s # 882s # g_return_if_fail (return_value != NULL); 882s # g_return_if_fail (n_param_values == 4); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # v_return = 882s # callback (data1, 882s # g_marshal_value_peek_object (param_values + 1), 882s # g_marshal_value_peek_object (param_values + 2), 882s # g_marshal_value_peek_string (param_values + 3), 882s # data2); 882s # 882s # g_value_set_boolean (return_value, v_return); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface test.FDPassing 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:TestFDPassing 882s # * @title: TestFDPassing 882s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 882s # * 882s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 882s # */ 882s # 882s # /* ---- Introspection data for test.FDPassing ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 882s # { 882s # { 882s # -1, 882s # (gchar *) "greeting", 882s # (gchar *) "s", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 882s # { 882s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 882s # { 882s # { 882s # -1, 882s # (gchar *) "response", 882s # (gchar *) "s", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 882s # { 882s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 882s # { 882s # { 882s # -1, 882s # (gchar *) "HelloFD", 882s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 882s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 882s # NULL 882s # }, 882s # "handle-hello-fd", 882s # TRUE 882s # }; 882s # 882s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 882s # { 882s # &_test_fdpassing_method_info_hello_fd.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "test.FDPassing", 882s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 882s # NULL, 882s # NULL, 882s # NULL 882s # }, 882s # "test-fdpassing", 882s # }; 882s # 882s # 882s # /** 882s # * test_fdpassing_interface_info: 882s # * 882s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # test_fdpassing_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * test_fdpassing_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # test_fdpassing_method_marshal_hello_fd ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * TestFDPassing: 882s # * 882s # * Abstract interface type for the D-Bus interface test.FDPassing. 882s # */ 882s # 882s # /** 882s # * TestFDPassingIface: 882s # * @parent_iface: The parent interface. 882s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 882s # * 882s # * Virtual table for the D-Bus interface test.FDPassing. 882s # */ 882s # 882s # typedef TestFDPassingIface TestFDPassingInterface; 882s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 882s # 882s # static void 882s # test_fdpassing_default_init (TestFDPassingIface *iface) 882s # { 882s # /* GObject signals for incoming D-Bus method calls: */ 882s # /** 882s # * TestFDPassing::handle-hello-fd: 882s # * @object: A #TestFDPassing. 882s # * @invocation: A #GDBusMethodInvocation. 882s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 882s # * @arg_greeting: Argument passed by remote caller. 882s # * 882s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 882s # * 882s # * 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. 882s # * 882s # * 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. 882s # */ 882s # g_signal_new ("handle-hello-fd", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 882s # g_signal_accumulator_true_handled, 882s # NULL, 882s # test_fdpassing_method_marshal_hello_fd, 882s # G_TYPE_BOOLEAN, 882s # 3, 882s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 882s # 882s # } 882s # 882s # /** 882s # * test_fdpassing_call_hello_fd: 882s # * @proxy: A #TestFDPassingProxy. 882s # * @arg_greeting: Argument to pass with the method invocation. 882s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 882s # * 882s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 882s # */ 882s # void 882s # test_fdpassing_call_hello_fd ( 882s # TestFDPassing *proxy, 882s # const gchar *arg_greeting, 882s # GUnixFDList *fd_list, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 882s # "HelloFD", 882s # g_variant_new ("(s)", 882s # arg_greeting), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # fd_list, 882s # cancellable, 882s # callback, 882s # user_data); 882s # } 882s # 882s # /** 882s # * test_fdpassing_call_hello_fd_finish: 882s # * @proxy: A #TestFDPassingProxy. 882s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # test_fdpassing_call_hello_fd_finish ( 882s # TestFDPassing *proxy, 882s # gchar **out_response, 882s # GUnixFDList **out_fd_list, 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(s)", 882s # out_response); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * test_fdpassing_call_hello_fd_sync: 882s # * @proxy: A #TestFDPassingProxy. 882s # * @arg_greeting: Argument to pass with the method invocation. 882s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 882s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 882s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL. 882s # * 882s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 882s # * 882s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 882s # * 882s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 882s # */ 882s # gboolean 882s # test_fdpassing_call_hello_fd_sync ( 882s # TestFDPassing *proxy, 882s # const gchar *arg_greeting, 882s # GUnixFDList *fd_list, 882s # gchar **out_response, 882s # GUnixFDList **out_fd_list, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GVariant *_ret; 882s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 882s # "HelloFD", 882s # g_variant_new ("(s)", 882s # arg_greeting), 882s # G_DBUS_CALL_FLAGS_NONE, 882s # -1, 882s # fd_list, 882s # out_fd_list, 882s # cancellable, 882s # error); 882s # if (_ret == NULL) 882s # goto _out; 882s # g_variant_get (_ret, 882s # "(s)", 882s # out_response); 882s # g_variant_unref (_ret); 882s # _out: 882s # return _ret != NULL; 882s # } 882s # 882s # /** 882s # * test_fdpassing_complete_hello_fd: 882s # * @object: A #TestFDPassing. 882s # * @invocation: (transfer full): A #GDBusMethodInvocation. 882s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 882s # * @response: Parameter to return. 882s # * 882s # * 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. 882s # * 882s # * This method will free @invocation, you cannot use it afterwards. 882s # */ 882s # void 882s # test_fdpassing_complete_hello_fd ( 882s # TestFDPassing *object G_GNUC_UNUSED, 882s # GDBusMethodInvocation *invocation, 882s # GUnixFDList *fd_list, 882s # const gchar *response) 882s # { 882s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 882s # g_variant_new ("(s)", 882s # response), 882s # fd_list); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * TestFDPassingProxy: 882s # * 882s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * TestFDPassingProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #TestFDPassingProxy. 882s # */ 882s # 882s # struct _TestFDPassingProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (TestFDPassingProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # test_fdpassing_proxy_finalize (GObject *object) 882s # { 882s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 882s # } 882s # 882s # static void 882s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = test_fdpassing_proxy_finalize; 882s # gobject_class->get_property = test_fdpassing_proxy_get_property; 882s # gobject_class->set_property = test_fdpassing_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 882s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * test_fdpassing_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # test_fdpassing_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * test_fdpassing_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with test_fdpassing_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # TestFDPassing * 882s # test_fdpassing_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return TEST_FDPASSING (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * test_fdpassing_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # TestFDPassing * 882s # test_fdpassing_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return TEST_FDPASSING (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * test_fdpassing_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # test_fdpassing_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * test_fdpassing_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # TestFDPassing * 882s # test_fdpassing_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return TEST_FDPASSING (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * test_fdpassing_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # TestFDPassing * 882s # test_fdpassing_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return TEST_FDPASSING (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * TestFDPassingSkeleton: 882s # * 882s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * TestFDPassingSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #TestFDPassingSkeleton. 882s # */ 882s # 882s # struct _TestFDPassingSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _test_fdpassing_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _test_fdpassing_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _test_fdpassing_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 882s # { 882s # _test_fdpassing_skeleton_handle_method_call, 882s # _test_fdpassing_skeleton_handle_get_property, 882s # _test_fdpassing_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return test_fdpassing_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (TestFDPassingSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # test_fdpassing_skeleton_finalize (GObject *object) 882s # { 882s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * test_fdpassing_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 882s # * 882s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 882s # */ 882s # TestFDPassing * 882s # test_fdpassing_skeleton_new (void) 882s # { 882s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 882s # } 882s # Error: 882s ok 15 __main__.TestCodegen.test_generate_rst 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmpdkv55vz7 882s # /tmp/tmpdkv55vz7/tmpvkve3t2l.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdkv55vz7/tmpvkve3t2l.xml', '--generate-rst', 'test'] 882s # Return code: 0 882s # Output: 882s # 882s # Error: 882s ok 16 __main__.TestCodegen.test_generate_rst_method 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmpk3shlf_4 882s # /tmp/tmpk3shlf_4/tmpqtace0o8.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk3shlf_4/tmpqtace0o8.xml', '--generate-rst', 'test'] 882s # Return code: 0 882s # Output: 882s # 882s # Error: 882s ok 17 __main__.TestCodegen.test_generate_rst_property 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmplf1_s0jb 882s # /tmp/tmplf1_s0jb/tmpk09mq3km.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplf1_s0jb/tmpk09mq3km.xml', '--generate-rst', 'test'] 882s # Return code: 0 882s # Output: 882s # 882s # Error: 882s ok 18 __main__.TestCodegen.test_generate_rst_signal 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmpv1o9ggza 882s # /tmp/tmpv1o9ggza/tmp3z0uumh8.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv1o9ggza/tmp3z0uumh8.xml', '--generate-rst', 'test'] 882s # Return code: 0 882s # Output: 882s # 882s # Error: 882s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmp8z26xs9i 882s # /tmp/tmp8z26xs9i/tmpcedr839n.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8z26xs9i/tmpcedr839n.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 882s # GClosure *closure, 882s # GValue *return_value G_GNUC_UNUSED, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 882s # (void *data1, 882s # gboolean arg_an_b, 882s # guchar arg_an_y, 882s # gint16 arg_an_n, 882s # guint16 arg_an_q, 882s # gint arg_an_i, 882s # guint arg_an_u, 882s # gint64 arg_an_x, 882s # guint64 arg_an_t, 882s # gdouble arg_an_d, 882s # const gchar *arg_an_s, 882s # const gchar *arg_an_o, 882s # const gchar *arg_an_g, 882s # GVariant *arg_an_h, 882s # const gchar *arg_an_ay, 882s # const gchar *const *arg_an_as, 882s # const gchar *const *arg_an_ao, 882s # const gchar *const *arg_an_aay, 882s # GVariant *arg_an_asv, 882s # void *data2); 882s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # 882s # g_return_if_fail (n_param_values == 19); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # callback (data1, 882s # g_marshal_value_peek_boolean (param_values + 1), 882s # g_marshal_value_peek_uchar (param_values + 2), 882s # g_marshal_value_peek_int (param_values + 3), 882s # g_marshal_value_peek_uint (param_values + 4), 882s # g_marshal_value_peek_int (param_values + 5), 882s # g_marshal_value_peek_uint (param_values + 6), 882s # g_marshal_value_peek_int64 (param_values + 7), 882s # g_marshal_value_peek_uint64 (param_values + 8), 882s # g_marshal_value_peek_double (param_values + 9), 882s # g_marshal_value_peek_string (param_values + 10), 882s # g_marshal_value_peek_string (param_values + 11), 882s # g_marshal_value_peek_string (param_values + 12), 882s # g_marshal_value_peek_variant (param_values + 13), 882s # g_marshal_value_peek_string (param_values + 14), 882s # g_marshal_value_peek_boxed (param_values + 15), 882s # g_marshal_value_peek_boxed (param_values + 16), 882s # g_marshal_value_peek_boxed (param_values + 17), 882s # g_marshal_value_peek_variant (param_values + 18), 882s # data2); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.SignalingIface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectSignalingIface 882s # * @title: OrgProjectSignalingIface 882s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 882s # */ 882s # 882s # enum 882s # { 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 882s # }; 882s # 882s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 882s # 882s # /* ---- Introspection data for org.project.SignalingIface ---- */ 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_b", 882s # (gchar *) "b", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_y", 882s # (gchar *) "y", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_n", 882s # (gchar *) "n", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_q", 882s # (gchar *) "q", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_i", 882s # (gchar *) "i", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_u", 882s # (gchar *) "u", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_x", 882s # (gchar *) "x", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_t", 882s # (gchar *) "t", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_d", 882s # (gchar *) "d", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_s", 882s # (gchar *) "s", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_o", 882s # (gchar *) "o", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_g", 882s # (gchar *) "g", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_h", 882s # (gchar *) "h", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ay", 882s # (gchar *) "ay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_as", 882s # (gchar *) "as", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ao", 882s # (gchar *) "ao", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_aay", 882s # (gchar *) "aay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_asv", 882s # (gchar *) "a{sv}", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SignalWithManyArgs", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 882s # NULL 882s # }, 882s # "signal-with-many-args" 882s # }; 882s # 882s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.SignalingIface", 882s # NULL, 882s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-signaling-iface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_signaling_iface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_signaling_iface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectSignalingIface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 882s # */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.SignalingIface. 882s # */ 882s # 882s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 882s # { 882s # /* GObject signals for received D-Bus signals: */ 882s # /** 882s # * OrgProjectSignalingIface::signal-with-many-args: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_b: Argument. 882s # * @arg_an_y: Argument. 882s # * @arg_an_n: Argument. 882s # * @arg_an_q: Argument. 882s # * @arg_an_i: Argument. 882s # * @arg_an_u: Argument. 882s # * @arg_an_x: Argument. 882s # * @arg_an_t: Argument. 882s # * @arg_an_d: Argument. 882s # * @arg_an_s: Argument. 882s # * @arg_an_o: Argument. 882s # * @arg_an_g: Argument. 882s # * @arg_an_h: Argument. 882s # * @arg_an_ay: Argument. 882s # * @arg_an_as: Argument. 882s # * @arg_an_ao: Argument. 882s # * @arg_an_aay: Argument. 882s # * @arg_an_asv: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 882s # g_signal_new ("signal-with-many-args", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 882s # G_TYPE_NONE, 882s # 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); 882s # 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_signal_with_many_args: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_b: Argument to pass with the signal. 882s # * @arg_an_y: Argument to pass with the signal. 882s # * @arg_an_n: Argument to pass with the signal. 882s # * @arg_an_q: Argument to pass with the signal. 882s # * @arg_an_i: Argument to pass with the signal. 882s # * @arg_an_u: Argument to pass with the signal. 882s # * @arg_an_x: Argument to pass with the signal. 882s # * @arg_an_t: Argument to pass with the signal. 882s # * @arg_an_d: Argument to pass with the signal. 882s # * @arg_an_s: Argument to pass with the signal. 882s # * @arg_an_o: Argument to pass with the signal. 882s # * @arg_an_g: Argument to pass with the signal. 882s # * @arg_an_h: Argument to pass with the signal. 882s # * @arg_an_ay: Argument to pass with the signal. 882s # * @arg_an_as: Argument to pass with the signal. 882s # * @arg_an_ao: Argument to pass with the signal. 882s # * @arg_an_aay: Argument to pass with the signal. 882s # * @arg_an_asv: Argument to pass with the signal. 882s # * 882s # * Emits the "SignalWithManyArgs" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_signal_with_many_args ( 882s # OrgProjectSignalingIface *object, 882s # gboolean arg_an_b, 882s # guchar arg_an_y, 882s # gint16 arg_an_n, 882s # guint16 arg_an_q, 882s # gint arg_an_i, 882s # guint arg_an_u, 882s # gint64 arg_an_x, 882s # guint64 arg_an_t, 882s # gdouble arg_an_d, 882s # const gchar *arg_an_s, 882s # const gchar *arg_an_o, 882s # const gchar *arg_an_g, 882s # GVariant *arg_an_h, 882s # const gchar *arg_an_ay, 882s # const gchar *const *arg_an_as, 882s # const gchar *const *arg_an_ao, 882s # const gchar *const *arg_an_aay, 882s # GVariant *arg_an_asv) 882s # { 882s # 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); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceProxy: 882s # * 882s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectSignalingIfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectSignalingIfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_signaling_iface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 882s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 882s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_signaling_iface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_signaling_iface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceSkeleton: 882s # * 882s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectSignalingIfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_signaling_iface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_signaling_iface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_signaling_iface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 882s # { 882s # _org_project_signaling_iface_skeleton_handle_method_call, 882s # _org_project_signaling_iface_skeleton_handle_get_property, 882s # _org_project_signaling_iface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_signaling_iface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 882s # OrgProjectSignalingIface *object, 882s # gboolean arg_an_b, 882s # guchar arg_an_y, 882s # gint16 arg_an_n, 882s # guint16 arg_an_q, 882s # gint arg_an_i, 882s # guint arg_an_u, 882s # gint64 arg_an_x, 882s # guint64 arg_an_t, 882s # gdouble arg_an_d, 882s # const gchar *arg_an_s, 882s # const gchar *arg_an_o, 882s # const gchar *arg_an_g, 882s # GVariant *arg_an_h, 882s # const gchar *arg_an_ay, 882s # const gchar *const *arg_an_as, 882s # const gchar *const *arg_an_ao, 882s # const gchar *const *arg_an_aay, 882s # GVariant *arg_an_asv) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 882s # arg_an_b, 882s # arg_an_y, 882s # arg_an_n, 882s # arg_an_q, 882s # arg_an_i, 882s # arg_an_u, 882s # arg_an_x, 882s # arg_an_t, 882s # arg_an_d, 882s # arg_an_s, 882s # arg_an_o, 882s # arg_an_g, 882s # arg_an_h, 882s # arg_an_ay, 882s # arg_an_as, 882s # arg_an_ao, 882s # arg_an_aay, 882s # arg_an_asv)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_signaling_iface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 882s # { 882s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmpvgh6v2_i 882s # /tmp/tmpvgh6v2_i/tmpxv350cgg.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvgh6v2_i/tmpxv350cgg.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_VOID__INT64 ( 882s # GClosure *closure, 882s # GValue *return_value G_GNUC_UNUSED, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 882s # (void *data1, 882s # gint64 arg_an_x, 882s # void *data2); 882s # _GDbusCodegenMarshalVoid_Int64Func callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # callback (data1, 882s # g_marshal_value_peek_int64 (param_values + 1), 882s # data2); 882s # } 882s # 882s # static void 882s # _g_dbus_codegen_marshal_VOID__UINT64 ( 882s # GClosure *closure, 882s # GValue *return_value G_GNUC_UNUSED, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint G_GNUC_UNUSED, 882s # void *marshal_data) 882s # { 882s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 882s # (void *data1, 882s # guint64 arg_an_t, 882s # void *data2); 882s # _GDbusCodegenMarshalVoid_Uint64Func callback; 882s # GCClosure *cc = (GCClosure*) closure; 882s # void *data1, *data2; 882s # 882s # g_return_if_fail (n_param_values == 2); 882s # 882s # if (G_CCLOSURE_SWAP_DATA (closure)) 882s # { 882s # data1 = closure->data; 882s # data2 = g_value_peek_pointer (param_values + 0); 882s # } 882s # else 882s # { 882s # data1 = g_value_peek_pointer (param_values + 0); 882s # data2 = closure->data; 882s # } 882s # 882s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 882s # (marshal_data ? marshal_data : cc->callback); 882s # 882s # callback (data1, 882s # g_marshal_value_peek_uint64 (param_values + 1), 882s # data2); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.SignalingIface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectSignalingIface 882s # * @title: OrgProjectSignalingIface 882s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 882s # */ 882s # 882s # enum 882s # { 882s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 882s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 882s # }; 882s # 882s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 882s # 882s # /* ---- Introspection data for org.project.SignalingIface ---- */ 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 882s # { 882s # { 882s # -1, 882s # (gchar *) "NoArgSignal", 882s # NULL, 882s # NULL 882s # }, 882s # "no-arg-signal" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_b", 882s # (gchar *) "b", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalB", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-b" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_y", 882s # (gchar *) "y", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalY", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-y" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_n", 882s # (gchar *) "n", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalN", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-n" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_q", 882s # (gchar *) "q", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalQ", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-q" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_i", 882s # (gchar *) "i", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalI", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-i" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_u", 882s # (gchar *) "u", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalU", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-u" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_x", 882s # (gchar *) "x", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalX", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-x" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_t", 882s # (gchar *) "t", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalT", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-t" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_d", 882s # (gchar *) "d", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalD", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-d" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_s", 882s # (gchar *) "s", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalS", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-s" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_o", 882s # (gchar *) "o", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalO", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-o" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_g", 882s # (gchar *) "g", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalG", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-g" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_h", 882s # (gchar *) "h", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalH", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-h" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ay", 882s # (gchar *) "ay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalAY", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-ay" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_as", 882s # (gchar *) "as", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalAS", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-as" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_ao", 882s # (gchar *) "ao", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalAO", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-ao" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_aay", 882s # (gchar *) "aay", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalAAY", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-aay" 882s # }; 882s # 882s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 882s # { 882s # { 882s # -1, 882s # (gchar *) "an_asv", 882s # (gchar *) "a{sv}", 882s # NULL 882s # }, 882s # FALSE 882s # }; 882s # 882s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SingleArgSignalASV", 882s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 882s # NULL 882s # }, 882s # "single-arg-signal-asv" 882s # }; 882s # 882s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 882s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.SignalingIface", 882s # NULL, 882s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-signaling-iface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_signaling_iface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_signaling_iface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__VOID (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__BOOLEAN (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__UCHAR (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__INT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__UINT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__INT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__UINT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__DOUBLE (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__STRING (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__STRING (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__STRING (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__VARIANT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__STRING (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__BOXED (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__BOXED (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__BOXED (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__VARIANT (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectSignalingIface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 882s # */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 882s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 882s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 882s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 882s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 882s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 882s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 882s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 882s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 882s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 882s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 882s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 882s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 882s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 882s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 882s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 882s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 882s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 882s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.SignalingIface. 882s # */ 882s # 882s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 882s # { 882s # /* GObject signals for received D-Bus signals: */ 882s # /** 882s # * OrgProjectSignalingIface::no-arg-signal: 882s # * @object: A #OrgProjectSignalingIface. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 882s # g_signal_new ("no-arg-signal", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_no_arg_signal, 882s # G_TYPE_NONE, 882s # 0); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-b: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_b: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 882s # g_signal_new ("single-arg-signal-b", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_BOOLEAN); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-y: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_y: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 882s # g_signal_new ("single-arg-signal-y", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_UCHAR); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-n: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_n: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 882s # g_signal_new ("single-arg-signal-n", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_INT); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-q: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_q: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 882s # g_signal_new ("single-arg-signal-q", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_UINT); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-i: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_i: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 882s # g_signal_new ("single-arg-signal-i", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_INT); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-u: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_u: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 882s # g_signal_new ("single-arg-signal-u", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_UINT); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-x: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_x: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 882s # g_signal_new ("single-arg-signal-x", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_INT64); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-t: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_t: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 882s # g_signal_new ("single-arg-signal-t", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_UINT64); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-d: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_d: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 882s # g_signal_new ("single-arg-signal-d", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_DOUBLE); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-s: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_s: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 882s # g_signal_new ("single-arg-signal-s", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_STRING); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-o: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_o: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 882s # g_signal_new ("single-arg-signal-o", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_STRING); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-g: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_g: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 882s # g_signal_new ("single-arg-signal-g", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_STRING); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-h: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_h: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 882s # g_signal_new ("single-arg-signal-h", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_VARIANT); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-ay: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_ay: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 882s # g_signal_new ("single-arg-signal-ay", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_STRING); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-as: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_as: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 882s # g_signal_new ("single-arg-signal-as", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_STRV); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-ao: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_ao: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 882s # g_signal_new ("single-arg-signal-ao", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_STRV); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-aay: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_aay: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 882s # g_signal_new ("single-arg-signal-aay", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_STRV); 882s # 882s # /** 882s # * OrgProjectSignalingIface::single-arg-signal-asv: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_asv: Argument. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 882s # g_signal_new ("single-arg-signal-asv", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 882s # G_TYPE_NONE, 882s # 1, G_TYPE_VARIANT); 882s # 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_no_arg_signal: 882s # * @object: A #OrgProjectSignalingIface. 882s # * 882s # * Emits the "NoArgSignal" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_no_arg_signal ( 882s # OrgProjectSignalingIface *object) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_b: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_b: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalB" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_b ( 882s # OrgProjectSignalingIface *object, 882s # gboolean arg_an_b) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_y: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_y: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalY" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_y ( 882s # OrgProjectSignalingIface *object, 882s # guchar arg_an_y) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_n: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_n: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalN" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_n ( 882s # OrgProjectSignalingIface *object, 882s # gint16 arg_an_n) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_q: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_q: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalQ" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_q ( 882s # OrgProjectSignalingIface *object, 882s # guint16 arg_an_q) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_i: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_i: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalI" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_i ( 882s # OrgProjectSignalingIface *object, 882s # gint arg_an_i) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_u: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_u: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalU" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_u ( 882s # OrgProjectSignalingIface *object, 882s # guint arg_an_u) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_x: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_x: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalX" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_x ( 882s # OrgProjectSignalingIface *object, 882s # gint64 arg_an_x) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_t: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_t: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalT" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_t ( 882s # OrgProjectSignalingIface *object, 882s # guint64 arg_an_t) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_d: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_d: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalD" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_d ( 882s # OrgProjectSignalingIface *object, 882s # gdouble arg_an_d) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_s: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_s: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalS" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_s ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *arg_an_s) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_o: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_o: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalO" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_o ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *arg_an_o) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_g: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_g: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalG" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_g ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *arg_an_g) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_h: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_h: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalH" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_h ( 882s # OrgProjectSignalingIface *object, 882s # GVariant *arg_an_h) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_ay: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_ay: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalAY" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_ay ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *arg_an_ay) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_as: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_as: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalAS" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_as ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *const *arg_an_as) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_ao: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_ao: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalAO" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_ao ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *const *arg_an_ao) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_aay: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_aay: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalAAY" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_aay ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *const *arg_an_aay) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_single_arg_signal_asv: 882s # * @object: A #OrgProjectSignalingIface. 882s # * @arg_an_asv: Argument to pass with the signal. 882s # * 882s # * Emits the "SingleArgSignalASV" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_single_arg_signal_asv ( 882s # OrgProjectSignalingIface *object, 882s # GVariant *arg_an_asv) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceProxy: 882s # * 882s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectSignalingIfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectSignalingIfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_signaling_iface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 882s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 882s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_signaling_iface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_signaling_iface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceSkeleton: 882s # * 882s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectSignalingIfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_signaling_iface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_signaling_iface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_signaling_iface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 882s # { 882s # _org_project_signaling_iface_skeleton_handle_method_call, 882s # _org_project_signaling_iface_skeleton_handle_get_property, 882s # _org_project_signaling_iface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_signaling_iface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_no_arg_signal ( 882s # OrgProjectSignalingIface *object) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 882s # OrgProjectSignalingIface *object, 882s # gboolean arg_an_b) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 882s # arg_an_b)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 882s # OrgProjectSignalingIface *object, 882s # guchar arg_an_y) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 882s # arg_an_y)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 882s # OrgProjectSignalingIface *object, 882s # gint16 arg_an_n) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 882s # arg_an_n)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 882s # OrgProjectSignalingIface *object, 882s # guint16 arg_an_q) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 882s # arg_an_q)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 882s # OrgProjectSignalingIface *object, 882s # gint arg_an_i) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 882s # arg_an_i)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 882s # OrgProjectSignalingIface *object, 882s # guint arg_an_u) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 882s # arg_an_u)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 882s # OrgProjectSignalingIface *object, 882s # gint64 arg_an_x) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 882s # arg_an_x)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 882s # OrgProjectSignalingIface *object, 882s # guint64 arg_an_t) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 882s # arg_an_t)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 882s # OrgProjectSignalingIface *object, 882s # gdouble arg_an_d) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 882s # arg_an_d)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *arg_an_s) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 882s # arg_an_s)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *arg_an_o) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 882s # arg_an_o)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *arg_an_g) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 882s # arg_an_g)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 882s # OrgProjectSignalingIface *object, 882s # GVariant *arg_an_h) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 882s # arg_an_h)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *arg_an_ay) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 882s # arg_an_ay)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *const *arg_an_as) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 882s # arg_an_as)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *const *arg_an_ao) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 882s # arg_an_ao)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 882s # OrgProjectSignalingIface *object, 882s # const gchar *const *arg_an_aay) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 882s # arg_an_aay)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 882s # OrgProjectSignalingIface *object, 882s # GVariant *arg_an_asv) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 882s # arg_an_asv)); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_signaling_iface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 882s # { 882s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 882s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 882s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 882s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 882s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 882s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 882s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 882s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 882s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 882s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 882s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 882s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 882s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 882s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 882s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 882s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 882s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 882s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 882s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmp5_odbyk0 882s # /tmp/tmp5_odbyk0/tmppn1idfqo.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5_odbyk0/tmppn1idfqo.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.UsefulInterface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectUsefulInterface 882s # * @title: OrgProjectUsefulInterface 882s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 882s # */ 882s # 882s # enum 882s # { 882s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 882s # }; 882s # 882s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 882s # 882s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SimpleSignal", 882s # NULL, 882s # NULL 882s # }, 882s # "simple-signal" 882s # }; 882s # 882s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 882s # { 882s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.UsefulInterface", 882s # NULL, 882s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-useful-interface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_useful_interface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_useful_interface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_useful_interface_signal_marshal_simple_signal ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__VOID (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectUsefulInterface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 882s # */ 882s # 882s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # /* GObject signals for received D-Bus signals: */ 882s # /** 882s # * OrgProjectUsefulInterface::simple-signal: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 882s # g_signal_new ("simple-signal", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 882s # NULL, 882s # NULL, 882s # org_project_useful_interface_signal_marshal_simple_signal, 882s # G_TYPE_NONE, 882s # 0); 882s # 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_emit_simple_signal: 882s # * @object: A #OrgProjectUsefulInterface. 882s # * 882s # * Emits the "SimpleSignal" D-Bus signal. 882s # */ 882s # void 882s # org_project_useful_interface_emit_simple_signal ( 882s # OrgProjectUsefulInterface *object) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxy: 882s # * 882s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 882s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 882s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_useful_interface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeleton: 882s # * 882s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectUsefulInterfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_useful_interface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_useful_interface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_useful_interface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 882s # { 882s # _org_project_useful_interface_skeleton_handle_method_call, 882s # _org_project_useful_interface_skeleton_handle_get_property, 882s # _org_project_useful_interface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_useful_interface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # _org_project_useful_interface_on_signal_simple_signal ( 882s # OrgProjectUsefulInterface *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_useful_interface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 882s # { 882s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 882s # } 882s # 882s # /** 882s # * org_project_useful_interface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectUsefulInterface * 882s # org_project_useful_interface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.OtherIface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectOtherIface 882s # * @title: OrgProjectOtherIface 882s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 882s # */ 882s # 882s # enum 882s # { 882s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 882s # }; 882s # 882s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 882s # 882s # /* ---- Introspection data for org.project.OtherIface ---- */ 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SimpleSignal", 882s # NULL, 882s # NULL 882s # }, 882s # "simple-signal" 882s # }; 882s # 882s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 882s # { 882s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.OtherIface", 882s # NULL, 882s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-other-iface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_other_iface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_other_iface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_other_iface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_other_iface_signal_marshal_simple_signal ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__VOID (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectOtherIface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 882s # */ 882s # 882s # /** 882s # * OrgProjectOtherIfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.OtherIface. 882s # */ 882s # 882s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 882s # { 882s # /* GObject signals for received D-Bus signals: */ 882s # /** 882s # * OrgProjectOtherIface::simple-signal: 882s # * @object: A #OrgProjectOtherIface. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 882s # g_signal_new ("simple-signal", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 882s # NULL, 882s # NULL, 882s # org_project_other_iface_signal_marshal_simple_signal, 882s # G_TYPE_NONE, 882s # 0); 882s # 882s # } 882s # 882s # /** 882s # * org_project_other_iface_emit_simple_signal: 882s # * @object: A #OrgProjectOtherIface. 882s # * 882s # * Emits the "SimpleSignal" D-Bus signal. 882s # */ 882s # void 882s # org_project_other_iface_emit_simple_signal ( 882s # OrgProjectOtherIface *object) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectOtherIfaceProxy: 882s # * 882s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectOtherIfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectOtherIfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectOtherIfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_other_iface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 882s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 882s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_other_iface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_other_iface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_other_iface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_other_iface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherIface * 882s # org_project_other_iface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_other_iface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherIface * 882s # org_project_other_iface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_other_iface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_other_iface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_other_iface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherIface * 882s # org_project_other_iface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_other_iface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherIface * 882s # org_project_other_iface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectOtherIfaceSkeleton: 882s # * 882s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectOtherIfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectOtherIfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectOtherIfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_other_iface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_other_iface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_other_iface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 882s # { 882s # _org_project_other_iface_skeleton_handle_method_call, 882s # _org_project_other_iface_skeleton_handle_get_property, 882s # _org_project_other_iface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_other_iface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # _org_project_other_iface_on_signal_simple_signal ( 882s # OrgProjectOtherIface *object) 882s # { 882s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_other_iface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 882s # { 882s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 882s # } 882s # 882s # /** 882s # * org_project_other_iface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectOtherIface * 882s # org_project_other_iface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 882s # } 882s # Error: 882s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 882s # gdbus-codegen: /usr/bin/gdbus-codegen 882s # tmpdir: /tmp/tmpgltu39cm 882s # /tmp/tmpgltu39cm/tmp1kdi_pub.xml: 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # 882s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgltu39cm/tmp1kdi_pub.xml', '--output', '-', '--body'] 882s # Return code: 0 882s # Output: 882s # /* 882s # * This file is generated by gdbus-codegen, do not modify it. 882s # * 882s # * The license of this code is the same as for the D-Bus interface description 882s # * it was derived from. Note that it links to GLib, so must comply with the 882s # * LGPL linking clauses. 882s # */ 882s # 882s # #ifdef HAVE_CONFIG_H 882s # # include "config.h" 882s # #endif 882s # 882s # #include 882s # #ifdef G_OS_UNIX 882s # # include 882s # #endif 882s # 882s # #ifdef G_ENABLE_DEBUG 882s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 882s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 882s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 882s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 882s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 882s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 882s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 882s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 882s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 882s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 882s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 882s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 882s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 882s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 882s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 882s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 882s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 882s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 882s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 882s # #else /* !G_ENABLE_DEBUG */ 882s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 882s # * Do not access GValues directly in your code. Instead, use the 882s # * g_value_get_*() functions 882s # */ 882s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 882s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 882s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 882s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 882s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 882s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 882s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 882s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 882s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 882s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 882s # #endif /* !G_ENABLE_DEBUG */ 882s # 882s # typedef struct 882s # { 882s # GDBusArgInfo parent_struct; 882s # gboolean use_gvariant; 882s # } _ExtendedGDBusArgInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusMethodInfo parent_struct; 882s # const gchar *signal_name; 882s # gboolean pass_fdlist; 882s # } _ExtendedGDBusMethodInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusSignalInfo parent_struct; 882s # const gchar *signal_name; 882s # } _ExtendedGDBusSignalInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusPropertyInfo parent_struct; 882s # const gchar *hyphen_name; 882s # guint use_gvariant : 1; 882s # guint emits_changed_signal : 1; 882s # } _ExtendedGDBusPropertyInfo; 882s # 882s # typedef struct 882s # { 882s # GDBusInterfaceInfo parent_struct; 882s # const gchar *hyphen_name; 882s # } _ExtendedGDBusInterfaceInfo; 882s # 882s # typedef struct 882s # { 882s # const _ExtendedGDBusPropertyInfo *info; 882s # guint prop_id; 882s # GValue orig_value; /* the value before the change */ 882s # } ChangedProperty; 882s # 882s # static void 882s # _changed_property_free (ChangedProperty *data) 882s # { 882s # g_value_unset (&data->orig_value); 882s # g_free (data); 882s # } 882s # 882s # static gboolean 882s # _g_strv_equal0 (gchar **a, gchar **b) 882s # { 882s # gboolean ret = FALSE; 882s # guint n; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # if (g_strv_length (a) != g_strv_length (b)) 882s # goto out; 882s # for (n = 0; a[n] != NULL; n++) 882s # if (g_strcmp0 (a[n], b[n]) != 0) 882s # goto out; 882s # ret = TRUE; 882s # out: 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _g_variant_equal0 (GVariant *a, GVariant *b) 882s # { 882s # gboolean ret = FALSE; 882s # if (a == NULL && b == NULL) 882s # { 882s # ret = TRUE; 882s # goto out; 882s # } 882s # if (a == NULL || b == NULL) 882s # goto out; 882s # ret = g_variant_equal (a, b); 882s # out: 882s # return ret; 882s # } 882s # 882s # G_GNUC_UNUSED static gboolean 882s # _g_value_equal (const GValue *a, const GValue *b) 882s # { 882s # gboolean ret = FALSE; 882s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 882s # switch (G_VALUE_TYPE (a)) 882s # { 882s # case G_TYPE_BOOLEAN: 882s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 882s # break; 882s # case G_TYPE_UCHAR: 882s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 882s # break; 882s # case G_TYPE_INT: 882s # ret = (g_value_get_int (a) == g_value_get_int (b)); 882s # break; 882s # case G_TYPE_UINT: 882s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 882s # break; 882s # case G_TYPE_INT64: 882s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 882s # break; 882s # case G_TYPE_UINT64: 882s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 882s # break; 882s # case G_TYPE_DOUBLE: 882s # { 882s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 882s # gdouble da = g_value_get_double (a); 882s # gdouble db = g_value_get_double (b); 882s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 882s # } 882s # break; 882s # case G_TYPE_STRING: 882s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 882s # break; 882s # case G_TYPE_VARIANT: 882s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 882s # break; 882s # default: 882s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 882s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 882s # else 882s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 882s # break; 882s # } 882s # return ret; 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.SignalingIface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectSignalingIface 882s # * @title: OrgProjectSignalingIface 882s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 882s # */ 882s # 882s # enum 882s # { 882s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 882s # }; 882s # 882s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 882s # 882s # /* ---- Introspection data for org.project.SignalingIface ---- */ 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SimpleSignal", 882s # NULL, 882s # NULL 882s # }, 882s # "simple-signal" 882s # }; 882s # 882s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 882s # { 882s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.SignalingIface", 882s # NULL, 882s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-signaling-iface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_signaling_iface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_signaling_iface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_signaling_iface_signal_marshal_simple_signal ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__VOID (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectSignalingIface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 882s # */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.SignalingIface. 882s # */ 882s # 882s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 882s # { 882s # /* GObject signals for received D-Bus signals: */ 882s # /** 882s # * OrgProjectSignalingIface::simple-signal: 882s # * @object: A #OrgProjectSignalingIface. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 882s # g_signal_new ("simple-signal", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 882s # NULL, 882s # NULL, 882s # org_project_signaling_iface_signal_marshal_simple_signal, 882s # G_TYPE_NONE, 882s # 0); 882s # 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_emit_simple_signal: 882s # * @object: A #OrgProjectSignalingIface. 882s # * 882s # * Emits the "SimpleSignal" D-Bus signal. 882s # */ 882s # void 882s # org_project_signaling_iface_emit_simple_signal ( 882s # OrgProjectSignalingIface *object) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceProxy: 882s # * 882s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectSignalingIfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectSignalingIfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_signaling_iface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 882s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 882s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_signaling_iface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_signaling_iface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceSkeleton: 882s # * 882s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectSignalingIfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectSignalingIfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_signaling_iface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_signaling_iface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_signaling_iface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 882s # { 882s # _org_project_signaling_iface_skeleton_handle_method_call, 882s # _org_project_signaling_iface_skeleton_handle_get_property, 882s # _org_project_signaling_iface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_signaling_iface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # _org_project_signaling_iface_on_signal_simple_signal ( 882s # OrgProjectSignalingIface *object) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_signaling_iface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 882s # { 882s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 882s # } 882s # 882s # /** 882s # * org_project_signaling_iface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectSignalingIface * 882s # org_project_signaling_iface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ 882s # * Code for interface org.project.OtherSignalingIface 882s # * ------------------------------------------------------------------------ 882s # */ 882s # 882s # /** 882s # * SECTION:OrgProjectOtherSignalingIface 882s # * @title: OrgProjectOtherSignalingIface 882s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 882s # * 882s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 882s # */ 882s # 882s # enum 882s # { 882s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 882s # }; 882s # 882s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 882s # 882s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 882s # 882s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 882s # { 882s # { 882s # -1, 882s # (gchar *) "SimpleSignal", 882s # NULL, 882s # NULL 882s # }, 882s # "simple-signal" 882s # }; 882s # 882s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 882s # { 882s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 882s # NULL 882s # }; 882s # 882s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 882s # { 882s # { 882s # -1, 882s # (gchar *) "org.project.OtherSignalingIface", 882s # NULL, 882s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 882s # NULL, 882s # NULL 882s # }, 882s # "org-project-other-signaling-iface", 882s # }; 882s # 882s # 882s # /** 882s # * org_project_other_signaling_iface_interface_info: 882s # * 882s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 882s # * 882s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 882s # */ 882s # GDBusInterfaceInfo * 882s # org_project_other_signaling_iface_interface_info (void) 882s # { 882s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 882s # } 882s # 882s # /** 882s # * org_project_other_signaling_iface_override_properties: 882s # * @klass: The class structure for a #GObject derived class. 882s # * @property_id_begin: The property id to assign to the first overridden property. 882s # * 882s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 882s # * The properties are overridden in the order they are defined. 882s # * 882s # * Returns: The last property id. 882s # */ 882s # guint 882s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 882s # { 882s # return property_id_begin - 1; 882s # } 882s # 882s # 882s # inline static void 882s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 882s # GClosure *closure, 882s # GValue *return_value, 882s # unsigned int n_param_values, 882s # const GValue *param_values, 882s # void *invocation_hint, 882s # void *marshal_data) 882s # { 882s # g_cclosure_marshal_VOID__VOID (closure, 882s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 882s # } 882s # 882s # 882s # /** 882s # * OrgProjectOtherSignalingIface: 882s # * 882s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 882s # */ 882s # 882s # /** 882s # * OrgProjectOtherSignalingIfaceIface: 882s # * @parent_iface: The parent interface. 882s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 882s # * 882s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 882s # */ 882s # 882s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 882s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 882s # 882s # static void 882s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 882s # { 882s # /* GObject signals for received D-Bus signals: */ 882s # /** 882s # * OrgProjectOtherSignalingIface::simple-signal: 882s # * @object: A #OrgProjectOtherSignalingIface. 882s # * 882s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 882s # * 882s # * 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. 882s # */ 882s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 882s # g_signal_new ("simple-signal", 882s # G_TYPE_FROM_INTERFACE (iface), 882s # G_SIGNAL_RUN_LAST, 882s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 882s # NULL, 882s # NULL, 882s # org_project_other_signaling_iface_signal_marshal_simple_signal, 882s # G_TYPE_NONE, 882s # 0); 882s # 882s # } 882s # 882s # /** 882s # * org_project_other_signaling_iface_emit_simple_signal: 882s # * @object: A #OrgProjectOtherSignalingIface. 882s # * 882s # * Emits the "SimpleSignal" D-Bus signal. 882s # */ 882s # void 882s # org_project_other_signaling_iface_emit_simple_signal ( 882s # OrgProjectOtherSignalingIface *object) 882s # { 882s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 882s # } 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectOtherSignalingIfaceProxy: 882s # * 882s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectOtherSignalingIfaceProxyClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 882s # */ 882s # 882s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 882s # { 882s # GData *qdata; 882s # }; 882s # 882s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 882s # { 882s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 882s # g_datalist_clear (&proxy->priv->qdata); 882s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 882s # guint prop_id G_GNUC_UNUSED, 882s # const GValue *value G_GNUC_UNUSED, 882s # GParamSpec *pspec G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 882s # const gchar *sender_name G_GNUC_UNUSED, 882s # const gchar *signal_name, 882s # GVariant *parameters) 882s # { 882s # _ExtendedGDBusSignalInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # gsize n; 882s # guint signal_id; 882s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 882s # if (info == NULL) 882s # return; 882s # num_params = g_variant_n_children (parameters); 882s # paramv = g_new0 (GValue, num_params + 1); 882s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 882s # g_value_set_object (¶mv[0], proxy); 882s # g_variant_iter_init (&iter, parameters); 882s # n = 1; 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 882s # g_signal_emitv (paramv, signal_id, 0, NULL); 882s # for (n = 0; n < num_params + 1; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 882s # GVariant *changed_properties, 882s # const gchar *const *invalidated_properties) 882s # { 882s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 882s # guint n; 882s # const gchar *key; 882s # GVariantIter *iter; 882s # _ExtendedGDBusPropertyInfo *info; 882s # g_variant_get (changed_properties, "a{sv}", &iter); 882s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 882s # g_datalist_remove_data (&proxy->priv->qdata, key); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # g_variant_iter_free (iter); 882s # for (n = 0; invalidated_properties[n] != NULL; n++) 882s # { 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 882s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 882s # if (info != NULL) 882s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 882s # } 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 882s # #else 882s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 882s # #endif 882s # 882s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusProxyClass *proxy_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 882s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 882s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 882s # 882s # proxy_class = G_DBUS_PROXY_CLASS (klass); 882s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 882s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # /** 882s # * org_project_other_signaling_iface_proxy_new: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 882s # * 882s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_other_signaling_iface_proxy_new ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_other_signaling_iface_proxy_new_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherSignalingIface * 882s # org_project_other_signaling_iface_proxy_new_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_other_signaling_iface_proxy_new_sync: 882s # * @connection: A #GDBusConnection. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherSignalingIface * 882s # org_project_other_signaling_iface_proxy_new_sync ( 882s # GDBusConnection *connection, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /** 882s # * org_project_other_signaling_iface_proxy_new_for_bus: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 882s # * @user_data: User data to pass to @callback. 882s # * 882s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 882s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 882s # * 882s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 882s # */ 882s # void 882s # org_project_other_signaling_iface_proxy_new_for_bus ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GAsyncReadyCallback callback, 882s # gpointer user_data) 882s # { 882s # 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); 882s # } 882s # 882s # /** 882s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 882s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 882s # * @error: Return location for error or %NULL 882s # * 882s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherSignalingIface * 882s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 882s # GAsyncResult *res, 882s # GError **error) 882s # { 882s # GObject *ret; 882s # GObject *source_object; 882s # source_object = g_async_result_get_source_object (res); 882s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 882s # g_object_unref (source_object); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # /** 882s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 882s # * @bus_type: A #GBusType. 882s # * @flags: Flags from the #GDBusProxyFlags enumeration. 882s # * @name: A bus name (well-known or unique). 882s # * @object_path: An object path. 882s # * @cancellable: (nullable): A #GCancellable or %NULL. 882s # * @error: Return location for error or %NULL 882s # * 882s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 882s # * 882s # * The calling thread is blocked until a reply is received. 882s # * 882s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 882s # */ 882s # OrgProjectOtherSignalingIface * 882s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 882s # GBusType bus_type, 882s # GDBusProxyFlags flags, 882s # const gchar *name, 882s # const gchar *object_path, 882s # GCancellable *cancellable, 882s # GError **error) 882s # { 882s # GInitable *ret; 882s # 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); 882s # if (ret != NULL) 882s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 882s # else 882s # return NULL; 882s # } 882s # 882s # 882s # /* ------------------------------------------------------------------------ */ 882s # 882s # /** 882s # * OrgProjectOtherSignalingIfaceSkeleton: 882s # * 882s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 882s # */ 882s # 882s # /** 882s # * OrgProjectOtherSignalingIfaceSkeletonClass: 882s # * @parent_class: The parent class. 882s # * 882s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 882s # */ 882s # 882s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 882s # { 882s # GValue *properties; 882s # GList *changed_properties; 882s # GSource *changed_properties_idle_source; 882s # GMainContext *context; 882s # GMutex lock; 882s # }; 882s # 882s # static void 882s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name, 882s # const gchar *method_name, 882s # GVariant *parameters, 882s # GDBusMethodInvocation *invocation, 882s # gpointer user_data) 882s # { 882s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 882s # _ExtendedGDBusMethodInfo *info; 882s # GVariantIter iter; 882s # GVariant *child; 882s # GValue *paramv; 882s # gsize num_params; 882s # guint num_extra; 882s # gsize n; 882s # guint signal_id; 882s # GValue return_value = G_VALUE_INIT; 882s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 882s # g_assert (info != NULL); 882s # num_params = g_variant_n_children (parameters); 882s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 882s # n = 0; 882s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 882s # g_value_set_object (¶mv[n++], skeleton); 882s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 882s # g_value_set_object (¶mv[n++], invocation); 882s # if (info->pass_fdlist) 882s # { 882s # #ifdef G_OS_UNIX 882s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 882s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 882s # #else 882s # g_assert_not_reached (); 882s # #endif 882s # } 882s # g_variant_iter_init (&iter, parameters); 882s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 882s # { 882s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 882s # if (arg_info->use_gvariant) 882s # { 882s # g_value_init (¶mv[n], G_TYPE_VARIANT); 882s # g_value_set_variant (¶mv[n], child); 882s # n++; 882s # } 882s # else 882s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 882s # g_variant_unref (child); 882s # } 882s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 882s # g_value_init (&return_value, G_TYPE_BOOLEAN); 882s # g_signal_emitv (paramv, signal_id, 0, &return_value); 882s # if (!g_value_get_boolean (&return_value)) 882s # 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); 882s # g_value_unset (&return_value); 882s # for (n = 0; n < num_params + num_extra; n++) 882s # g_value_unset (¶mv[n]); 882s # g_free (paramv); 882s # } 882s # 882s # static GVariant * 882s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # GVariant *ret; 882s # ret = NULL; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # g_value_init (&value, pspec->value_type); 882s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 882s # g_value_unset (&value); 882s # } 882s # return ret; 882s # } 882s # 882s # static gboolean 882s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 882s # GDBusConnection *connection G_GNUC_UNUSED, 882s # const gchar *sender G_GNUC_UNUSED, 882s # const gchar *object_path G_GNUC_UNUSED, 882s # const gchar *interface_name G_GNUC_UNUSED, 882s # const gchar *property_name, 882s # GVariant *variant, 882s # GError **error, 882s # gpointer user_data) 882s # { 882s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 882s # GValue value = G_VALUE_INIT; 882s # GParamSpec *pspec; 882s # _ExtendedGDBusPropertyInfo *info; 882s # gboolean ret; 882s # ret = FALSE; 882s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 882s # g_assert (info != NULL); 882s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 882s # if (pspec == NULL) 882s # { 882s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 882s # } 882s # else 882s # { 882s # if (info->use_gvariant) 882s # g_value_set_variant (&value, variant); 882s # else 882s # g_dbus_gvariant_to_gvalue (variant, &value); 882s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 882s # g_value_unset (&value); 882s # ret = TRUE; 882s # } 882s # return ret; 882s # } 882s # 882s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 882s # { 882s # _org_project_other_signaling_iface_skeleton_handle_method_call, 882s # _org_project_other_signaling_iface_skeleton_handle_get_property, 882s # _org_project_other_signaling_iface_skeleton_handle_set_property, 882s # {NULL} 882s # }; 882s # 882s # static GDBusInterfaceInfo * 882s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return org_project_other_signaling_iface_interface_info (); 882s # } 882s # 882s # static GDBusInterfaceVTable * 882s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 882s # { 882s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 882s # } 882s # 882s # static GVariant * 882s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 882s # { 882s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 882s # 882s # GVariantBuilder builder; 882s # guint n; 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 882s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #else 882s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 882s # #endif 882s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 882s # goto out; 882s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 882s # { 882s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 882s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 882s # { 882s # GVariant *value; 882s # 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); 882s # if (value != NULL) 882s # { 882s # g_variant_take_ref (value); 882s # g_variant_builder_add (&builder, "{sv}", info->name, value); 882s # g_variant_unref (value); 882s # } 882s # } 882s # } 882s # out: 882s # return g_variant_builder_end (&builder); 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 882s # { 882s # } 882s # 882s # static void 882s # _org_project_other_signaling_iface_on_signal_simple_signal ( 882s # OrgProjectOtherSignalingIface *object) 882s # { 882s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 882s # 882s # GList *connections, *l; 882s # GVariant *signal_variant; 882s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 882s # 882s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 882s # for (l = connections; l != NULL; l = l->next) 882s # { 882s # GDBusConnection *connection = l->data; 882s # g_dbus_connection_emit_signal (connection, 882s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 882s # signal_variant, NULL); 882s # } 882s # g_variant_unref (signal_variant); 882s # g_list_free_full (connections, g_object_unref); 882s # } 882s # 882s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 882s # 882s # #else 882s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 882s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 882s # 882s # #endif 882s # static void 882s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 882s # { 882s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 882s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 882s # if (skeleton->priv->changed_properties_idle_source != NULL) 882s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 882s # g_main_context_unref (skeleton->priv->context); 882s # g_mutex_clear (&skeleton->priv->lock); 882s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 882s # { 882s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 882s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 882s # #else 882s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 882s # #endif 882s # 882s # g_mutex_init (&skeleton->priv->lock); 882s # skeleton->priv->context = g_main_context_ref_thread_default (); 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 882s # { 882s # GObjectClass *gobject_class; 882s # GDBusInterfaceSkeletonClass *skeleton_class; 882s # 882s # gobject_class = G_OBJECT_CLASS (klass); 882s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 882s # 882s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 882s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 882s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 882s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 882s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 882s # 882s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 882s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 882s # #endif 882s # } 882s # 882s # static void 882s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 882s # { 882s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 882s # } 882s # 882s # /** 882s # * org_project_other_signaling_iface_skeleton_new: 882s # * 882s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 882s # * 882s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 882s # */ 882s # OrgProjectOtherSignalingIface * 882s # org_project_other_signaling_iface_skeleton_new (void) 882s # { 882s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 882s # } 882s # Error: 883s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpv3ne08s7 883s # /tmp/tmpv3ne08s7/tmp9vgy5wam.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmp9vgy5wam.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_b", 883s # (gchar *) "b", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalB", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-b" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__BOOLEAN (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-b: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_b: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 883s # g_signal_new ("single-arg-signal-b", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_BOOLEAN); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_b: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_b: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalB" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_b ( 883s # OrgProjectSignalingIface *object, 883s # gboolean arg_arg_b) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 883s # OrgProjectSignalingIface *object, 883s # gboolean arg_arg_b) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 883s # arg_arg_b)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpoxpa5nrq.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpoxpa5nrq.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_y", 883s # (gchar *) "y", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalY", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-y" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__UCHAR (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-y: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_y: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 883s # g_signal_new ("single-arg-signal-y", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_UCHAR); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_y: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_y: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalY" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_y ( 883s # OrgProjectSignalingIface *object, 883s # guchar arg_arg_y) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 883s # OrgProjectSignalingIface *object, 883s # guchar arg_arg_y) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 883s # arg_arg_y)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmp3x9yu95j.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmp3x9yu95j.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_n", 883s # (gchar *) "n", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalN", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-n" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__INT (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-n: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_n: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 883s # g_signal_new ("single-arg-signal-n", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_INT); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_n: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_n: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalN" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_n ( 883s # OrgProjectSignalingIface *object, 883s # gint16 arg_arg_n) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 883s # OrgProjectSignalingIface *object, 883s # gint16 arg_arg_n) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 883s # arg_arg_n)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpfae223yi.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpfae223yi.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_q", 883s # (gchar *) "q", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalQ", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-q" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__UINT (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-q: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_q: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 883s # g_signal_new ("single-arg-signal-q", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_UINT); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_q: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_q: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalQ" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_q ( 883s # OrgProjectSignalingIface *object, 883s # guint16 arg_arg_q) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 883s # OrgProjectSignalingIface *object, 883s # guint16 arg_arg_q) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 883s # arg_arg_q)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpe9prjtpq.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpe9prjtpq.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_i", 883s # (gchar *) "i", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalI", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-i" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__INT (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-i: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_i: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 883s # g_signal_new ("single-arg-signal-i", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_INT); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_i: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_i: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalI" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_i ( 883s # OrgProjectSignalingIface *object, 883s # gint arg_arg_i) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 883s # OrgProjectSignalingIface *object, 883s # gint arg_arg_i) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 883s # arg_arg_i)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpyw15ozze.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpyw15ozze.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_u", 883s # (gchar *) "u", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalU", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-u" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__UINT (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-u: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_u: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 883s # g_signal_new ("single-arg-signal-u", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_UINT); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_u: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_u: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalU" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_u ( 883s # OrgProjectSignalingIface *object, 883s # guint arg_arg_u) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 883s # OrgProjectSignalingIface *object, 883s # guint arg_arg_u) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 883s # arg_arg_u)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpxdjibg52.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpxdjibg52.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # static void 883s # _g_dbus_codegen_marshal_VOID__INT64 ( 883s # GClosure *closure, 883s # GValue *return_value G_GNUC_UNUSED, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint G_GNUC_UNUSED, 883s # void *marshal_data) 883s # { 883s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 883s # (void *data1, 883s # gint64 arg_arg_x, 883s # void *data2); 883s # _GDbusCodegenMarshalVoid_Int64Func callback; 883s # GCClosure *cc = (GCClosure*) closure; 883s # void *data1, *data2; 883s # 883s # g_return_if_fail (n_param_values == 2); 883s # 883s # if (G_CCLOSURE_SWAP_DATA (closure)) 883s # { 883s # data1 = closure->data; 883s # data2 = g_value_peek_pointer (param_values + 0); 883s # } 883s # else 883s # { 883s # data1 = g_value_peek_pointer (param_values + 0); 883s # data2 = closure->data; 883s # } 883s # 883s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 883s # (marshal_data ? marshal_data : cc->callback); 883s # 883s # callback (data1, 883s # g_marshal_value_peek_int64 (param_values + 1), 883s # data2); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_x", 883s # (gchar *) "x", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalX", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-x" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-x: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_x: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 883s # g_signal_new ("single-arg-signal-x", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_INT64); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_x: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_x: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalX" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_x ( 883s # OrgProjectSignalingIface *object, 883s # gint64 arg_arg_x) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 883s # OrgProjectSignalingIface *object, 883s # gint64 arg_arg_x) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 883s # arg_arg_x)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpwd8_3uav.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpwd8_3uav.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # static void 883s # _g_dbus_codegen_marshal_VOID__UINT64 ( 883s # GClosure *closure, 883s # GValue *return_value G_GNUC_UNUSED, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint G_GNUC_UNUSED, 883s # void *marshal_data) 883s # { 883s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 883s # (void *data1, 883s # guint64 arg_arg_t, 883s # void *data2); 883s # _GDbusCodegenMarshalVoid_Uint64Func callback; 883s # GCClosure *cc = (GCClosure*) closure; 883s # void *data1, *data2; 883s # 883s # g_return_if_fail (n_param_values == 2); 883s # 883s # if (G_CCLOSURE_SWAP_DATA (closure)) 883s # { 883s # data1 = closure->data; 883s # data2 = g_value_peek_pointer (param_values + 0); 883s # } 883s # else 883s # { 883s # data1 = g_value_peek_pointer (param_values + 0); 883s # data2 = closure->data; 883s # } 883s # 883s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 883s # (marshal_data ? marshal_data : cc->callback); 883s # 883s # callback (data1, 883s # g_marshal_value_peek_uint64 (param_values + 1), 883s # data2); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_t", 883s # (gchar *) "t", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalT", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-t" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-t: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_t: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 883s # g_signal_new ("single-arg-signal-t", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_UINT64); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_t: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_t: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalT" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_t ( 883s # OrgProjectSignalingIface *object, 883s # guint64 arg_arg_t) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 883s # OrgProjectSignalingIface *object, 883s # guint64 arg_arg_t) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 883s # arg_arg_t)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpej380x39.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpej380x39.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_d", 883s # (gchar *) "d", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalD", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-d" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__DOUBLE (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-d: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_d: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 883s # g_signal_new ("single-arg-signal-d", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_DOUBLE); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_d: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_d: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalD" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_d ( 883s # OrgProjectSignalingIface *object, 883s # gdouble arg_arg_d) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 883s # OrgProjectSignalingIface *object, 883s # gdouble arg_arg_d) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 883s # arg_arg_d)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmp9lacpr85.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmp9lacpr85.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_s", 883s # (gchar *) "s", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalS", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-s" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__STRING (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-s: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_s: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 883s # g_signal_new ("single-arg-signal-s", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_STRING); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_s: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_s: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalS" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_s ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *arg_arg_s) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *arg_arg_s) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 883s # arg_arg_s)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpcrlgnmja.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpcrlgnmja.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_o", 883s # (gchar *) "o", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalO", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-o" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__STRING (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-o: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_o: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 883s # g_signal_new ("single-arg-signal-o", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_STRING); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_o: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_o: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalO" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_o ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *arg_arg_o) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *arg_arg_o) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 883s # arg_arg_o)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpza0v5r0h.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpza0v5r0h.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_g", 883s # (gchar *) "g", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalG", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-g" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__STRING (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-g: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_g: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 883s # g_signal_new ("single-arg-signal-g", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_STRING); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_g: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_g: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalG" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_g ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *arg_arg_g) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *arg_arg_g) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 883s # arg_arg_g)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpx2o12plt.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpx2o12plt.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_h", 883s # (gchar *) "h", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalH", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-h" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VARIANT (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-h: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_h: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 883s # g_signal_new ("single-arg-signal-h", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_VARIANT); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_h: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_h: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalH" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_h ( 883s # OrgProjectSignalingIface *object, 883s # GVariant *arg_arg_h) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 883s # OrgProjectSignalingIface *object, 883s # GVariant *arg_arg_h) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 883s # arg_arg_h)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmp72ftmx5m.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmp72ftmx5m.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_ay", 883s # (gchar *) "ay", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalAy", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-ay" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__STRING (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-ay: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_ay: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 883s # g_signal_new ("single-arg-signal-ay", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_STRING); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_ay: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_ay: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalAy" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_ay ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *arg_arg_ay) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *arg_arg_ay) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 883s # arg_arg_ay)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpw7mufmim.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpw7mufmim.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_as", 883s # (gchar *) "as", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalAs", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-as" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__BOXED (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-as: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_as: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 883s # g_signal_new ("single-arg-signal-as", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_STRV); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_as: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_as: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalAs" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_as ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *const *arg_arg_as) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *const *arg_arg_as) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 883s # arg_arg_as)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmpn6pnrq9y.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmpn6pnrq9y.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_ao", 883s # (gchar *) "ao", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalAo", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-ao" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__BOXED (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-ao: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_ao: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 883s # g_signal_new ("single-arg-signal-ao", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_STRV); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_ao: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_ao: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalAo" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_ao ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *const *arg_arg_ao) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *const *arg_arg_ao) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 883s # arg_arg_ao)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmprt1g1_tf.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmprt1g1_tf.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_aay", 883s # (gchar *) "aay", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalAay", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-aay" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__BOXED (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-aay: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_aay: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 883s # g_signal_new ("single-arg-signal-aay", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_STRV); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_aay: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_aay: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalAay" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_aay ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *const *arg_arg_aay) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 883s # OrgProjectSignalingIface *object, 883s # const gchar *const *arg_arg_aay) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 883s # arg_arg_aay)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s # 883s # /tmp/tmpv3ne08s7/tmptxnzf494.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3ne08s7/tmptxnzf494.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 883s # { 883s # { 883s # -1, 883s # (gchar *) "arg_asv", 883s # (gchar *) "a{sv}", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SingleArgSignalAsv", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 883s # NULL 883s # }, 883s # "single-arg-signal-asv" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VARIANT (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::single-arg-signal-asv: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_asv: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 883s # g_signal_new ("single-arg-signal-asv", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 883s # G_TYPE_NONE, 883s # 1, G_TYPE_VARIANT); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_single_arg_signal_asv: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_arg_asv: Argument to pass with the signal. 883s # * 883s # * Emits the "SingleArgSignalAsv" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_single_arg_signal_asv ( 883s # OrgProjectSignalingIface *object, 883s # GVariant *arg_arg_asv) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 883s # OrgProjectSignalingIface *object, 883s # GVariant *arg_arg_asv) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 883s # arg_arg_asv)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmplarxoyni 883s # /tmp/tmplarxoyni/tmp8yhv4uaj.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplarxoyni/tmp8yhv4uaj.xml', '--output', '-', '--body'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifdef HAVE_CONFIG_H 883s # # include "config.h" 883s # #endif 883s # 883s # #include 883s # #ifdef G_OS_UNIX 883s # # include 883s # #endif 883s # 883s # #ifdef G_ENABLE_DEBUG 883s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 883s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 883s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 883s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 883s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 883s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 883s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 883s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 883s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 883s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 883s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 883s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 883s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 883s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 883s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 883s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 883s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 883s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 883s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 883s # #else /* !G_ENABLE_DEBUG */ 883s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 883s # * Do not access GValues directly in your code. Instead, use the 883s # * g_value_get_*() functions 883s # */ 883s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 883s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 883s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 883s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 883s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 883s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 883s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 883s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 883s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 883s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 883s # #endif /* !G_ENABLE_DEBUG */ 883s # 883s # typedef struct 883s # { 883s # GDBusArgInfo parent_struct; 883s # gboolean use_gvariant; 883s # } _ExtendedGDBusArgInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusMethodInfo parent_struct; 883s # const gchar *signal_name; 883s # gboolean pass_fdlist; 883s # } _ExtendedGDBusMethodInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusSignalInfo parent_struct; 883s # const gchar *signal_name; 883s # } _ExtendedGDBusSignalInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusPropertyInfo parent_struct; 883s # const gchar *hyphen_name; 883s # guint use_gvariant : 1; 883s # guint emits_changed_signal : 1; 883s # } _ExtendedGDBusPropertyInfo; 883s # 883s # typedef struct 883s # { 883s # GDBusInterfaceInfo parent_struct; 883s # const gchar *hyphen_name; 883s # } _ExtendedGDBusInterfaceInfo; 883s # 883s # typedef struct 883s # { 883s # const _ExtendedGDBusPropertyInfo *info; 883s # guint prop_id; 883s # GValue orig_value; /* the value before the change */ 883s # } ChangedProperty; 883s # 883s # static void 883s # _changed_property_free (ChangedProperty *data) 883s # { 883s # g_value_unset (&data->orig_value); 883s # g_free (data); 883s # } 883s # 883s # static gboolean 883s # _g_strv_equal0 (gchar **a, gchar **b) 883s # { 883s # gboolean ret = FALSE; 883s # guint n; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # if (g_strv_length (a) != g_strv_length (b)) 883s # goto out; 883s # for (n = 0; a[n] != NULL; n++) 883s # if (g_strcmp0 (a[n], b[n]) != 0) 883s # goto out; 883s # ret = TRUE; 883s # out: 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _g_variant_equal0 (GVariant *a, GVariant *b) 883s # { 883s # gboolean ret = FALSE; 883s # if (a == NULL && b == NULL) 883s # { 883s # ret = TRUE; 883s # goto out; 883s # } 883s # if (a == NULL || b == NULL) 883s # goto out; 883s # ret = g_variant_equal (a, b); 883s # out: 883s # return ret; 883s # } 883s # 883s # G_GNUC_UNUSED static gboolean 883s # _g_value_equal (const GValue *a, const GValue *b) 883s # { 883s # gboolean ret = FALSE; 883s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 883s # switch (G_VALUE_TYPE (a)) 883s # { 883s # case G_TYPE_BOOLEAN: 883s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 883s # break; 883s # case G_TYPE_UCHAR: 883s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 883s # break; 883s # case G_TYPE_INT: 883s # ret = (g_value_get_int (a) == g_value_get_int (b)); 883s # break; 883s # case G_TYPE_UINT: 883s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 883s # break; 883s # case G_TYPE_INT64: 883s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 883s # break; 883s # case G_TYPE_UINT64: 883s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 883s # break; 883s # case G_TYPE_DOUBLE: 883s # { 883s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 883s # gdouble da = g_value_get_double (a); 883s # gdouble db = g_value_get_double (b); 883s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 883s # } 883s # break; 883s # case G_TYPE_STRING: 883s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 883s # break; 883s # case G_TYPE_VARIANT: 883s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 883s # break; 883s # default: 883s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 883s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 883s # else 883s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 883s # break; 883s # } 883s # return ret; 883s # } 883s # 883s # static void 883s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 883s # GClosure *closure, 883s # GValue *return_value G_GNUC_UNUSED, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint G_GNUC_UNUSED, 883s # void *marshal_data) 883s # { 883s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 883s # (void *data1, 883s # gboolean arg_an_b, 883s # guchar arg_an_y, 883s # gint16 arg_an_n, 883s # guint16 arg_an_q, 883s # gint arg_an_i, 883s # guint arg_an_u, 883s # gint64 arg_an_x, 883s # guint64 arg_an_t, 883s # gdouble arg_an_d, 883s # const gchar *arg_an_s, 883s # const gchar *arg_an_o, 883s # const gchar *arg_an_g, 883s # GVariant *arg_an_h, 883s # const gchar *arg_an_ay, 883s # const gchar *const *arg_an_as, 883s # const gchar *const *arg_an_ao, 883s # const gchar *const *arg_an_aay, 883s # GVariant *arg_an_asv, 883s # void *data2); 883s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 883s # GCClosure *cc = (GCClosure*) closure; 883s # void *data1, *data2; 883s # 883s # g_return_if_fail (n_param_values == 19); 883s # 883s # if (G_CCLOSURE_SWAP_DATA (closure)) 883s # { 883s # data1 = closure->data; 883s # data2 = g_value_peek_pointer (param_values + 0); 883s # } 883s # else 883s # { 883s # data1 = g_value_peek_pointer (param_values + 0); 883s # data2 = closure->data; 883s # } 883s # 883s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 883s # (marshal_data ? marshal_data : cc->callback); 883s # 883s # callback (data1, 883s # g_marshal_value_peek_boolean (param_values + 1), 883s # g_marshal_value_peek_uchar (param_values + 2), 883s # g_marshal_value_peek_int (param_values + 3), 883s # g_marshal_value_peek_uint (param_values + 4), 883s # g_marshal_value_peek_int (param_values + 5), 883s # g_marshal_value_peek_uint (param_values + 6), 883s # g_marshal_value_peek_int64 (param_values + 7), 883s # g_marshal_value_peek_uint64 (param_values + 8), 883s # g_marshal_value_peek_double (param_values + 9), 883s # g_marshal_value_peek_string (param_values + 10), 883s # g_marshal_value_peek_string (param_values + 11), 883s # g_marshal_value_peek_string (param_values + 12), 883s # g_marshal_value_peek_variant (param_values + 13), 883s # g_marshal_value_peek_string (param_values + 14), 883s # g_marshal_value_peek_boxed (param_values + 15), 883s # g_marshal_value_peek_boxed (param_values + 16), 883s # g_marshal_value_peek_boxed (param_values + 17), 883s # g_marshal_value_peek_variant (param_values + 18), 883s # data2); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ 883s # * Code for interface org.project.SignalingIface 883s # * ------------------------------------------------------------------------ 883s # */ 883s # 883s # /** 883s # * SECTION:OrgProjectSignalingIface 883s # * @title: OrgProjectSignalingIface 883s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 883s # * 883s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 883s # */ 883s # 883s # enum 883s # { 883s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 883s # }; 883s # 883s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 883s # 883s # /* ---- Introspection data for org.project.SignalingIface ---- */ 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SimpleSignal", 883s # NULL, 883s # NULL 883s # }, 883s # "simple-signal" 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_b", 883s # (gchar *) "b", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_y", 883s # (gchar *) "y", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_n", 883s # (gchar *) "n", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_q", 883s # (gchar *) "q", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_i", 883s # (gchar *) "i", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_u", 883s # (gchar *) "u", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_x", 883s # (gchar *) "x", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_t", 883s # (gchar *) "t", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_d", 883s # (gchar *) "d", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_s", 883s # (gchar *) "s", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_o", 883s # (gchar *) "o", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_g", 883s # (gchar *) "g", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_h", 883s # (gchar *) "h", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_ay", 883s # (gchar *) "ay", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_as", 883s # (gchar *) "as", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_ao", 883s # (gchar *) "ao", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_aay", 883s # (gchar *) "aay", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 883s # { 883s # { 883s # -1, 883s # (gchar *) "an_asv", 883s # (gchar *) "a{sv}", 883s # NULL 883s # }, 883s # FALSE 883s # }; 883s # 883s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 883s # { 883s # { 883s # -1, 883s # (gchar *) "SignalWithManyArgs", 883s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 883s # NULL 883s # }, 883s # "signal-with-many-args" 883s # }; 883s # 883s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 883s # { 883s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 883s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 883s # NULL 883s # }; 883s # 883s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 883s # { 883s # { 883s # -1, 883s # (gchar *) "org.project.SignalingIface", 883s # NULL, 883s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 883s # NULL, 883s # NULL 883s # }, 883s # "org-project-signaling-iface", 883s # }; 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_interface_info: 883s # * 883s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 883s # * 883s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 883s # */ 883s # GDBusInterfaceInfo * 883s # org_project_signaling_iface_interface_info (void) 883s # { 883s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_override_properties: 883s # * @klass: The class structure for a #GObject derived class. 883s # * @property_id_begin: The property id to assign to the first overridden property. 883s # * 883s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 883s # * The properties are overridden in the order they are defined. 883s # * 883s # * Returns: The last property id. 883s # */ 883s # guint 883s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 883s # { 883s # return property_id_begin - 1; 883s # } 883s # 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_simple_signal ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # g_cclosure_marshal_VOID__VOID (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # inline static void 883s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 883s # GClosure *closure, 883s # GValue *return_value, 883s # unsigned int n_param_values, 883s # const GValue *param_values, 883s # void *invocation_hint, 883s # void *marshal_data) 883s # { 883s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 883s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 883s # } 883s # 883s # 883s # /** 883s # * OrgProjectSignalingIface: 883s # * 883s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceIface: 883s # * @parent_iface: The parent interface. 883s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 883s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 883s # * 883s # * Virtual table for the D-Bus interface org.project.SignalingIface. 883s # */ 883s # 883s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 883s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 883s # 883s # static void 883s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # /* GObject signals for received D-Bus signals: */ 883s # /** 883s # * OrgProjectSignalingIface::simple-signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 883s # g_signal_new ("simple-signal", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_simple_signal, 883s # G_TYPE_NONE, 883s # 0); 883s # 883s # /** 883s # * OrgProjectSignalingIface::signal-with-many-args: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_an_b: Argument. 883s # * @arg_an_y: Argument. 883s # * @arg_an_n: Argument. 883s # * @arg_an_q: Argument. 883s # * @arg_an_i: Argument. 883s # * @arg_an_u: Argument. 883s # * @arg_an_x: Argument. 883s # * @arg_an_t: Argument. 883s # * @arg_an_d: Argument. 883s # * @arg_an_s: Argument. 883s # * @arg_an_o: Argument. 883s # * @arg_an_g: Argument. 883s # * @arg_an_h: Argument. 883s # * @arg_an_ay: Argument. 883s # * @arg_an_as: Argument. 883s # * @arg_an_ao: Argument. 883s # * @arg_an_aay: Argument. 883s # * @arg_an_asv: Argument. 883s # * 883s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 883s # * 883s # * 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. 883s # */ 883s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 883s # g_signal_new ("signal-with-many-args", 883s # G_TYPE_FROM_INTERFACE (iface), 883s # G_SIGNAL_RUN_LAST, 883s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 883s # NULL, 883s # NULL, 883s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 883s # G_TYPE_NONE, 883s # 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); 883s # 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_simple_signal: 883s # * @object: A #OrgProjectSignalingIface. 883s # * 883s # * Emits the "SimpleSignal" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_emit_signal_with_many_args: 883s # * @object: A #OrgProjectSignalingIface. 883s # * @arg_an_b: Argument to pass with the signal. 883s # * @arg_an_y: Argument to pass with the signal. 883s # * @arg_an_n: Argument to pass with the signal. 883s # * @arg_an_q: Argument to pass with the signal. 883s # * @arg_an_i: Argument to pass with the signal. 883s # * @arg_an_u: Argument to pass with the signal. 883s # * @arg_an_x: Argument to pass with the signal. 883s # * @arg_an_t: Argument to pass with the signal. 883s # * @arg_an_d: Argument to pass with the signal. 883s # * @arg_an_s: Argument to pass with the signal. 883s # * @arg_an_o: Argument to pass with the signal. 883s # * @arg_an_g: Argument to pass with the signal. 883s # * @arg_an_h: Argument to pass with the signal. 883s # * @arg_an_ay: Argument to pass with the signal. 883s # * @arg_an_as: Argument to pass with the signal. 883s # * @arg_an_ao: Argument to pass with the signal. 883s # * @arg_an_aay: Argument to pass with the signal. 883s # * @arg_an_asv: Argument to pass with the signal. 883s # * 883s # * Emits the "SignalWithManyArgs" D-Bus signal. 883s # */ 883s # void 883s # org_project_signaling_iface_emit_signal_with_many_args ( 883s # OrgProjectSignalingIface *object, 883s # gboolean arg_an_b, 883s # guchar arg_an_y, 883s # gint16 arg_an_n, 883s # guint16 arg_an_q, 883s # gint arg_an_i, 883s # guint arg_an_u, 883s # gint64 arg_an_x, 883s # guint64 arg_an_t, 883s # gdouble arg_an_d, 883s # const gchar *arg_an_s, 883s # const gchar *arg_an_o, 883s # const gchar *arg_an_g, 883s # GVariant *arg_an_h, 883s # const gchar *arg_an_ay, 883s # const gchar *const *arg_an_as, 883s # const gchar *const *arg_an_ao, 883s # const gchar *const *arg_an_aay, 883s # GVariant *arg_an_asv) 883s # { 883s # 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); 883s # } 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxy: 883s # * 883s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceProxyClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceProxy. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceProxyPrivate 883s # { 883s # GData *qdata; 883s # }; 883s # 883s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_proxy_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 883s # g_datalist_clear (&proxy->priv->qdata); 883s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 883s # guint prop_id G_GNUC_UNUSED, 883s # const GValue *value G_GNUC_UNUSED, 883s # GParamSpec *pspec G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 883s # const gchar *sender_name G_GNUC_UNUSED, 883s # const gchar *signal_name, 883s # GVariant *parameters) 883s # { 883s # _ExtendedGDBusSignalInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # gsize n; 883s # guint signal_id; 883s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 883s # if (info == NULL) 883s # return; 883s # num_params = g_variant_n_children (parameters); 883s # paramv = g_new0 (GValue, num_params + 1); 883s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[0], proxy); 883s # g_variant_iter_init (&iter, parameters); 883s # n = 1; 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_signal_emitv (paramv, signal_id, 0, NULL); 883s # for (n = 0; n < num_params + 1; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 883s # GVariant *changed_properties, 883s # const gchar *const *invalidated_properties) 883s # { 883s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 883s # guint n; 883s # const gchar *key; 883s # GVariantIter *iter; 883s # _ExtendedGDBusPropertyInfo *info; 883s # g_variant_get (changed_properties, "a{sv}", &iter); 883s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 883s # g_datalist_remove_data (&proxy->priv->qdata, key); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # g_variant_iter_free (iter); 883s # for (n = 0; invalidated_properties[n] != NULL; n++) 883s # { 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 883s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 883s # if (info != NULL) 883s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 883s # } 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 883s # #else 883s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 883s # #endif 883s # 883s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusProxyClass *proxy_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 883s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 883s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 883s # 883s # proxy_class = G_DBUS_PROXY_CLASS (klass); 883s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 883s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_sync: 883s # * @connection: A #GDBusConnection. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_sync ( 883s # GDBusConnection *connection, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 883s # * @user_data: User data to pass to @callback. 883s # * 883s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 883s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 883s # */ 883s # void 883s # org_project_signaling_iface_proxy_new_for_bus ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GAsyncReadyCallback callback, 883s # gpointer user_data) 883s # { 883s # 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); 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_finish: 883s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 883s # * @error: Return location for error or %NULL 883s # * 883s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_finish ( 883s # GAsyncResult *res, 883s # GError **error) 883s # { 883s # GObject *ret; 883s # GObject *source_object; 883s # source_object = g_async_result_get_source_object (res); 883s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 883s # g_object_unref (source_object); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_proxy_new_for_bus_sync: 883s # * @bus_type: A #GBusType. 883s # * @flags: Flags from the #GDBusProxyFlags enumeration. 883s # * @name: A bus name (well-known or unique). 883s # * @object_path: An object path. 883s # * @cancellable: (nullable): A #GCancellable or %NULL. 883s # * @error: Return location for error or %NULL 883s # * 883s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 883s # * 883s # * The calling thread is blocked until a reply is received. 883s # * 883s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_proxy_new_for_bus_sync ( 883s # GBusType bus_type, 883s # GDBusProxyFlags flags, 883s # const gchar *name, 883s # const gchar *object_path, 883s # GCancellable *cancellable, 883s # GError **error) 883s # { 883s # GInitable *ret; 883s # 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); 883s # if (ret != NULL) 883s # return ORG_PROJECT_SIGNALING_IFACE (ret); 883s # else 883s # return NULL; 883s # } 883s # 883s # 883s # /* ------------------------------------------------------------------------ */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeleton: 883s # * 883s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 883s # */ 883s # 883s # /** 883s # * OrgProjectSignalingIfaceSkeletonClass: 883s # * @parent_class: The parent class. 883s # * 883s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 883s # */ 883s # 883s # struct _OrgProjectSignalingIfaceSkeletonPrivate 883s # { 883s # GValue *properties; 883s # GList *changed_properties; 883s # GSource *changed_properties_idle_source; 883s # GMainContext *context; 883s # GMutex lock; 883s # }; 883s # 883s # static void 883s # _org_project_signaling_iface_skeleton_handle_method_call ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name, 883s # const gchar *method_name, 883s # GVariant *parameters, 883s # GDBusMethodInvocation *invocation, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # _ExtendedGDBusMethodInfo *info; 883s # GVariantIter iter; 883s # GVariant *child; 883s # GValue *paramv; 883s # gsize num_params; 883s # guint num_extra; 883s # gsize n; 883s # guint signal_id; 883s # GValue return_value = G_VALUE_INIT; 883s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 883s # g_assert (info != NULL); 883s # num_params = g_variant_n_children (parameters); 883s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 883s # n = 0; 883s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_set_object (¶mv[n++], skeleton); 883s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 883s # g_value_set_object (¶mv[n++], invocation); 883s # if (info->pass_fdlist) 883s # { 883s # #ifdef G_OS_UNIX 883s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 883s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 883s # #else 883s # g_assert_not_reached (); 883s # #endif 883s # } 883s # g_variant_iter_init (&iter, parameters); 883s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 883s # { 883s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 883s # if (arg_info->use_gvariant) 883s # { 883s # g_value_init (¶mv[n], G_TYPE_VARIANT); 883s # g_value_set_variant (¶mv[n], child); 883s # n++; 883s # } 883s # else 883s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 883s # g_variant_unref (child); 883s # } 883s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 883s # g_value_init (&return_value, G_TYPE_BOOLEAN); 883s # g_signal_emitv (paramv, signal_id, 0, &return_value); 883s # if (!g_value_get_boolean (&return_value)) 883s # 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); 883s # g_value_unset (&return_value); 883s # for (n = 0; n < num_params + num_extra; n++) 883s # g_value_unset (¶mv[n]); 883s # g_free (paramv); 883s # } 883s # 883s # static GVariant * 883s # _org_project_signaling_iface_skeleton_handle_get_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # GVariant *ret; 883s # ret = NULL; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # g_value_init (&value, pspec->value_type); 883s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 883s # g_value_unset (&value); 883s # } 883s # return ret; 883s # } 883s # 883s # static gboolean 883s # _org_project_signaling_iface_skeleton_handle_set_property ( 883s # GDBusConnection *connection G_GNUC_UNUSED, 883s # const gchar *sender G_GNUC_UNUSED, 883s # const gchar *object_path G_GNUC_UNUSED, 883s # const gchar *interface_name G_GNUC_UNUSED, 883s # const gchar *property_name, 883s # GVariant *variant, 883s # GError **error, 883s # gpointer user_data) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 883s # GValue value = G_VALUE_INIT; 883s # GParamSpec *pspec; 883s # _ExtendedGDBusPropertyInfo *info; 883s # gboolean ret; 883s # ret = FALSE; 883s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 883s # g_assert (info != NULL); 883s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 883s # if (pspec == NULL) 883s # { 883s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 883s # } 883s # else 883s # { 883s # if (info->use_gvariant) 883s # g_value_set_variant (&value, variant); 883s # else 883s # g_dbus_gvariant_to_gvalue (variant, &value); 883s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 883s # g_value_unset (&value); 883s # ret = TRUE; 883s # } 883s # return ret; 883s # } 883s # 883s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 883s # { 883s # _org_project_signaling_iface_skeleton_handle_method_call, 883s # _org_project_signaling_iface_skeleton_handle_get_property, 883s # _org_project_signaling_iface_skeleton_handle_set_property, 883s # {NULL} 883s # }; 883s # 883s # static GDBusInterfaceInfo * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return org_project_signaling_iface_interface_info (); 883s # } 883s # 883s # static GDBusInterfaceVTable * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 883s # { 883s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 883s # } 883s # 883s # static GVariant * 883s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 883s # 883s # GVariantBuilder builder; 883s # guint n; 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 883s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #else 883s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 883s # #endif 883s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 883s # goto out; 883s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 883s # { 883s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 883s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 883s # { 883s # GVariant *value; 883s # 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); 883s # if (value != NULL) 883s # { 883s # g_variant_take_ref (value); 883s # g_variant_builder_add (&builder, "{sv}", info->name, value); 883s # g_variant_unref (value); 883s # } 883s # } 883s # } 883s # out: 883s # return g_variant_builder_end (&builder); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 883s # { 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_simple_signal ( 883s # OrgProjectSignalingIface *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void 883s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 883s # OrgProjectSignalingIface *object, 883s # gboolean arg_an_b, 883s # guchar arg_an_y, 883s # gint16 arg_an_n, 883s # guint16 arg_an_q, 883s # gint arg_an_i, 883s # guint arg_an_u, 883s # gint64 arg_an_x, 883s # guint64 arg_an_t, 883s # gdouble arg_an_d, 883s # const gchar *arg_an_s, 883s # const gchar *arg_an_o, 883s # const gchar *arg_an_g, 883s # GVariant *arg_an_h, 883s # const gchar *arg_an_ay, 883s # const gchar *const *arg_an_as, 883s # const gchar *const *arg_an_ao, 883s # const gchar *const *arg_an_aay, 883s # GVariant *arg_an_asv) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # 883s # GList *connections, *l; 883s # GVariant *signal_variant; 883s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 883s # 883s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 883s # arg_an_b, 883s # arg_an_y, 883s # arg_an_n, 883s # arg_an_q, 883s # arg_an_i, 883s # arg_an_u, 883s # arg_an_x, 883s # arg_an_t, 883s # arg_an_d, 883s # arg_an_s, 883s # arg_an_o, 883s # arg_an_g, 883s # arg_an_h, 883s # arg_an_ay, 883s # arg_an_as, 883s # arg_an_ao, 883s # arg_an_aay, 883s # arg_an_asv)); 883s # for (l = connections; l != NULL; l = l->next) 883s # { 883s # GDBusConnection *connection = l->data; 883s # g_dbus_connection_emit_signal (connection, 883s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 883s # signal_variant, NULL); 883s # } 883s # g_variant_unref (signal_variant); 883s # g_list_free_full (connections, g_object_unref); 883s # } 883s # 883s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #else 883s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 883s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 883s # 883s # #endif 883s # static void 883s # org_project_signaling_iface_skeleton_finalize (GObject *object) 883s # { 883s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 883s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 883s # if (skeleton->priv->changed_properties_idle_source != NULL) 883s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 883s # g_main_context_unref (skeleton->priv->context); 883s # g_mutex_clear (&skeleton->priv->lock); 883s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 883s # { 883s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 883s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 883s # #else 883s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 883s # #endif 883s # 883s # g_mutex_init (&skeleton->priv->lock); 883s # skeleton->priv->context = g_main_context_ref_thread_default (); 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 883s # { 883s # GObjectClass *gobject_class; 883s # GDBusInterfaceSkeletonClass *skeleton_class; 883s # 883s # gobject_class = G_OBJECT_CLASS (klass); 883s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 883s # 883s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 883s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 883s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 883s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 883s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 883s # 883s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 883s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 883s # #endif 883s # } 883s # 883s # static void 883s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 883s # { 883s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 883s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 883s # } 883s # 883s # /** 883s # * org_project_signaling_iface_skeleton_new: 883s # * 883s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 883s # * 883s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 883s # */ 883s # OrgProjectSignalingIface * 883s # org_project_signaling_iface_skeleton_new (void) 883s # { 883s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 883s # } 883s # Error: 883s ok 25 __main__.TestCodegen.test_generate_valid_docbook 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpyde0chv_ 883s # /tmp/tmpyde0chv_/tmpu97xr3ab.xml: 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyde0chv_/tmpu97xr3ab.xml', '--generate-docbook', 'test'] 883s # Return code: 0 883s # Output: 883s # 883s # Error: 883s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpz26r20wm 883s # /tmp/tmpz26r20wm/tmpxkclcecn.xml: 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz26r20wm/tmpxkclcecn.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 883s # Return code: 1 883s # Output: 883s # 883s # Error: 883s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 883s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpb_ph3smd 883s # /tmp/tmpb_ph3smd/tmpm27uvaea.xml: 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb_ph3smd/tmpm27uvaea.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifndef __STDOUT__ 883s # #define __STDOUT__ 883s # 883s # #include 883s # 883s # G_BEGIN_DECLS 883s # 883s # 883s # G_END_DECLS 883s # 883s # #endif /* __STDOUT__ */ 883s # Error: 883s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpe56z0iqa 883s # /tmp/tmpe56z0iqa/tmpms36ix7v.xml: 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe56z0iqa/tmpms36ix7v.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 883s # Return code: 1 883s # Output: 883s # 883s # Error: 883s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 883s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpqqygyapk 883s # /tmp/tmpqqygyapk/tmpqva6c0fb.xml: 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqqygyapk/tmpqva6c0fb.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifndef __STDOUT__ 883s # #define __STDOUT__ 883s # 883s # #include 883s # 883s # G_BEGIN_DECLS 883s # 883s # 883s # G_END_DECLS 883s # 883s # #endif /* __STDOUT__ */ 883s # Error: 883s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpixark7ch 883s # /tmp/tmpixark7ch/tmpia9wuaq0.xml: 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixark7ch/tmpia9wuaq0.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifndef __STDOUT__ 883s # #define __STDOUT__ 883s # 883s # #include 883s # 883s # G_BEGIN_DECLS 883s # 883s # 883s # G_END_DECLS 883s # 883s # #endif /* __STDOUT__ */ 883s # Error: 883s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpd89ztz59 883s # /tmp/tmpd89ztz59/tmps0kf2h4u.xml: 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd89ztz59/tmps0kf2h4u.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 883s # Return code: 1 883s # Output: 883s # 883s # Error: 883s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 883s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpmaat9fvd 883s # /tmp/tmpmaat9fvd/tmpdq8bgncd.xml: 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmaat9fvd/tmpdq8bgncd.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifndef __STDOUT__ 883s # #define __STDOUT__ 883s # 883s # #include 883s # 883s # G_BEGIN_DECLS 883s # 883s # 883s # G_END_DECLS 883s # 883s # #endif /* __STDOUT__ */ 883s # Error: 883s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpl2xecead 883s # /tmp/tmpl2xecead/tmpo4p51n8c.xml: 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl2xecead/tmpo4p51n8c.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 883s # Return code: 1 883s # Output: 883s # 883s # Error: 883s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 883s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmp1xc081o2 883s # /tmp/tmp1xc081o2/tmpdqesz4dz.xml: 883s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1xc081o2/tmpdqesz4dz.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 883s # Return code: 0 883s # Output: 883s # /* 883s # * This file is generated by gdbus-codegen, do not modify it. 883s # * 883s # * The license of this code is the same as for the D-Bus interface description 883s # * it was derived from. Note that it links to GLib, so must comply with the 883s # * LGPL linking clauses. 883s # */ 883s # 883s # #ifndef __STDOUT__ 883s # #define __STDOUT__ 883s # 883s # #include 883s # 883s # G_BEGIN_DECLS 883s # 883s # 883s # G_END_DECLS 883s # 883s # #endif /* __STDOUT__ */ 883s # Error: 883s ok 35 __main__.TestCodegen.test_help 883s # gdbus-codegen: /usr/bin/gdbus-codegen 883s # tmpdir: /tmp/tmpyqr2nkp2 883s # Running: ['/usr/bin/gdbus-codegen', '--help'] 883s # Return code: 0 883s # Output: 883s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 883s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 883s # [--c-generate-autocleanup {none,objects,all}] 883s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 883s # [--generate-rst OUTFILES] [--pragma-once] 883s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 883s # [--glib-min-required VERSION] 883s # [--glib-max-allowed VERSION] 883s # [--symbol-decorator SYMBOL_DECORATOR] 883s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 883s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 883s # [--generate-c-code OUTFILES | --header | --body | 883s # --interface-info-header | --interface-info-body] 883s # [--output FILE | --output-directory OUTDIR] 883s # FILE [FILE ...] 883s # 883s # D-Bus code and documentation generator 883s # 883s # positional arguments: 883s # FILE D-Bus introspection XML file 883s # 883s # options: 883s # -h, --help show this help message and exit 883s # --interface-prefix PREFIX 883s # String to strip from D-Bus interface names for code 883s # and docs 883s # --c-namespace NAMESPACE 883s # The namespace to use for generated C code 883s # --c-generate-object-manager 883s # Generate a GDBusObjectManagerClient subclass when 883s # generating C code 883s # --c-generate-autocleanup {none,objects,all} 883s # Generate autocleanup support 883s # --generate-docbook OUTFILES 883s # Generate Docbook in OUTFILES-org.Project.IFace.xml 883s # --generate-md OUTFILES 883s # Generate Markdown in OUTFILES-org.Project.IFace.md 883s # --generate-rst OUTFILES 883s # Generate reStructuredText in OUTFILES- 883s # org.Project.IFace.rst 883s # --pragma-once Use "pragma once" as the inclusion guard 883s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 883s # Add annotation (may be used several times) 883s # --glib-min-required VERSION 883s # Minimum version of GLib to be supported by the 883s # outputted code (default: 2.30) 883s # --glib-max-allowed VERSION 883s # Maximum version of GLib to be used by the outputted 883s # code (default: current GLib version) 883s # --symbol-decorator SYMBOL_DECORATOR 883s # Macro used to decorate a symbol in the outputted 883s # header, possibly to export symbols 883s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 883s # Additional header required for decorator specified by 883s # --symbol-decorator 883s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 883s # Additional define required for decorator specified by 883s # --symbol-decorator 883s # --generate-c-code OUTFILES 883s # Generate C code in OUTFILES.[ch] 883s # --header Generate C headers 883s # --body Generate C code 883s # --interface-info-header 883s # Generate GDBusInterfaceInfo C header 883s # --interface-info-body 883s # Generate GDBusInterfaceInfo C code 883s # --output FILE Write output into the specified file 883s # --output-directory OUTDIR 883s # Location to output generated files 883s # Error: 884s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 884s # gdbus-codegen: /usr/bin/gdbus-codegen 884s # tmpdir: /tmp/tmp1hyv66qd 884s # /tmp/tmp1hyv66qd/tmp_g2w927k.xml: 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1hyv66qd/tmp_g2w927k.xml', '--generate-rst', 'test'] 884s # Return code: 0 884s # Output: 884s # 884s # Error: 884s # 884s # /tmp/tmp1hyv66qd/tmptn68zz0t.xml: 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1hyv66qd/tmptn68zz0t.xml', '--generate-md', 'test'] 884s # Return code: 0 884s # Output: 884s # 884s # Error: 884s # 884s # /tmp/tmp1hyv66qd/tmpnryxsdf9.xml: 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1hyv66qd/tmpnryxsdf9.xml', '--generate-docbook', 'test'] 884s # Return code: 0 884s # Output: 884s # 884s # Error: 884s ok 37 __main__.TestCodegen.test_no_args 884s # gdbus-codegen: /usr/bin/gdbus-codegen 884s # tmpdir: /tmp/tmpc9owmtdq 884s # Running: ['/usr/bin/gdbus-codegen'] 884s # Return code: 2 884s # Output: 884s # 884s # Error: 884s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 884s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 884s # [--c-generate-autocleanup {none,objects,all}] 884s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 884s # [--generate-rst OUTFILES] [--pragma-once] 884s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 884s # [--glib-min-required VERSION] 884s # [--glib-max-allowed VERSION] 884s # [--symbol-decorator SYMBOL_DECORATOR] 884s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 884s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 884s # [--generate-c-code OUTFILES | --header | --body | 884s # --interface-info-header | --interface-info-body] 884s # [--output FILE | --output-directory OUTDIR] 884s # FILE [FILE ...] 884s # gdbus-codegen: error: the following arguments are required: FILE 884s ok 38 __main__.TestCodegen.test_reproducible 884s # gdbus-codegen: /usr/bin/gdbus-codegen 884s # tmpdir: /tmp/tmpzlwygmtl 884s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzlwygmtl/tmp3dr45xad1.xml', '/tmp/tmpzlwygmtl/tmpa062bzrc2.xml', '--output', '-', '--header'] 884s # Return code: 0 884s # Output: 884s # /* 884s # * This file is generated by gdbus-codegen, do not modify it. 884s # * 884s # * The license of this code is the same as for the D-Bus interface description 884s # * it was derived from. Note that it links to GLib, so must comply with the 884s # * LGPL linking clauses. 884s # */ 884s # 884s # #ifndef __STDOUT__ 884s # #define __STDOUT__ 884s # 884s # #include 884s # 884s # G_BEGIN_DECLS 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # /* Declarations for com.acme.Coyote */ 884s # 884s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 884s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 884s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 884s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 884s # 884s # struct _ComAcmeCoyote; 884s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 884s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 884s # 884s # struct _ComAcmeCoyoteIface 884s # { 884s # GTypeInterface parent_iface; 884s # 884s # 884s # 884s # gboolean (*handle_attack) ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # gboolean (*handle_run) ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # gboolean (*handle_sleep) ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # const gchar * (*get_mood) (ComAcmeCoyote *object); 884s # 884s # void (*surprised) ( 884s # ComAcmeCoyote *object); 884s # 884s # }; 884s # 884s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 884s # 884s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 884s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 884s # 884s # 884s # /* D-Bus method call completion functions: */ 884s # void com_acme_coyote_complete_run ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # void com_acme_coyote_complete_sleep ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # void com_acme_coyote_complete_attack ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # 884s # 884s # /* D-Bus signal emissions functions: */ 884s # void com_acme_coyote_emit_surprised ( 884s # ComAcmeCoyote *object); 884s # 884s # 884s # 884s # /* D-Bus method calls: */ 884s # void com_acme_coyote_call_run ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean com_acme_coyote_call_run_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean com_acme_coyote_call_run_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void com_acme_coyote_call_sleep ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean com_acme_coyote_call_sleep_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean com_acme_coyote_call_sleep_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void com_acme_coyote_call_attack ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean com_acme_coyote_call_attack_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean com_acme_coyote_call_attack_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # 884s # /* D-Bus property accessors: */ 884s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 884s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 884s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 884s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 884s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 884s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 884s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 884s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 884s # 884s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 884s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 884s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 884s # 884s # struct _ComAcmeCoyoteProxy 884s # { 884s # /*< private >*/ 884s # GDBusProxy parent_instance; 884s # ComAcmeCoyoteProxyPrivate *priv; 884s # }; 884s # 884s # struct _ComAcmeCoyoteProxyClass 884s # { 884s # GDBusProxyClass parent_class; 884s # }; 884s # 884s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 884s # #endif 884s # 884s # void com_acme_coyote_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void com_acme_coyote_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 884s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 884s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 884s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 884s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 884s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 884s # 884s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 884s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 884s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 884s # 884s # struct _ComAcmeCoyoteSkeleton 884s # { 884s # /*< private >*/ 884s # GDBusInterfaceSkeleton parent_instance; 884s # ComAcmeCoyoteSkeletonPrivate *priv; 884s # }; 884s # 884s # struct _ComAcmeCoyoteSkeletonClass 884s # { 884s # GDBusInterfaceSkeletonClass parent_class; 884s # }; 884s # 884s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 884s # #endif 884s # 884s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # /* Declarations for org.project.Bar.Frobnicator */ 884s # 884s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 884s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 884s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 884s # 884s # struct _OrgProjectBarFrobnicator; 884s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 884s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 884s # 884s # struct _OrgProjectBarFrobnicatorIface 884s # { 884s # GTypeInterface parent_iface; 884s # 884s # gboolean (*handle_random_method) ( 884s # OrgProjectBarFrobnicator *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # }; 884s # 884s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 884s # 884s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 884s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 884s # 884s # 884s # /* D-Bus method call completion functions: */ 884s # void org_project_bar_frobnicator_complete_random_method ( 884s # OrgProjectBarFrobnicator *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # 884s # 884s # /* D-Bus method calls: */ 884s # void org_project_bar_frobnicator_call_random_method ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 884s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 884s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 884s # 884s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 884s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 884s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 884s # 884s # struct _OrgProjectBarFrobnicatorProxy 884s # { 884s # /*< private >*/ 884s # GDBusProxy parent_instance; 884s # OrgProjectBarFrobnicatorProxyPrivate *priv; 884s # }; 884s # 884s # struct _OrgProjectBarFrobnicatorProxyClass 884s # { 884s # GDBusProxyClass parent_class; 884s # }; 884s # 884s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 884s # #endif 884s # 884s # void org_project_bar_frobnicator_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void org_project_bar_frobnicator_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 884s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 884s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 884s # 884s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 884s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 884s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 884s # 884s # struct _OrgProjectBarFrobnicatorSkeleton 884s # { 884s # /*< private >*/ 884s # GDBusInterfaceSkeleton parent_instance; 884s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 884s # }; 884s # 884s # struct _OrgProjectBarFrobnicatorSkeletonClass 884s # { 884s # GDBusInterfaceSkeletonClass parent_class; 884s # }; 884s # 884s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 884s # #endif 884s # 884s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 884s # 884s # 884s # G_END_DECLS 884s # 884s # #endif /* __STDOUT__ */ 884s # Error: 884s # 884s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzlwygmtl/tmpa062bzrc2.xml', '/tmp/tmpzlwygmtl/tmp3dr45xad1.xml', '--output', '-', '--header'] 884s # Return code: 0 884s # Output: 884s # /* 884s # * This file is generated by gdbus-codegen, do not modify it. 884s # * 884s # * The license of this code is the same as for the D-Bus interface description 884s # * it was derived from. Note that it links to GLib, so must comply with the 884s # * LGPL linking clauses. 884s # */ 884s # 884s # #ifndef __STDOUT__ 884s # #define __STDOUT__ 884s # 884s # #include 884s # 884s # G_BEGIN_DECLS 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # /* Declarations for com.acme.Coyote */ 884s # 884s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 884s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 884s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 884s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 884s # 884s # struct _ComAcmeCoyote; 884s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 884s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 884s # 884s # struct _ComAcmeCoyoteIface 884s # { 884s # GTypeInterface parent_iface; 884s # 884s # 884s # 884s # gboolean (*handle_attack) ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # gboolean (*handle_run) ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # gboolean (*handle_sleep) ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # const gchar * (*get_mood) (ComAcmeCoyote *object); 884s # 884s # void (*surprised) ( 884s # ComAcmeCoyote *object); 884s # 884s # }; 884s # 884s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 884s # 884s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 884s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 884s # 884s # 884s # /* D-Bus method call completion functions: */ 884s # void com_acme_coyote_complete_run ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # void com_acme_coyote_complete_sleep ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # void com_acme_coyote_complete_attack ( 884s # ComAcmeCoyote *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # 884s # 884s # /* D-Bus signal emissions functions: */ 884s # void com_acme_coyote_emit_surprised ( 884s # ComAcmeCoyote *object); 884s # 884s # 884s # 884s # /* D-Bus method calls: */ 884s # void com_acme_coyote_call_run ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean com_acme_coyote_call_run_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean com_acme_coyote_call_run_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void com_acme_coyote_call_sleep ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean com_acme_coyote_call_sleep_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean com_acme_coyote_call_sleep_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void com_acme_coyote_call_attack ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean com_acme_coyote_call_attack_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean com_acme_coyote_call_attack_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # 884s # /* D-Bus property accessors: */ 884s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 884s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 884s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 884s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 884s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 884s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 884s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 884s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 884s # 884s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 884s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 884s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 884s # 884s # struct _ComAcmeCoyoteProxy 884s # { 884s # /*< private >*/ 884s # GDBusProxy parent_instance; 884s # ComAcmeCoyoteProxyPrivate *priv; 884s # }; 884s # 884s # struct _ComAcmeCoyoteProxyClass 884s # { 884s # GDBusProxyClass parent_class; 884s # }; 884s # 884s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 884s # #endif 884s # 884s # void com_acme_coyote_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void com_acme_coyote_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 884s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 884s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 884s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 884s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 884s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 884s # 884s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 884s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 884s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 884s # 884s # struct _ComAcmeCoyoteSkeleton 884s # { 884s # /*< private >*/ 884s # GDBusInterfaceSkeleton parent_instance; 884s # ComAcmeCoyoteSkeletonPrivate *priv; 884s # }; 884s # 884s # struct _ComAcmeCoyoteSkeletonClass 884s # { 884s # GDBusInterfaceSkeletonClass parent_class; 884s # }; 884s # 884s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 884s # #endif 884s # 884s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # /* Declarations for org.project.Bar.Frobnicator */ 884s # 884s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 884s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 884s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 884s # 884s # struct _OrgProjectBarFrobnicator; 884s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 884s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 884s # 884s # struct _OrgProjectBarFrobnicatorIface 884s # { 884s # GTypeInterface parent_iface; 884s # 884s # gboolean (*handle_random_method) ( 884s # OrgProjectBarFrobnicator *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # }; 884s # 884s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 884s # 884s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 884s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 884s # 884s # 884s # /* D-Bus method call completion functions: */ 884s # void org_project_bar_frobnicator_complete_random_method ( 884s # OrgProjectBarFrobnicator *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # 884s # 884s # /* D-Bus method calls: */ 884s # void org_project_bar_frobnicator_call_random_method ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 884s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 884s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 884s # 884s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 884s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 884s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 884s # 884s # struct _OrgProjectBarFrobnicatorProxy 884s # { 884s # /*< private >*/ 884s # GDBusProxy parent_instance; 884s # OrgProjectBarFrobnicatorProxyPrivate *priv; 884s # }; 884s # 884s # struct _OrgProjectBarFrobnicatorProxyClass 884s # { 884s # GDBusProxyClass parent_class; 884s # }; 884s # 884s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 884s # #endif 884s # 884s # void org_project_bar_frobnicator_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void org_project_bar_frobnicator_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 884s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 884s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 884s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 884s # 884s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 884s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 884s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 884s # 884s # struct _OrgProjectBarFrobnicatorSkeleton 884s # { 884s # /*< private >*/ 884s # GDBusInterfaceSkeleton parent_instance; 884s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 884s # }; 884s # 884s # struct _OrgProjectBarFrobnicatorSkeletonClass 884s # { 884s # GDBusInterfaceSkeletonClass parent_class; 884s # }; 884s # 884s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 884s # #endif 884s # 884s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 884s # 884s # 884s # G_END_DECLS 884s # 884s # #endif /* __STDOUT__ */ 884s # Error: 884s # 884s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzlwygmtl/tmp3dr45xad1.xml', '/tmp/tmpzlwygmtl/tmpa062bzrc2.xml', '--output', '-', '--body'] 884s # Return code: 0 884s # Output: 884s # /* 884s # * This file is generated by gdbus-codegen, do not modify it. 884s # * 884s # * The license of this code is the same as for the D-Bus interface description 884s # * it was derived from. Note that it links to GLib, so must comply with the 884s # * LGPL linking clauses. 884s # */ 884s # 884s # #ifdef HAVE_CONFIG_H 884s # # include "config.h" 884s # #endif 884s # 884s # #include 884s # #ifdef G_OS_UNIX 884s # # include 884s # #endif 884s # 884s # #ifdef G_ENABLE_DEBUG 884s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 884s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 884s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 884s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 884s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 884s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 884s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 884s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 884s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 884s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 884s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 884s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 884s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 884s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 884s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 884s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 884s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 884s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 884s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 884s # #else /* !G_ENABLE_DEBUG */ 884s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 884s # * Do not access GValues directly in your code. Instead, use the 884s # * g_value_get_*() functions 884s # */ 884s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 884s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 884s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 884s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 884s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 884s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 884s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 884s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 884s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 884s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 884s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 884s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 884s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 884s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 884s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 884s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 884s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 884s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 884s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 884s # #endif /* !G_ENABLE_DEBUG */ 884s # 884s # typedef struct 884s # { 884s # GDBusArgInfo parent_struct; 884s # gboolean use_gvariant; 884s # } _ExtendedGDBusArgInfo; 884s # 884s # typedef struct 884s # { 884s # GDBusMethodInfo parent_struct; 884s # const gchar *signal_name; 884s # gboolean pass_fdlist; 884s # } _ExtendedGDBusMethodInfo; 884s # 884s # typedef struct 884s # { 884s # GDBusSignalInfo parent_struct; 884s # const gchar *signal_name; 884s # } _ExtendedGDBusSignalInfo; 884s # 884s # typedef struct 884s # { 884s # GDBusPropertyInfo parent_struct; 884s # const gchar *hyphen_name; 884s # guint use_gvariant : 1; 884s # guint emits_changed_signal : 1; 884s # } _ExtendedGDBusPropertyInfo; 884s # 884s # typedef struct 884s # { 884s # GDBusInterfaceInfo parent_struct; 884s # const gchar *hyphen_name; 884s # } _ExtendedGDBusInterfaceInfo; 884s # 884s # typedef struct 884s # { 884s # const _ExtendedGDBusPropertyInfo *info; 884s # guint prop_id; 884s # GValue orig_value; /* the value before the change */ 884s # } ChangedProperty; 884s # 884s # static void 884s # _changed_property_free (ChangedProperty *data) 884s # { 884s # g_value_unset (&data->orig_value); 884s # g_free (data); 884s # } 884s # 884s # static gboolean 884s # _g_strv_equal0 (gchar **a, gchar **b) 884s # { 884s # gboolean ret = FALSE; 884s # guint n; 884s # if (a == NULL && b == NULL) 884s # { 884s # ret = TRUE; 884s # goto out; 884s # } 884s # if (a == NULL || b == NULL) 884s # goto out; 884s # if (g_strv_length (a) != g_strv_length (b)) 884s # goto out; 884s # for (n = 0; a[n] != NULL; n++) 884s # if (g_strcmp0 (a[n], b[n]) != 0) 884s # goto out; 884s # ret = TRUE; 884s # out: 884s # return ret; 884s # } 884s # 884s # static gboolean 884s # _g_variant_equal0 (GVariant *a, GVariant *b) 884s # { 884s # gboolean ret = FALSE; 884s # if (a == NULL && b == NULL) 884s # { 884s # ret = TRUE; 884s # goto out; 884s # } 884s # if (a == NULL || b == NULL) 884s # goto out; 884s # ret = g_variant_equal (a, b); 884s # out: 884s # return ret; 884s # } 884s # 884s # G_GNUC_UNUSED static gboolean 884s # _g_value_equal (const GValue *a, const GValue *b) 884s # { 884s # gboolean ret = FALSE; 884s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 884s # switch (G_VALUE_TYPE (a)) 884s # { 884s # case G_TYPE_BOOLEAN: 884s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 884s # break; 884s # case G_TYPE_UCHAR: 884s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 884s # break; 884s # case G_TYPE_INT: 884s # ret = (g_value_get_int (a) == g_value_get_int (b)); 884s # break; 884s # case G_TYPE_UINT: 884s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 884s # break; 884s # case G_TYPE_INT64: 884s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 884s # break; 884s # case G_TYPE_UINT64: 884s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 884s # break; 884s # case G_TYPE_DOUBLE: 884s # { 884s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 884s # gdouble da = g_value_get_double (a); 884s # gdouble db = g_value_get_double (b); 884s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 884s # } 884s # break; 884s # case G_TYPE_STRING: 884s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 884s # break; 884s # case G_TYPE_VARIANT: 884s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 884s # break; 884s # default: 884s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 884s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 884s # else 884s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 884s # break; 884s # } 884s # return ret; 884s # } 884s # 884s # static void 884s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint G_GNUC_UNUSED, 884s # void *marshal_data) 884s # { 884s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 884s # (void *data1, 884s # GDBusMethodInvocation *arg_method_invocation, 884s # void *data2); 884s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 884s # GCClosure *cc = (GCClosure*) closure; 884s # void *data1, *data2; 884s # gboolean v_return; 884s # 884s # g_return_if_fail (return_value != NULL); 884s # g_return_if_fail (n_param_values == 2); 884s # 884s # if (G_CCLOSURE_SWAP_DATA (closure)) 884s # { 884s # data1 = closure->data; 884s # data2 = g_value_peek_pointer (param_values + 0); 884s # } 884s # else 884s # { 884s # data1 = g_value_peek_pointer (param_values + 0); 884s # data2 = closure->data; 884s # } 884s # 884s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 884s # (marshal_data ? marshal_data : cc->callback); 884s # 884s # v_return = 884s # callback (data1, 884s # g_marshal_value_peek_object (param_values + 1), 884s # data2); 884s # 884s # g_value_set_boolean (return_value, v_return); 884s # } 884s # 884s # /* ------------------------------------------------------------------------ 884s # * Code for interface com.acme.Coyote 884s # * ------------------------------------------------------------------------ 884s # */ 884s # 884s # /** 884s # * SECTION:ComAcmeCoyote 884s # * @title: ComAcmeCoyote 884s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 884s # * 884s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 884s # */ 884s # 884s # enum 884s # { 884s # _COM_ACME_COYOTE_SURPRISED, 884s # }; 884s # 884s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 884s # 884s # /* ---- Introspection data for com.acme.Coyote ---- */ 884s # 884s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 884s # { 884s # { 884s # -1, 884s # (gchar *) "Run", 884s # NULL, 884s # NULL, 884s # NULL 884s # }, 884s # "handle-run", 884s # FALSE 884s # }; 884s # 884s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 884s # { 884s # { 884s # -1, 884s # (gchar *) "Sleep", 884s # NULL, 884s # NULL, 884s # NULL 884s # }, 884s # "handle-sleep", 884s # FALSE 884s # }; 884s # 884s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 884s # { 884s # { 884s # -1, 884s # (gchar *) "Attack", 884s # NULL, 884s # NULL, 884s # NULL 884s # }, 884s # "handle-attack", 884s # FALSE 884s # }; 884s # 884s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 884s # { 884s # &_com_acme_coyote_method_info_run.parent_struct, 884s # &_com_acme_coyote_method_info_sleep.parent_struct, 884s # &_com_acme_coyote_method_info_attack.parent_struct, 884s # NULL 884s # }; 884s # 884s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 884s # { 884s # { 884s # -1, 884s # (gchar *) "Surprised", 884s # NULL, 884s # NULL 884s # }, 884s # "surprised" 884s # }; 884s # 884s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 884s # { 884s # &_com_acme_coyote_signal_info_surprised.parent_struct, 884s # NULL 884s # }; 884s # 884s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 884s # { 884s # { 884s # -1, 884s # (gchar *) "Mood", 884s # (gchar *) "s", 884s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 884s # NULL 884s # }, 884s # "mood", 884s # FALSE, 884s # TRUE 884s # }; 884s # 884s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 884s # { 884s # &_com_acme_coyote_property_info_mood.parent_struct, 884s # NULL 884s # }; 884s # 884s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 884s # { 884s # { 884s # -1, 884s # (gchar *) "com.acme.Coyote", 884s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 884s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 884s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 884s # NULL 884s # }, 884s # "com-acme-coyote", 884s # }; 884s # 884s # 884s # /** 884s # * com_acme_coyote_interface_info: 884s # * 884s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 884s # * 884s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 884s # */ 884s # GDBusInterfaceInfo * 884s # com_acme_coyote_interface_info (void) 884s # { 884s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_override_properties: 884s # * @klass: The class structure for a #GObject derived class. 884s # * @property_id_begin: The property id to assign to the first overridden property. 884s # * 884s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 884s # * The properties are overridden in the order they are defined. 884s # * 884s # * Returns: The last property id. 884s # */ 884s # guint 884s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 884s # { 884s # g_object_class_override_property (klass, property_id_begin++, "mood"); 884s # return property_id_begin - 1; 884s # } 884s # 884s # 884s # inline static void 884s # com_acme_coyote_signal_marshal_surprised ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint, 884s # void *marshal_data) 884s # { 884s # g_cclosure_marshal_VOID__VOID (closure, 884s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 884s # } 884s # 884s # inline static void 884s # com_acme_coyote_method_marshal_run ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint, 884s # void *marshal_data) 884s # { 884s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 884s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 884s # } 884s # 884s # inline static void 884s # com_acme_coyote_method_marshal_sleep ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint, 884s # void *marshal_data) 884s # { 884s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 884s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 884s # } 884s # 884s # inline static void 884s # com_acme_coyote_method_marshal_attack ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint, 884s # void *marshal_data) 884s # { 884s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 884s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 884s # } 884s # 884s # 884s # /** 884s # * ComAcmeCoyote: 884s # * 884s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 884s # */ 884s # 884s # /** 884s # * ComAcmeCoyoteIface: 884s # * @parent_iface: The parent interface. 884s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 884s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 884s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 884s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 884s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 884s # * 884s # * Virtual table for the D-Bus interface com.acme.Coyote. 884s # */ 884s # 884s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 884s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 884s # 884s # static void 884s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 884s # { 884s # /* GObject signals for incoming D-Bus method calls: */ 884s # /** 884s # * ComAcmeCoyote::handle-run: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: A #GDBusMethodInvocation. 884s # * 884s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 884s # * 884s # * 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. 884s # * 884s # * 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. 884s # */ 884s # g_signal_new ("handle-run", 884s # G_TYPE_FROM_INTERFACE (iface), 884s # G_SIGNAL_RUN_LAST, 884s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 884s # g_signal_accumulator_true_handled, 884s # NULL, 884s # com_acme_coyote_method_marshal_run, 884s # G_TYPE_BOOLEAN, 884s # 1, 884s # G_TYPE_DBUS_METHOD_INVOCATION); 884s # 884s # /** 884s # * ComAcmeCoyote::handle-sleep: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: A #GDBusMethodInvocation. 884s # * 884s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 884s # * 884s # * 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. 884s # * 884s # * 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. 884s # */ 884s # g_signal_new ("handle-sleep", 884s # G_TYPE_FROM_INTERFACE (iface), 884s # G_SIGNAL_RUN_LAST, 884s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 884s # g_signal_accumulator_true_handled, 884s # NULL, 884s # com_acme_coyote_method_marshal_sleep, 884s # G_TYPE_BOOLEAN, 884s # 1, 884s # G_TYPE_DBUS_METHOD_INVOCATION); 884s # 884s # /** 884s # * ComAcmeCoyote::handle-attack: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: A #GDBusMethodInvocation. 884s # * 884s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 884s # * 884s # * 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. 884s # * 884s # * 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. 884s # */ 884s # g_signal_new ("handle-attack", 884s # G_TYPE_FROM_INTERFACE (iface), 884s # G_SIGNAL_RUN_LAST, 884s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 884s # g_signal_accumulator_true_handled, 884s # NULL, 884s # com_acme_coyote_method_marshal_attack, 884s # G_TYPE_BOOLEAN, 884s # 1, 884s # G_TYPE_DBUS_METHOD_INVOCATION); 884s # 884s # /* GObject signals for received D-Bus signals: */ 884s # /** 884s # * ComAcmeCoyote::surprised: 884s # * @object: A #ComAcmeCoyote. 884s # * 884s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 884s # * 884s # * 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. 884s # */ 884s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 884s # g_signal_new ("surprised", 884s # G_TYPE_FROM_INTERFACE (iface), 884s # G_SIGNAL_RUN_LAST, 884s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 884s # NULL, 884s # NULL, 884s # com_acme_coyote_signal_marshal_surprised, 884s # G_TYPE_NONE, 884s # 0); 884s # 884s # /* GObject properties for D-Bus properties: */ 884s # /** 884s # * ComAcmeCoyote:mood: 884s # * 884s # * Represents the D-Bus property "Mood". 884s # * 884s # * 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. 884s # */ 884s # g_object_interface_install_property (iface, 884s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_get_mood: (skip) 884s # * @object: A #ComAcmeCoyote. 884s # * 884s # * Gets the value of the "Mood" D-Bus property. 884s # * 884s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 884s # * 884s # * 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. 884s # * 884s # * 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. 884s # */ 884s # const gchar * 884s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 884s # { 884s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 884s # 884s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_dup_mood: (skip) 884s # * @object: A #ComAcmeCoyote. 884s # * 884s # * Gets a copy of the "Mood" D-Bus property. 884s # * 884s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 884s # * 884s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 884s # */ 884s # gchar * 884s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 884s # { 884s # gchar *value; 884s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 884s # return value; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_set_mood: (skip) 884s # * @object: A #ComAcmeCoyote. 884s # * @value: The value to set. 884s # * 884s # * Sets the "Mood" D-Bus property to @value. 884s # * 884s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 884s # */ 884s # void 884s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 884s # { 884s # g_object_set (G_OBJECT (object), "mood", value, NULL); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_emit_surprised: 884s # * @object: A #ComAcmeCoyote. 884s # * 884s # * Emits the "Surprised" D-Bus signal. 884s # */ 884s # void 884s # com_acme_coyote_emit_surprised ( 884s # ComAcmeCoyote *object) 884s # { 884s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_run: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously invokes the Run() D-Bus method on @proxy. 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 884s # * 884s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 884s # */ 884s # void 884s # com_acme_coyote_call_run ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 884s # "Run", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # callback, 884s # user_data); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_run_finish: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Finishes an operation started with com_acme_coyote_call_run(). 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_run_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_run_sync: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 884s # * 884s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_run_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 884s # "Run", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_sleep: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 884s # * 884s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 884s # */ 884s # void 884s # com_acme_coyote_call_sleep ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 884s # "Sleep", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # callback, 884s # user_data); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_sleep_finish: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Finishes an operation started with com_acme_coyote_call_sleep(). 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_sleep_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_sleep_sync: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 884s # * 884s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_sleep_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 884s # "Sleep", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_attack: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 884s # * 884s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 884s # */ 884s # void 884s # com_acme_coyote_call_attack ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 884s # "Attack", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # callback, 884s # user_data); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_attack_finish: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Finishes an operation started with com_acme_coyote_call_attack(). 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_attack_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_attack_sync: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 884s # * 884s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_attack_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 884s # "Attack", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_complete_run: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: (transfer full): A #GDBusMethodInvocation. 884s # * 884s # * 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. 884s # * 884s # * This method will free @invocation, you cannot use it afterwards. 884s # */ 884s # void 884s # com_acme_coyote_complete_run ( 884s # ComAcmeCoyote *object G_GNUC_UNUSED, 884s # GDBusMethodInvocation *invocation) 884s # { 884s # g_dbus_method_invocation_return_value (invocation, 884s # g_variant_new ("()")); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_complete_sleep: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: (transfer full): A #GDBusMethodInvocation. 884s # * 884s # * 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. 884s # * 884s # * This method will free @invocation, you cannot use it afterwards. 884s # */ 884s # void 884s # com_acme_coyote_complete_sleep ( 884s # ComAcmeCoyote *object G_GNUC_UNUSED, 884s # GDBusMethodInvocation *invocation) 884s # { 884s # g_dbus_method_invocation_return_value (invocation, 884s # g_variant_new ("()")); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_complete_attack: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: (transfer full): A #GDBusMethodInvocation. 884s # * 884s # * 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. 884s # * 884s # * This method will free @invocation, you cannot use it afterwards. 884s # */ 884s # void 884s # com_acme_coyote_complete_attack ( 884s # ComAcmeCoyote *object G_GNUC_UNUSED, 884s # GDBusMethodInvocation *invocation) 884s # { 884s # g_dbus_method_invocation_return_value (invocation, 884s # g_variant_new ("()")); 884s # } 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # 884s # /** 884s # * ComAcmeCoyoteProxy: 884s # * 884s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 884s # */ 884s # 884s # /** 884s # * ComAcmeCoyoteProxyClass: 884s # * @parent_class: The parent class. 884s # * 884s # * Class structure for #ComAcmeCoyoteProxy. 884s # */ 884s # 884s # struct _ComAcmeCoyoteProxyPrivate 884s # { 884s # GData *qdata; 884s # }; 884s # 884s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 884s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 884s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 884s # 884s # #else 884s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 884s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 884s # 884s # #endif 884s # static void 884s # com_acme_coyote_proxy_finalize (GObject *object) 884s # { 884s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 884s # g_datalist_clear (&proxy->priv->qdata); 884s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_get_property (GObject *object, 884s # guint prop_id, 884s # GValue *value, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # const _ExtendedGDBusPropertyInfo *info; 884s # GVariant *variant; 884s # g_assert (prop_id != 0 && prop_id - 1 < 1); 884s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 884s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 884s # if (info->use_gvariant) 884s # { 884s # g_value_set_variant (value, variant); 884s # } 884s # else 884s # { 884s # if (variant != NULL) 884s # g_dbus_gvariant_to_gvalue (variant, value); 884s # } 884s # if (variant != NULL) 884s # g_variant_unref (variant); 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 884s # GAsyncResult *res, 884s # gpointer user_data) 884s # { 884s # const _ExtendedGDBusPropertyInfo *info = user_data; 884s # GError *error; 884s # GVariant *_ret; 884s # error = NULL; 884s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 884s # if (!_ret) 884s # { 884s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 884s # info->parent_struct.name, 884s # error->message, g_quark_to_string (error->domain), error->code); 884s # g_error_free (error); 884s # } 884s # else 884s # { 884s # g_variant_unref (_ret); 884s # } 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_set_property (GObject *object, 884s # guint prop_id, 884s # const GValue *value, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # const _ExtendedGDBusPropertyInfo *info; 884s # GVariant *variant; 884s # g_assert (prop_id != 0 && prop_id - 1 < 1); 884s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 884s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 884s # g_dbus_proxy_call (G_DBUS_PROXY (object), 884s # "org.freedesktop.DBus.Properties.Set", 884s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 884s # g_variant_unref (variant); 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 884s # const gchar *sender_name G_GNUC_UNUSED, 884s # const gchar *signal_name, 884s # GVariant *parameters) 884s # { 884s # _ExtendedGDBusSignalInfo *info; 884s # GVariantIter iter; 884s # GVariant *child; 884s # GValue *paramv; 884s # gsize num_params; 884s # gsize n; 884s # guint signal_id; 884s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 884s # if (info == NULL) 884s # return; 884s # num_params = g_variant_n_children (parameters); 884s # paramv = g_new0 (GValue, num_params + 1); 884s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 884s # g_value_set_object (¶mv[0], proxy); 884s # g_variant_iter_init (&iter, parameters); 884s # n = 1; 884s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 884s # { 884s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 884s # if (arg_info->use_gvariant) 884s # { 884s # g_value_init (¶mv[n], G_TYPE_VARIANT); 884s # g_value_set_variant (¶mv[n], child); 884s # n++; 884s # } 884s # else 884s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 884s # g_variant_unref (child); 884s # } 884s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 884s # g_signal_emitv (paramv, signal_id, 0, NULL); 884s # for (n = 0; n < num_params + 1; n++) 884s # g_value_unset (¶mv[n]); 884s # g_free (paramv); 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 884s # GVariant *changed_properties, 884s # const gchar *const *invalidated_properties) 884s # { 884s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 884s # guint n; 884s # const gchar *key; 884s # GVariantIter *iter; 884s # _ExtendedGDBusPropertyInfo *info; 884s # g_variant_get (changed_properties, "a{sv}", &iter); 884s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 884s # { 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 884s # g_datalist_remove_data (&proxy->priv->qdata, key); 884s # if (info != NULL) 884s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 884s # } 884s # g_variant_iter_free (iter); 884s # for (n = 0; invalidated_properties[n] != NULL; n++) 884s # { 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 884s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 884s # if (info != NULL) 884s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 884s # } 884s # } 884s # 884s # static const gchar * 884s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 884s # { 884s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 884s # GVariant *variant; 884s # const gchar *value = NULL; 884s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 884s # if (variant != NULL) 884s # { 884s # value = g_variant_get_string (variant, NULL); 884s # g_variant_unref (variant); 884s # } 884s # return value; 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 884s # { 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 884s # #else 884s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 884s # #endif 884s # 884s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 884s # { 884s # GObjectClass *gobject_class; 884s # GDBusProxyClass *proxy_class; 884s # 884s # gobject_class = G_OBJECT_CLASS (klass); 884s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 884s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 884s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 884s # 884s # proxy_class = G_DBUS_PROXY_CLASS (klass); 884s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 884s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 884s # 884s # com_acme_coyote_override_properties (gobject_class, 1); 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 884s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 884s # #endif 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 884s # { 884s # iface->get_mood = com_acme_coyote_proxy_get_mood; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_proxy_new: 884s # * @connection: A #GDBusConnection. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 884s # * 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 884s # * 884s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 884s # */ 884s # void 884s # com_acme_coyote_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # 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); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_proxy_new_finish: 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 884s # * @error: Return location for error or %NULL 884s # * 884s # * Finishes an operation started with com_acme_coyote_proxy_new(). 884s # * 884s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # ComAcmeCoyote * 884s # com_acme_coyote_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GObject *ret; 884s # GObject *source_object; 884s # source_object = g_async_result_get_source_object (res); 884s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 884s # g_object_unref (source_object); 884s # if (ret != NULL) 884s # return COM_ACME_COYOTE (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_proxy_new_sync: 884s # * @connection: A #GDBusConnection. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL 884s # * 884s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 884s # * 884s # * The calling thread is blocked until a reply is received. 884s # * 884s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 884s # * 884s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # ComAcmeCoyote * 884s # com_acme_coyote_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GInitable *ret; 884s # 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); 884s # if (ret != NULL) 884s # return COM_ACME_COYOTE (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # 884s # /** 884s # * com_acme_coyote_proxy_new_for_bus: 884s # * @bus_type: A #GBusType. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: A bus name (well-known or unique). 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 884s # * 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 884s # * 884s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 884s # */ 884s # void 884s # com_acme_coyote_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # 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); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_proxy_new_for_bus_finish: 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 884s # * @error: Return location for error or %NULL 884s # * 884s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 884s # * 884s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # ComAcmeCoyote * 884s # com_acme_coyote_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GObject *ret; 884s # GObject *source_object; 884s # source_object = g_async_result_get_source_object (res); 884s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 884s # g_object_unref (source_object); 884s # if (ret != NULL) 884s # return COM_ACME_COYOTE (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_proxy_new_for_bus_sync: 884s # * @bus_type: A #GBusType. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: A bus name (well-known or unique). 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL 884s # * 884s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 884s # * 884s # * The calling thread is blocked until a reply is received. 884s # * 884s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 884s # * 884s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # ComAcmeCoyote * 884s # com_acme_coyote_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GInitable *ret; 884s # 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); 884s # if (ret != NULL) 884s # return COM_ACME_COYOTE (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # 884s # /** 884s # * ComAcmeCoyoteSkeleton: 884s # * 884s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 884s # */ 884s # 884s # /** 884s # * ComAcmeCoyoteSkeletonClass: 884s # * @parent_class: The parent class. 884s # * 884s # * Class structure for #ComAcmeCoyoteSkeleton. 884s # */ 884s # 884s # struct _ComAcmeCoyoteSkeletonPrivate 884s # { 884s # GValue *properties; 884s # GList *changed_properties; 884s # GSource *changed_properties_idle_source; 884s # GMainContext *context; 884s # GMutex lock; 884s # }; 884s # 884s # static void 884s # _com_acme_coyote_skeleton_handle_method_call ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name, 884s # const gchar *method_name, 884s # GVariant *parameters, 884s # GDBusMethodInvocation *invocation, 884s # gpointer user_data) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 884s # _ExtendedGDBusMethodInfo *info; 884s # GVariantIter iter; 884s # GVariant *child; 884s # GValue *paramv; 884s # gsize num_params; 884s # guint num_extra; 884s # gsize n; 884s # guint signal_id; 884s # GValue return_value = G_VALUE_INIT; 884s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 884s # g_assert (info != NULL); 884s # num_params = g_variant_n_children (parameters); 884s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 884s # n = 0; 884s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 884s # g_value_set_object (¶mv[n++], skeleton); 884s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 884s # g_value_set_object (¶mv[n++], invocation); 884s # if (info->pass_fdlist) 884s # { 884s # #ifdef G_OS_UNIX 884s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 884s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 884s # #else 884s # g_assert_not_reached (); 884s # #endif 884s # } 884s # g_variant_iter_init (&iter, parameters); 884s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 884s # { 884s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 884s # if (arg_info->use_gvariant) 884s # { 884s # g_value_init (¶mv[n], G_TYPE_VARIANT); 884s # g_value_set_variant (¶mv[n], child); 884s # n++; 884s # } 884s # else 884s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 884s # g_variant_unref (child); 884s # } 884s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 884s # g_value_init (&return_value, G_TYPE_BOOLEAN); 884s # g_signal_emitv (paramv, signal_id, 0, &return_value); 884s # if (!g_value_get_boolean (&return_value)) 884s # 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); 884s # g_value_unset (&return_value); 884s # for (n = 0; n < num_params + num_extra; n++) 884s # g_value_unset (¶mv[n]); 884s # g_free (paramv); 884s # } 884s # 884s # static GVariant * 884s # _com_acme_coyote_skeleton_handle_get_property ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name G_GNUC_UNUSED, 884s # const gchar *property_name, 884s # GError **error, 884s # gpointer user_data) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 884s # GValue value = G_VALUE_INIT; 884s # GParamSpec *pspec; 884s # _ExtendedGDBusPropertyInfo *info; 884s # GVariant *ret; 884s # ret = NULL; 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 884s # g_assert (info != NULL); 884s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 884s # if (pspec == NULL) 884s # { 884s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 884s # } 884s # else 884s # { 884s # g_value_init (&value, pspec->value_type); 884s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 884s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 884s # g_value_unset (&value); 884s # } 884s # return ret; 884s # } 884s # 884s # static gboolean 884s # _com_acme_coyote_skeleton_handle_set_property ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name G_GNUC_UNUSED, 884s # const gchar *property_name, 884s # GVariant *variant, 884s # GError **error, 884s # gpointer user_data) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 884s # GValue value = G_VALUE_INIT; 884s # GParamSpec *pspec; 884s # _ExtendedGDBusPropertyInfo *info; 884s # gboolean ret; 884s # ret = FALSE; 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 884s # g_assert (info != NULL); 884s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 884s # if (pspec == NULL) 884s # { 884s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 884s # } 884s # else 884s # { 884s # if (info->use_gvariant) 884s # g_value_set_variant (&value, variant); 884s # else 884s # g_dbus_gvariant_to_gvalue (variant, &value); 884s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 884s # g_value_unset (&value); 884s # ret = TRUE; 884s # } 884s # return ret; 884s # } 884s # 884s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 884s # { 884s # _com_acme_coyote_skeleton_handle_method_call, 884s # _com_acme_coyote_skeleton_handle_get_property, 884s # _com_acme_coyote_skeleton_handle_set_property, 884s # {NULL} 884s # }; 884s # 884s # static GDBusInterfaceInfo * 884s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 884s # { 884s # return com_acme_coyote_interface_info (); 884s # } 884s # 884s # static GDBusInterfaceVTable * 884s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 884s # { 884s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 884s # } 884s # 884s # static GVariant * 884s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 884s # 884s # GVariantBuilder builder; 884s # guint n; 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 884s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 884s # #else 884s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 884s # #endif 884s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 884s # goto out; 884s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 884s # { 884s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 884s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 884s # { 884s # GVariant *value; 884s # 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); 884s # if (value != NULL) 884s # { 884s # g_variant_take_ref (value); 884s # g_variant_builder_add (&builder, "{sv}", info->name, value); 884s # g_variant_unref (value); 884s # } 884s # } 884s # } 884s # out: 884s # return g_variant_builder_end (&builder); 884s # } 884s # 884s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 884s # 884s # static void 884s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 884s # gboolean emit_changed = FALSE; 884s # 884s # g_mutex_lock (&skeleton->priv->lock); 884s # if (skeleton->priv->changed_properties_idle_source != NULL) 884s # { 884s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 884s # skeleton->priv->changed_properties_idle_source = NULL; 884s # emit_changed = TRUE; 884s # } 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # 884s # if (emit_changed) 884s # _com_acme_coyote_emit_changed (skeleton); 884s # } 884s # 884s # static void 884s # _com_acme_coyote_on_signal_surprised ( 884s # ComAcmeCoyote *object) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # 884s # GList *connections, *l; 884s # GVariant *signal_variant; 884s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 884s # 884s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 884s # for (l = connections; l != NULL; l = l->next) 884s # { 884s # GDBusConnection *connection = l->data; 884s # g_dbus_connection_emit_signal (connection, 884s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 884s # signal_variant, NULL); 884s # } 884s # g_variant_unref (signal_variant); 884s # g_list_free_full (connections, g_object_unref); 884s # } 884s # 884s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 884s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 884s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 884s # 884s # #else 884s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 884s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 884s # 884s # #endif 884s # static void 884s # com_acme_coyote_skeleton_finalize (GObject *object) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # guint n; 884s # for (n = 0; n < 1; n++) 884s # g_value_unset (&skeleton->priv->properties[n]); 884s # g_free (skeleton->priv->properties); 884s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 884s # if (skeleton->priv->changed_properties_idle_source != NULL) 884s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 884s # g_main_context_unref (skeleton->priv->context); 884s # g_mutex_clear (&skeleton->priv->lock); 884s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_get_property (GObject *object, 884s # guint prop_id, 884s # GValue *value, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # g_assert (prop_id != 0 && prop_id - 1 < 1); 884s # g_mutex_lock (&skeleton->priv->lock); 884s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # } 884s # 884s # static gboolean 884s # _com_acme_coyote_emit_changed (gpointer user_data) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 884s # GList *l; 884s # GVariantBuilder builder; 884s # GVariantBuilder invalidated_builder; 884s # guint num_changes; 884s # 884s # g_mutex_lock (&skeleton->priv->lock); 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 884s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 884s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 884s # #else 884s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 884s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 884s # #endif 884s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 884s # { 884s # ChangedProperty *cp = l->data; 884s # GVariant *variant; 884s # const GValue *cur_value; 884s # 884s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 884s # if (!_g_value_equal (cur_value, &cp->orig_value)) 884s # { 884s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 884s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 884s # g_variant_unref (variant); 884s # num_changes++; 884s # } 884s # } 884s # if (num_changes > 0) 884s # { 884s # GList *connections, *ll; 884s # GVariant *signal_variant; 884s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 884s # &builder, &invalidated_builder)); 884s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 884s # for (ll = connections; ll != NULL; ll = ll->next) 884s # { 884s # GDBusConnection *connection = ll->data; 884s # 884s # g_dbus_connection_emit_signal (connection, 884s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 884s # "org.freedesktop.DBus.Properties", 884s # "PropertiesChanged", 884s # signal_variant, 884s # NULL); 884s # } 884s # g_variant_unref (signal_variant); 884s # g_list_free_full (connections, g_object_unref); 884s # } 884s # else 884s # { 884s # g_variant_builder_clear (&builder); 884s # g_variant_builder_clear (&invalidated_builder); 884s # } 884s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 884s # skeleton->priv->changed_properties = NULL; 884s # skeleton->priv->changed_properties_idle_source = NULL; 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # return FALSE; 884s # } 884s # 884s # static void 884s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 884s # { 884s # ChangedProperty *cp; 884s # GList *l; 884s # cp = NULL; 884s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 884s # { 884s # ChangedProperty *i_cp = l->data; 884s # if (i_cp->info == info) 884s # { 884s # cp = i_cp; 884s # break; 884s # } 884s # } 884s # if (cp == NULL) 884s # { 884s # cp = g_new0 (ChangedProperty, 1); 884s # cp->prop_id = prop_id; 884s # cp->info = info; 884s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 884s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 884s # g_value_copy (orig_value, &cp->orig_value); 884s # } 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_notify (GObject *object, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # g_mutex_lock (&skeleton->priv->lock); 884s # if (skeleton->priv->changed_properties != NULL && 884s # skeleton->priv->changed_properties_idle_source == NULL) 884s # { 884s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 884s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 884s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 884s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 884s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 884s # g_source_unref (skeleton->priv->changed_properties_idle_source); 884s # } 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_set_property (GObject *object, 884s # guint prop_id, 884s # const GValue *value, 884s # GParamSpec *pspec) 884s # { 884s # const _ExtendedGDBusPropertyInfo *info; 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # g_assert (prop_id != 0 && prop_id - 1 < 1); 884s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 884s # g_mutex_lock (&skeleton->priv->lock); 884s # g_object_freeze_notify (object); 884s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 884s # { 884s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 884s # info->emits_changed_signal) 884s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 884s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 884s # g_object_notify_by_pspec (object, pspec); 884s # } 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # g_object_thaw_notify (object); 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 884s # { 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 884s # #else 884s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 884s # #endif 884s # 884s # g_mutex_init (&skeleton->priv->lock); 884s # skeleton->priv->context = g_main_context_ref_thread_default (); 884s # skeleton->priv->properties = g_new0 (GValue, 1); 884s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 884s # } 884s # 884s # static const gchar * 884s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # const gchar *value; 884s # g_mutex_lock (&skeleton->priv->lock); 884s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # return value; 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 884s # { 884s # GObjectClass *gobject_class; 884s # GDBusInterfaceSkeletonClass *skeleton_class; 884s # 884s # gobject_class = G_OBJECT_CLASS (klass); 884s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 884s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 884s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 884s # gobject_class->notify = com_acme_coyote_skeleton_notify; 884s # 884s # 884s # com_acme_coyote_override_properties (gobject_class, 1); 884s # 884s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 884s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 884s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 884s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 884s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 884s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 884s # #endif 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 884s # { 884s # iface->surprised = _com_acme_coyote_on_signal_surprised; 884s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_skeleton_new: 884s # * 884s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 884s # * 884s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 884s # */ 884s # ComAcmeCoyote * 884s # com_acme_coyote_skeleton_new (void) 884s # { 884s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 884s # } 884s # 884s # /* ------------------------------------------------------------------------ 884s # * Code for interface org.project.Bar.Frobnicator 884s # * ------------------------------------------------------------------------ 884s # */ 884s # 884s # /** 884s # * SECTION:OrgProjectBarFrobnicator 884s # * @title: OrgProjectBarFrobnicator 884s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 884s # * 884s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 884s # */ 884s # 884s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 884s # 884s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 884s # { 884s # { 884s # -1, 884s # (gchar *) "RandomMethod", 884s # NULL, 884s # NULL, 884s # NULL 884s # }, 884s # "handle-random-method", 884s # FALSE 884s # }; 884s # 884s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 884s # { 884s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 884s # NULL 884s # }; 884s # 884s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 884s # { 884s # { 884s # -1, 884s # (gchar *) "org.project.Bar.Frobnicator", 884s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 884s # NULL, 884s # NULL, 884s # NULL 884s # }, 884s # "org-project-bar-frobnicator", 884s # }; 884s # 884s # 884s # /** 884s # * org_project_bar_frobnicator_interface_info: 884s # * 884s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 884s # * 884s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 884s # */ 884s # GDBusInterfaceInfo * 884s # org_project_bar_frobnicator_interface_info (void) 884s # { 884s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_override_properties: 884s # * @klass: The class structure for a #GObject derived class. 884s # * @property_id_begin: The property id to assign to the first overridden property. 884s # * 884s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 884s # * The properties are overridden in the order they are defined. 884s # * 884s # * Returns: The last property id. 884s # */ 884s # guint 884s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 884s # { 884s # return property_id_begin - 1; 884s # } 884s # 884s # 884s # inline static void 884s # org_project_bar_frobnicator_method_marshal_random_method ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint, 884s # void *marshal_data) 884s # { 884s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 884s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 884s # } 884s # 884s # 884s # /** 884s # * OrgProjectBarFrobnicator: 884s # * 884s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 884s # */ 884s # 884s # /** 884s # * OrgProjectBarFrobnicatorIface: 884s # * @parent_iface: The parent interface. 884s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 884s # * 884s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 884s # */ 884s # 884s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 884s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 884s # 884s # static void 884s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 884s # { 884s # /* GObject signals for incoming D-Bus method calls: */ 884s # /** 884s # * OrgProjectBarFrobnicator::handle-random-method: 884s # * @object: A #OrgProjectBarFrobnicator. 884s # * @invocation: A #GDBusMethodInvocation. 884s # * 884s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 884s # * 884s # * 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. 884s # * 884s # * 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. 884s # */ 884s # g_signal_new ("handle-random-method", 884s # G_TYPE_FROM_INTERFACE (iface), 884s # G_SIGNAL_RUN_LAST, 884s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 884s # g_signal_accumulator_true_handled, 884s # NULL, 884s # org_project_bar_frobnicator_method_marshal_random_method, 884s # G_TYPE_BOOLEAN, 884s # 1, 884s # G_TYPE_DBUS_METHOD_INVOCATION); 884s # 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_call_random_method: 884s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 884s # * 884s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 884s # */ 884s # void 884s # org_project_bar_frobnicator_call_random_method ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 884s # "RandomMethod", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # callback, 884s # user_data); 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_call_random_method_finish: 884s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # org_project_bar_frobnicator_call_random_method_finish ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_call_random_method_sync: 884s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 884s # * 884s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # org_project_bar_frobnicator_call_random_method_sync ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 884s # "RandomMethod", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_complete_random_method: 884s # * @object: A #OrgProjectBarFrobnicator. 884s # * @invocation: (transfer full): A #GDBusMethodInvocation. 884s # * 884s # * 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. 884s # * 884s # * This method will free @invocation, you cannot use it afterwards. 884s # */ 884s # void 884s # org_project_bar_frobnicator_complete_random_method ( 884s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 884s # GDBusMethodInvocation *invocation) 884s # { 884s # g_dbus_method_invocation_return_value (invocation, 884s # g_variant_new ("()")); 884s # } 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # 884s # /** 884s # * OrgProjectBarFrobnicatorProxy: 884s # * 884s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 884s # */ 884s # 884s # /** 884s # * OrgProjectBarFrobnicatorProxyClass: 884s # * @parent_class: The parent class. 884s # * 884s # * Class structure for #OrgProjectBarFrobnicatorProxy. 884s # */ 884s # 884s # struct _OrgProjectBarFrobnicatorProxyPrivate 884s # { 884s # GData *qdata; 884s # }; 884s # 884s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 884s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 884s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 884s # 884s # #else 884s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 884s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 884s # 884s # #endif 884s # static void 884s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 884s # { 884s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 884s # g_datalist_clear (&proxy->priv->qdata); 884s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 884s # guint prop_id G_GNUC_UNUSED, 884s # GValue *value G_GNUC_UNUSED, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 884s # guint prop_id G_GNUC_UNUSED, 884s # const GValue *value G_GNUC_UNUSED, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 884s # const gchar *sender_name G_GNUC_UNUSED, 884s # const gchar *signal_name, 884s # GVariant *parameters) 884s # { 884s # _ExtendedGDBusSignalInfo *info; 884s # GVariantIter iter; 884s # GVariant *child; 884s # GValue *paramv; 884s # gsize num_params; 884s # gsize n; 884s # guint signal_id; 884s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 884s # if (info == NULL) 884s # return; 884s # num_params = g_variant_n_children (parameters); 884s # paramv = g_new0 (GValue, num_params + 1); 884s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 884s # g_value_set_object (¶mv[0], proxy); 884s # g_variant_iter_init (&iter, parameters); 884s # n = 1; 884s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 884s # { 884s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 884s # if (arg_info->use_gvariant) 884s # { 884s # g_value_init (¶mv[n], G_TYPE_VARIANT); 884s # g_value_set_variant (¶mv[n], child); 884s # n++; 884s # } 884s # else 884s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 884s # g_variant_unref (child); 884s # } 884s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 884s # g_signal_emitv (paramv, signal_id, 0, NULL); 884s # for (n = 0; n < num_params + 1; n++) 884s # g_value_unset (¶mv[n]); 884s # g_free (paramv); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 884s # GVariant *changed_properties, 884s # const gchar *const *invalidated_properties) 884s # { 884s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 884s # guint n; 884s # const gchar *key; 884s # GVariantIter *iter; 884s # _ExtendedGDBusPropertyInfo *info; 884s # g_variant_get (changed_properties, "a{sv}", &iter); 884s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 884s # { 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 884s # g_datalist_remove_data (&proxy->priv->qdata, key); 884s # if (info != NULL) 884s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 884s # } 884s # g_variant_iter_free (iter); 884s # for (n = 0; invalidated_properties[n] != NULL; n++) 884s # { 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 884s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 884s # if (info != NULL) 884s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 884s # } 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 884s # { 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 884s # #else 884s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 884s # #endif 884s # 884s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 884s # { 884s # GObjectClass *gobject_class; 884s # GDBusProxyClass *proxy_class; 884s # 884s # gobject_class = G_OBJECT_CLASS (klass); 884s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 884s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 884s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 884s # 884s # proxy_class = G_DBUS_PROXY_CLASS (klass); 884s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 884s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 884s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 884s # #endif 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 884s # { 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new: 884s # * @connection: A #GDBusConnection. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 884s # * 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 884s # * 884s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 884s # */ 884s # void 884s # org_project_bar_frobnicator_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # 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); 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new_finish: 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 884s # * @error: Return location for error or %NULL 884s # * 884s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 884s # * 884s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # OrgProjectBarFrobnicator * 884s # org_project_bar_frobnicator_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GObject *ret; 884s # GObject *source_object; 884s # source_object = g_async_result_get_source_object (res); 884s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 884s # g_object_unref (source_object); 884s # if (ret != NULL) 884s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new_sync: 884s # * @connection: A #GDBusConnection. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL 884s # * 884s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 884s # * 884s # * The calling thread is blocked until a reply is received. 884s # * 884s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 884s # * 884s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # OrgProjectBarFrobnicator * 884s # org_project_bar_frobnicator_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GInitable *ret; 884s # 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); 884s # if (ret != NULL) 884s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new_for_bus: 884s # * @bus_type: A #GBusType. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: A bus name (well-known or unique). 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 884s # * 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 884s # * 884s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 884s # */ 884s # void 884s # org_project_bar_frobnicator_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # 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); 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 884s # * @error: Return location for error or %NULL 884s # * 884s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 884s # * 884s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # OrgProjectBarFrobnicator * 884s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GObject *ret; 884s # GObject *source_object; 884s # source_object = g_async_result_get_source_object (res); 884s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 884s # g_object_unref (source_object); 884s # if (ret != NULL) 884s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 884s # * @bus_type: A #GBusType. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: A bus name (well-known or unique). 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL 884s # * 884s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 884s # * 884s # * The calling thread is blocked until a reply is received. 884s # * 884s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 884s # * 884s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # OrgProjectBarFrobnicator * 884s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GInitable *ret; 884s # 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); 884s # if (ret != NULL) 884s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # 884s # /** 884s # * OrgProjectBarFrobnicatorSkeleton: 884s # * 884s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 884s # */ 884s # 884s # /** 884s # * OrgProjectBarFrobnicatorSkeletonClass: 884s # * @parent_class: The parent class. 884s # * 884s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 884s # */ 884s # 884s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 884s # { 884s # GValue *properties; 884s # GList *changed_properties; 884s # GSource *changed_properties_idle_source; 884s # GMainContext *context; 884s # GMutex lock; 884s # }; 884s # 884s # static void 884s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name, 884s # const gchar *method_name, 884s # GVariant *parameters, 884s # GDBusMethodInvocation *invocation, 884s # gpointer user_data) 884s # { 884s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 884s # _ExtendedGDBusMethodInfo *info; 884s # GVariantIter iter; 884s # GVariant *child; 884s # GValue *paramv; 884s # gsize num_params; 884s # guint num_extra; 884s # gsize n; 884s # guint signal_id; 884s # GValue return_value = G_VALUE_INIT; 884s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 884s # g_assert (info != NULL); 884s # num_params = g_variant_n_children (parameters); 884s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 884s # n = 0; 884s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 884s # g_value_set_object (¶mv[n++], skeleton); 884s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 884s # g_value_set_object (¶mv[n++], invocation); 884s # if (info->pass_fdlist) 884s # { 884s # #ifdef G_OS_UNIX 884s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 884s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 884s # #else 884s # g_assert_not_reached (); 884s # #endif 884s # } 884s # g_variant_iter_init (&iter, parameters); 884s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 884s # { 884s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 884s # if (arg_info->use_gvariant) 884s # { 884s # g_value_init (¶mv[n], G_TYPE_VARIANT); 884s # g_value_set_variant (¶mv[n], child); 884s # n++; 884s # } 884s # else 884s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 884s # g_variant_unref (child); 884s # } 884s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 884s # g_value_init (&return_value, G_TYPE_BOOLEAN); 884s # g_signal_emitv (paramv, signal_id, 0, &return_value); 884s # if (!g_value_get_boolean (&return_value)) 884s # 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); 884s # g_value_unset (&return_value); 884s # for (n = 0; n < num_params + num_extra; n++) 884s # g_value_unset (¶mv[n]); 884s # g_free (paramv); 884s # } 884s # 884s # static GVariant * 884s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name G_GNUC_UNUSED, 884s # const gchar *property_name, 884s # GError **error, 884s # gpointer user_data) 884s # { 884s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 884s # GValue value = G_VALUE_INIT; 884s # GParamSpec *pspec; 884s # _ExtendedGDBusPropertyInfo *info; 884s # GVariant *ret; 884s # ret = NULL; 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 884s # g_assert (info != NULL); 884s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 884s # if (pspec == NULL) 884s # { 884s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 884s # } 884s # else 884s # { 884s # g_value_init (&value, pspec->value_type); 884s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 884s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 884s # g_value_unset (&value); 884s # } 884s # return ret; 884s # } 884s # 884s # static gboolean 884s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name G_GNUC_UNUSED, 884s # const gchar *property_name, 884s # GVariant *variant, 884s # GError **error, 884s # gpointer user_data) 884s # { 884s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 884s # GValue value = G_VALUE_INIT; 884s # GParamSpec *pspec; 884s # _ExtendedGDBusPropertyInfo *info; 884s # gboolean ret; 884s # ret = FALSE; 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 884s # g_assert (info != NULL); 884s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 884s # if (pspec == NULL) 884s # { 884s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 884s # } 884s # else 884s # { 884s # if (info->use_gvariant) 884s # g_value_set_variant (&value, variant); 884s # else 884s # g_dbus_gvariant_to_gvalue (variant, &value); 884s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 884s # g_value_unset (&value); 884s # ret = TRUE; 884s # } 884s # return ret; 884s # } 884s # 884s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 884s # { 884s # _org_project_bar_frobnicator_skeleton_handle_method_call, 884s # _org_project_bar_frobnicator_skeleton_handle_get_property, 884s # _org_project_bar_frobnicator_skeleton_handle_set_property, 884s # {NULL} 884s # }; 884s # 884s # static GDBusInterfaceInfo * 884s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 884s # { 884s # return org_project_bar_frobnicator_interface_info (); 884s # } 884s # 884s # static GDBusInterfaceVTable * 884s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 884s # { 884s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 884s # } 884s # 884s # static GVariant * 884s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 884s # { 884s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 884s # 884s # GVariantBuilder builder; 884s # guint n; 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 884s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 884s # #else 884s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 884s # #endif 884s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 884s # goto out; 884s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 884s # { 884s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 884s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 884s # { 884s # GVariant *value; 884s # 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); 884s # if (value != NULL) 884s # { 884s # g_variant_take_ref (value); 884s # g_variant_builder_add (&builder, "{sv}", info->name, value); 884s # g_variant_unref (value); 884s # } 884s # } 884s # } 884s # out: 884s # return g_variant_builder_end (&builder); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 884s # { 884s # } 884s # 884s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 884s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 884s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 884s # 884s # #else 884s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 884s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 884s # 884s # #endif 884s # static void 884s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 884s # { 884s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 884s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 884s # if (skeleton->priv->changed_properties_idle_source != NULL) 884s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 884s # g_main_context_unref (skeleton->priv->context); 884s # g_mutex_clear (&skeleton->priv->lock); 884s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 884s # { 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 884s # #else 884s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 884s # #endif 884s # 884s # g_mutex_init (&skeleton->priv->lock); 884s # skeleton->priv->context = g_main_context_ref_thread_default (); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 884s # { 884s # GObjectClass *gobject_class; 884s # GDBusInterfaceSkeletonClass *skeleton_class; 884s # 884s # gobject_class = G_OBJECT_CLASS (klass); 884s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 884s # 884s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 884s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 884s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 884s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 884s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 884s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 884s # #endif 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 884s # { 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_skeleton_new: 884s # * 884s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 884s # * 884s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 884s # */ 884s # OrgProjectBarFrobnicator * 884s # org_project_bar_frobnicator_skeleton_new (void) 884s # { 884s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 884s # } 884s # Error: 884s # 884s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzlwygmtl/tmpa062bzrc2.xml', '/tmp/tmpzlwygmtl/tmp3dr45xad1.xml', '--output', '-', '--body'] 884s # Return code: 0 884s # Output: 884s # /* 884s # * This file is generated by gdbus-codegen, do not modify it. 884s # * 884s # * The license of this code is the same as for the D-Bus interface description 884s # * it was derived from. Note that it links to GLib, so must comply with the 884s # * LGPL linking clauses. 884s # */ 884s # 884s # #ifdef HAVE_CONFIG_H 884s # # include "config.h" 884s # #endif 884s # 884s # #include 884s # #ifdef G_OS_UNIX 884s # # include 884s # #endif 884s # 884s # #ifdef G_ENABLE_DEBUG 884s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 884s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 884s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 884s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 884s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 884s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 884s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 884s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 884s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 884s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 884s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 884s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 884s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 884s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 884s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 884s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 884s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 884s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 884s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 884s # #else /* !G_ENABLE_DEBUG */ 884s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 884s # * Do not access GValues directly in your code. Instead, use the 884s # * g_value_get_*() functions 884s # */ 884s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 884s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 884s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 884s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 884s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 884s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 884s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 884s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 884s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 884s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 884s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 884s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 884s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 884s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 884s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 884s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 884s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 884s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 884s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 884s # #endif /* !G_ENABLE_DEBUG */ 884s # 884s # typedef struct 884s # { 884s # GDBusArgInfo parent_struct; 884s # gboolean use_gvariant; 884s # } _ExtendedGDBusArgInfo; 884s # 884s # typedef struct 884s # { 884s # GDBusMethodInfo parent_struct; 884s # const gchar *signal_name; 884s # gboolean pass_fdlist; 884s # } _ExtendedGDBusMethodInfo; 884s # 884s # typedef struct 884s # { 884s # GDBusSignalInfo parent_struct; 884s # const gchar *signal_name; 884s # } _ExtendedGDBusSignalInfo; 884s # 884s # typedef struct 884s # { 884s # GDBusPropertyInfo parent_struct; 884s # const gchar *hyphen_name; 884s # guint use_gvariant : 1; 884s # guint emits_changed_signal : 1; 884s # } _ExtendedGDBusPropertyInfo; 884s # 884s # typedef struct 884s # { 884s # GDBusInterfaceInfo parent_struct; 884s # const gchar *hyphen_name; 884s # } _ExtendedGDBusInterfaceInfo; 884s # 884s # typedef struct 884s # { 884s # const _ExtendedGDBusPropertyInfo *info; 884s # guint prop_id; 884s # GValue orig_value; /* the value before the change */ 884s # } ChangedProperty; 884s # 884s # static void 884s # _changed_property_free (ChangedProperty *data) 884s # { 884s # g_value_unset (&data->orig_value); 884s # g_free (data); 884s # } 884s # 884s # static gboolean 884s # _g_strv_equal0 (gchar **a, gchar **b) 884s # { 884s # gboolean ret = FALSE; 884s # guint n; 884s # if (a == NULL && b == NULL) 884s # { 884s # ret = TRUE; 884s # goto out; 884s # } 884s # if (a == NULL || b == NULL) 884s # goto out; 884s # if (g_strv_length (a) != g_strv_length (b)) 884s # goto out; 884s # for (n = 0; a[n] != NULL; n++) 884s # if (g_strcmp0 (a[n], b[n]) != 0) 884s # goto out; 884s # ret = TRUE; 884s # out: 884s # return ret; 884s # } 884s # 884s # static gboolean 884s # _g_variant_equal0 (GVariant *a, GVariant *b) 884s # { 884s # gboolean ret = FALSE; 884s # if (a == NULL && b == NULL) 884s # { 884s # ret = TRUE; 884s # goto out; 884s # } 884s # if (a == NULL || b == NULL) 884s # goto out; 884s # ret = g_variant_equal (a, b); 884s # out: 884s # return ret; 884s # } 884s # 884s # G_GNUC_UNUSED static gboolean 884s # _g_value_equal (const GValue *a, const GValue *b) 884s # { 884s # gboolean ret = FALSE; 884s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 884s # switch (G_VALUE_TYPE (a)) 884s # { 884s # case G_TYPE_BOOLEAN: 884s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 884s # break; 884s # case G_TYPE_UCHAR: 884s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 884s # break; 884s # case G_TYPE_INT: 884s # ret = (g_value_get_int (a) == g_value_get_int (b)); 884s # break; 884s # case G_TYPE_UINT: 884s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 884s # break; 884s # case G_TYPE_INT64: 884s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 884s # break; 884s # case G_TYPE_UINT64: 884s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 884s # break; 884s # case G_TYPE_DOUBLE: 884s # { 884s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 884s # gdouble da = g_value_get_double (a); 884s # gdouble db = g_value_get_double (b); 884s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 884s # } 884s # break; 884s # case G_TYPE_STRING: 884s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 884s # break; 884s # case G_TYPE_VARIANT: 884s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 884s # break; 884s # default: 884s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 884s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 884s # else 884s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 884s # break; 884s # } 884s # return ret; 884s # } 884s # 884s # static void 884s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint G_GNUC_UNUSED, 884s # void *marshal_data) 884s # { 884s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 884s # (void *data1, 884s # GDBusMethodInvocation *arg_method_invocation, 884s # void *data2); 884s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 884s # GCClosure *cc = (GCClosure*) closure; 884s # void *data1, *data2; 884s # gboolean v_return; 884s # 884s # g_return_if_fail (return_value != NULL); 884s # g_return_if_fail (n_param_values == 2); 884s # 884s # if (G_CCLOSURE_SWAP_DATA (closure)) 884s # { 884s # data1 = closure->data; 884s # data2 = g_value_peek_pointer (param_values + 0); 884s # } 884s # else 884s # { 884s # data1 = g_value_peek_pointer (param_values + 0); 884s # data2 = closure->data; 884s # } 884s # 884s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 884s # (marshal_data ? marshal_data : cc->callback); 884s # 884s # v_return = 884s # callback (data1, 884s # g_marshal_value_peek_object (param_values + 1), 884s # data2); 884s # 884s # g_value_set_boolean (return_value, v_return); 884s # } 884s # 884s # /* ------------------------------------------------------------------------ 884s # * Code for interface com.acme.Coyote 884s # * ------------------------------------------------------------------------ 884s # */ 884s # 884s # /** 884s # * SECTION:ComAcmeCoyote 884s # * @title: ComAcmeCoyote 884s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 884s # * 884s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 884s # */ 884s # 884s # enum 884s # { 884s # _COM_ACME_COYOTE_SURPRISED, 884s # }; 884s # 884s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 884s # 884s # /* ---- Introspection data for com.acme.Coyote ---- */ 884s # 884s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 884s # { 884s # { 884s # -1, 884s # (gchar *) "Run", 884s # NULL, 884s # NULL, 884s # NULL 884s # }, 884s # "handle-run", 884s # FALSE 884s # }; 884s # 884s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 884s # { 884s # { 884s # -1, 884s # (gchar *) "Sleep", 884s # NULL, 884s # NULL, 884s # NULL 884s # }, 884s # "handle-sleep", 884s # FALSE 884s # }; 884s # 884s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 884s # { 884s # { 884s # -1, 884s # (gchar *) "Attack", 884s # NULL, 884s # NULL, 884s # NULL 884s # }, 884s # "handle-attack", 884s # FALSE 884s # }; 884s # 884s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 884s # { 884s # &_com_acme_coyote_method_info_run.parent_struct, 884s # &_com_acme_coyote_method_info_sleep.parent_struct, 884s # &_com_acme_coyote_method_info_attack.parent_struct, 884s # NULL 884s # }; 884s # 884s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 884s # { 884s # { 884s # -1, 884s # (gchar *) "Surprised", 884s # NULL, 884s # NULL 884s # }, 884s # "surprised" 884s # }; 884s # 884s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 884s # { 884s # &_com_acme_coyote_signal_info_surprised.parent_struct, 884s # NULL 884s # }; 884s # 884s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 884s # { 884s # { 884s # -1, 884s # (gchar *) "Mood", 884s # (gchar *) "s", 884s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 884s # NULL 884s # }, 884s # "mood", 884s # FALSE, 884s # TRUE 884s # }; 884s # 884s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 884s # { 884s # &_com_acme_coyote_property_info_mood.parent_struct, 884s # NULL 884s # }; 884s # 884s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 884s # { 884s # { 884s # -1, 884s # (gchar *) "com.acme.Coyote", 884s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 884s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 884s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 884s # NULL 884s # }, 884s # "com-acme-coyote", 884s # }; 884s # 884s # 884s # /** 884s # * com_acme_coyote_interface_info: 884s # * 884s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 884s # * 884s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 884s # */ 884s # GDBusInterfaceInfo * 884s # com_acme_coyote_interface_info (void) 884s # { 884s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_override_properties: 884s # * @klass: The class structure for a #GObject derived class. 884s # * @property_id_begin: The property id to assign to the first overridden property. 884s # * 884s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 884s # * The properties are overridden in the order they are defined. 884s # * 884s # * Returns: The last property id. 884s # */ 884s # guint 884s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 884s # { 884s # g_object_class_override_property (klass, property_id_begin++, "mood"); 884s # return property_id_begin - 1; 884s # } 884s # 884s # 884s # inline static void 884s # com_acme_coyote_signal_marshal_surprised ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint, 884s # void *marshal_data) 884s # { 884s # g_cclosure_marshal_VOID__VOID (closure, 884s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 884s # } 884s # 884s # inline static void 884s # com_acme_coyote_method_marshal_run ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint, 884s # void *marshal_data) 884s # { 884s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 884s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 884s # } 884s # 884s # inline static void 884s # com_acme_coyote_method_marshal_sleep ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint, 884s # void *marshal_data) 884s # { 884s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 884s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 884s # } 884s # 884s # inline static void 884s # com_acme_coyote_method_marshal_attack ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint, 884s # void *marshal_data) 884s # { 884s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 884s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 884s # } 884s # 884s # 884s # /** 884s # * ComAcmeCoyote: 884s # * 884s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 884s # */ 884s # 884s # /** 884s # * ComAcmeCoyoteIface: 884s # * @parent_iface: The parent interface. 884s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 884s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 884s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 884s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 884s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 884s # * 884s # * Virtual table for the D-Bus interface com.acme.Coyote. 884s # */ 884s # 884s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 884s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 884s # 884s # static void 884s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 884s # { 884s # /* GObject signals for incoming D-Bus method calls: */ 884s # /** 884s # * ComAcmeCoyote::handle-run: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: A #GDBusMethodInvocation. 884s # * 884s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 884s # * 884s # * 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. 884s # * 884s # * 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. 884s # */ 884s # g_signal_new ("handle-run", 884s # G_TYPE_FROM_INTERFACE (iface), 884s # G_SIGNAL_RUN_LAST, 884s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 884s # g_signal_accumulator_true_handled, 884s # NULL, 884s # com_acme_coyote_method_marshal_run, 884s # G_TYPE_BOOLEAN, 884s # 1, 884s # G_TYPE_DBUS_METHOD_INVOCATION); 884s # 884s # /** 884s # * ComAcmeCoyote::handle-sleep: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: A #GDBusMethodInvocation. 884s # * 884s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 884s # * 884s # * 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. 884s # * 884s # * 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. 884s # */ 884s # g_signal_new ("handle-sleep", 884s # G_TYPE_FROM_INTERFACE (iface), 884s # G_SIGNAL_RUN_LAST, 884s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 884s # g_signal_accumulator_true_handled, 884s # NULL, 884s # com_acme_coyote_method_marshal_sleep, 884s # G_TYPE_BOOLEAN, 884s # 1, 884s # G_TYPE_DBUS_METHOD_INVOCATION); 884s # 884s # /** 884s # * ComAcmeCoyote::handle-attack: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: A #GDBusMethodInvocation. 884s # * 884s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 884s # * 884s # * 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. 884s # * 884s # * 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. 884s # */ 884s # g_signal_new ("handle-attack", 884s # G_TYPE_FROM_INTERFACE (iface), 884s # G_SIGNAL_RUN_LAST, 884s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 884s # g_signal_accumulator_true_handled, 884s # NULL, 884s # com_acme_coyote_method_marshal_attack, 884s # G_TYPE_BOOLEAN, 884s # 1, 884s # G_TYPE_DBUS_METHOD_INVOCATION); 884s # 884s # /* GObject signals for received D-Bus signals: */ 884s # /** 884s # * ComAcmeCoyote::surprised: 884s # * @object: A #ComAcmeCoyote. 884s # * 884s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 884s # * 884s # * 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. 884s # */ 884s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 884s # g_signal_new ("surprised", 884s # G_TYPE_FROM_INTERFACE (iface), 884s # G_SIGNAL_RUN_LAST, 884s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 884s # NULL, 884s # NULL, 884s # com_acme_coyote_signal_marshal_surprised, 884s # G_TYPE_NONE, 884s # 0); 884s # 884s # /* GObject properties for D-Bus properties: */ 884s # /** 884s # * ComAcmeCoyote:mood: 884s # * 884s # * Represents the D-Bus property "Mood". 884s # * 884s # * 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. 884s # */ 884s # g_object_interface_install_property (iface, 884s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_get_mood: (skip) 884s # * @object: A #ComAcmeCoyote. 884s # * 884s # * Gets the value of the "Mood" D-Bus property. 884s # * 884s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 884s # * 884s # * 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. 884s # * 884s # * 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. 884s # */ 884s # const gchar * 884s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 884s # { 884s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 884s # 884s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_dup_mood: (skip) 884s # * @object: A #ComAcmeCoyote. 884s # * 884s # * Gets a copy of the "Mood" D-Bus property. 884s # * 884s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 884s # * 884s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 884s # */ 884s # gchar * 884s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 884s # { 884s # gchar *value; 884s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 884s # return value; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_set_mood: (skip) 884s # * @object: A #ComAcmeCoyote. 884s # * @value: The value to set. 884s # * 884s # * Sets the "Mood" D-Bus property to @value. 884s # * 884s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 884s # */ 884s # void 884s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 884s # { 884s # g_object_set (G_OBJECT (object), "mood", value, NULL); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_emit_surprised: 884s # * @object: A #ComAcmeCoyote. 884s # * 884s # * Emits the "Surprised" D-Bus signal. 884s # */ 884s # void 884s # com_acme_coyote_emit_surprised ( 884s # ComAcmeCoyote *object) 884s # { 884s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_run: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously invokes the Run() D-Bus method on @proxy. 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 884s # * 884s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 884s # */ 884s # void 884s # com_acme_coyote_call_run ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 884s # "Run", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # callback, 884s # user_data); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_run_finish: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Finishes an operation started with com_acme_coyote_call_run(). 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_run_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_run_sync: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 884s # * 884s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_run_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 884s # "Run", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_sleep: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 884s # * 884s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 884s # */ 884s # void 884s # com_acme_coyote_call_sleep ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 884s # "Sleep", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # callback, 884s # user_data); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_sleep_finish: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Finishes an operation started with com_acme_coyote_call_sleep(). 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_sleep_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_sleep_sync: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 884s # * 884s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_sleep_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 884s # "Sleep", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_attack: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 884s # * 884s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 884s # */ 884s # void 884s # com_acme_coyote_call_attack ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 884s # "Attack", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # callback, 884s # user_data); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_attack_finish: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Finishes an operation started with com_acme_coyote_call_attack(). 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_attack_finish ( 884s # ComAcmeCoyote *proxy, 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_call_attack_sync: 884s # * @proxy: A #ComAcmeCoyoteProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 884s # * 884s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # com_acme_coyote_call_attack_sync ( 884s # ComAcmeCoyote *proxy, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 884s # "Attack", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_complete_run: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: (transfer full): A #GDBusMethodInvocation. 884s # * 884s # * 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. 884s # * 884s # * This method will free @invocation, you cannot use it afterwards. 884s # */ 884s # void 884s # com_acme_coyote_complete_run ( 884s # ComAcmeCoyote *object G_GNUC_UNUSED, 884s # GDBusMethodInvocation *invocation) 884s # { 884s # g_dbus_method_invocation_return_value (invocation, 884s # g_variant_new ("()")); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_complete_sleep: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: (transfer full): A #GDBusMethodInvocation. 884s # * 884s # * 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. 884s # * 884s # * This method will free @invocation, you cannot use it afterwards. 884s # */ 884s # void 884s # com_acme_coyote_complete_sleep ( 884s # ComAcmeCoyote *object G_GNUC_UNUSED, 884s # GDBusMethodInvocation *invocation) 884s # { 884s # g_dbus_method_invocation_return_value (invocation, 884s # g_variant_new ("()")); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_complete_attack: 884s # * @object: A #ComAcmeCoyote. 884s # * @invocation: (transfer full): A #GDBusMethodInvocation. 884s # * 884s # * 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. 884s # * 884s # * This method will free @invocation, you cannot use it afterwards. 884s # */ 884s # void 884s # com_acme_coyote_complete_attack ( 884s # ComAcmeCoyote *object G_GNUC_UNUSED, 884s # GDBusMethodInvocation *invocation) 884s # { 884s # g_dbus_method_invocation_return_value (invocation, 884s # g_variant_new ("()")); 884s # } 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # 884s # /** 884s # * ComAcmeCoyoteProxy: 884s # * 884s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 884s # */ 884s # 884s # /** 884s # * ComAcmeCoyoteProxyClass: 884s # * @parent_class: The parent class. 884s # * 884s # * Class structure for #ComAcmeCoyoteProxy. 884s # */ 884s # 884s # struct _ComAcmeCoyoteProxyPrivate 884s # { 884s # GData *qdata; 884s # }; 884s # 884s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 884s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 884s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 884s # 884s # #else 884s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 884s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 884s # 884s # #endif 884s # static void 884s # com_acme_coyote_proxy_finalize (GObject *object) 884s # { 884s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 884s # g_datalist_clear (&proxy->priv->qdata); 884s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_get_property (GObject *object, 884s # guint prop_id, 884s # GValue *value, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # const _ExtendedGDBusPropertyInfo *info; 884s # GVariant *variant; 884s # g_assert (prop_id != 0 && prop_id - 1 < 1); 884s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 884s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 884s # if (info->use_gvariant) 884s # { 884s # g_value_set_variant (value, variant); 884s # } 884s # else 884s # { 884s # if (variant != NULL) 884s # g_dbus_gvariant_to_gvalue (variant, value); 884s # } 884s # if (variant != NULL) 884s # g_variant_unref (variant); 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 884s # GAsyncResult *res, 884s # gpointer user_data) 884s # { 884s # const _ExtendedGDBusPropertyInfo *info = user_data; 884s # GError *error; 884s # GVariant *_ret; 884s # error = NULL; 884s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 884s # if (!_ret) 884s # { 884s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 884s # info->parent_struct.name, 884s # error->message, g_quark_to_string (error->domain), error->code); 884s # g_error_free (error); 884s # } 884s # else 884s # { 884s # g_variant_unref (_ret); 884s # } 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_set_property (GObject *object, 884s # guint prop_id, 884s # const GValue *value, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # const _ExtendedGDBusPropertyInfo *info; 884s # GVariant *variant; 884s # g_assert (prop_id != 0 && prop_id - 1 < 1); 884s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 884s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 884s # g_dbus_proxy_call (G_DBUS_PROXY (object), 884s # "org.freedesktop.DBus.Properties.Set", 884s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 884s # g_variant_unref (variant); 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 884s # const gchar *sender_name G_GNUC_UNUSED, 884s # const gchar *signal_name, 884s # GVariant *parameters) 884s # { 884s # _ExtendedGDBusSignalInfo *info; 884s # GVariantIter iter; 884s # GVariant *child; 884s # GValue *paramv; 884s # gsize num_params; 884s # gsize n; 884s # guint signal_id; 884s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 884s # if (info == NULL) 884s # return; 884s # num_params = g_variant_n_children (parameters); 884s # paramv = g_new0 (GValue, num_params + 1); 884s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 884s # g_value_set_object (¶mv[0], proxy); 884s # g_variant_iter_init (&iter, parameters); 884s # n = 1; 884s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 884s # { 884s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 884s # if (arg_info->use_gvariant) 884s # { 884s # g_value_init (¶mv[n], G_TYPE_VARIANT); 884s # g_value_set_variant (¶mv[n], child); 884s # n++; 884s # } 884s # else 884s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 884s # g_variant_unref (child); 884s # } 884s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 884s # g_signal_emitv (paramv, signal_id, 0, NULL); 884s # for (n = 0; n < num_params + 1; n++) 884s # g_value_unset (¶mv[n]); 884s # g_free (paramv); 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 884s # GVariant *changed_properties, 884s # const gchar *const *invalidated_properties) 884s # { 884s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 884s # guint n; 884s # const gchar *key; 884s # GVariantIter *iter; 884s # _ExtendedGDBusPropertyInfo *info; 884s # g_variant_get (changed_properties, "a{sv}", &iter); 884s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 884s # { 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 884s # g_datalist_remove_data (&proxy->priv->qdata, key); 884s # if (info != NULL) 884s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 884s # } 884s # g_variant_iter_free (iter); 884s # for (n = 0; invalidated_properties[n] != NULL; n++) 884s # { 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 884s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 884s # if (info != NULL) 884s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 884s # } 884s # } 884s # 884s # static const gchar * 884s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 884s # { 884s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 884s # GVariant *variant; 884s # const gchar *value = NULL; 884s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 884s # if (variant != NULL) 884s # { 884s # value = g_variant_get_string (variant, NULL); 884s # g_variant_unref (variant); 884s # } 884s # return value; 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 884s # { 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 884s # #else 884s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 884s # #endif 884s # 884s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 884s # { 884s # GObjectClass *gobject_class; 884s # GDBusProxyClass *proxy_class; 884s # 884s # gobject_class = G_OBJECT_CLASS (klass); 884s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 884s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 884s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 884s # 884s # proxy_class = G_DBUS_PROXY_CLASS (klass); 884s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 884s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 884s # 884s # com_acme_coyote_override_properties (gobject_class, 1); 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 884s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 884s # #endif 884s # } 884s # 884s # static void 884s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 884s # { 884s # iface->get_mood = com_acme_coyote_proxy_get_mood; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_proxy_new: 884s # * @connection: A #GDBusConnection. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 884s # * 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 884s # * 884s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 884s # */ 884s # void 884s # com_acme_coyote_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # 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); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_proxy_new_finish: 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 884s # * @error: Return location for error or %NULL 884s # * 884s # * Finishes an operation started with com_acme_coyote_proxy_new(). 884s # * 884s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # ComAcmeCoyote * 884s # com_acme_coyote_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GObject *ret; 884s # GObject *source_object; 884s # source_object = g_async_result_get_source_object (res); 884s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 884s # g_object_unref (source_object); 884s # if (ret != NULL) 884s # return COM_ACME_COYOTE (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_proxy_new_sync: 884s # * @connection: A #GDBusConnection. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL 884s # * 884s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 884s # * 884s # * The calling thread is blocked until a reply is received. 884s # * 884s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 884s # * 884s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # ComAcmeCoyote * 884s # com_acme_coyote_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GInitable *ret; 884s # 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); 884s # if (ret != NULL) 884s # return COM_ACME_COYOTE (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # 884s # /** 884s # * com_acme_coyote_proxy_new_for_bus: 884s # * @bus_type: A #GBusType. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: A bus name (well-known or unique). 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 884s # * 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 884s # * 884s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 884s # */ 884s # void 884s # com_acme_coyote_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # 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); 884s # } 884s # 884s # /** 884s # * com_acme_coyote_proxy_new_for_bus_finish: 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 884s # * @error: Return location for error or %NULL 884s # * 884s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 884s # * 884s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # ComAcmeCoyote * 884s # com_acme_coyote_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GObject *ret; 884s # GObject *source_object; 884s # source_object = g_async_result_get_source_object (res); 884s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 884s # g_object_unref (source_object); 884s # if (ret != NULL) 884s # return COM_ACME_COYOTE (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_proxy_new_for_bus_sync: 884s # * @bus_type: A #GBusType. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: A bus name (well-known or unique). 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL 884s # * 884s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 884s # * 884s # * The calling thread is blocked until a reply is received. 884s # * 884s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 884s # * 884s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # ComAcmeCoyote * 884s # com_acme_coyote_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GInitable *ret; 884s # 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); 884s # if (ret != NULL) 884s # return COM_ACME_COYOTE (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # 884s # /** 884s # * ComAcmeCoyoteSkeleton: 884s # * 884s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 884s # */ 884s # 884s # /** 884s # * ComAcmeCoyoteSkeletonClass: 884s # * @parent_class: The parent class. 884s # * 884s # * Class structure for #ComAcmeCoyoteSkeleton. 884s # */ 884s # 884s # struct _ComAcmeCoyoteSkeletonPrivate 884s # { 884s # GValue *properties; 884s # GList *changed_properties; 884s # GSource *changed_properties_idle_source; 884s # GMainContext *context; 884s # GMutex lock; 884s # }; 884s # 884s # static void 884s # _com_acme_coyote_skeleton_handle_method_call ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name, 884s # const gchar *method_name, 884s # GVariant *parameters, 884s # GDBusMethodInvocation *invocation, 884s # gpointer user_data) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 884s # _ExtendedGDBusMethodInfo *info; 884s # GVariantIter iter; 884s # GVariant *child; 884s # GValue *paramv; 884s # gsize num_params; 884s # guint num_extra; 884s # gsize n; 884s # guint signal_id; 884s # GValue return_value = G_VALUE_INIT; 884s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 884s # g_assert (info != NULL); 884s # num_params = g_variant_n_children (parameters); 884s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 884s # n = 0; 884s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 884s # g_value_set_object (¶mv[n++], skeleton); 884s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 884s # g_value_set_object (¶mv[n++], invocation); 884s # if (info->pass_fdlist) 884s # { 884s # #ifdef G_OS_UNIX 884s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 884s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 884s # #else 884s # g_assert_not_reached (); 884s # #endif 884s # } 884s # g_variant_iter_init (&iter, parameters); 884s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 884s # { 884s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 884s # if (arg_info->use_gvariant) 884s # { 884s # g_value_init (¶mv[n], G_TYPE_VARIANT); 884s # g_value_set_variant (¶mv[n], child); 884s # n++; 884s # } 884s # else 884s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 884s # g_variant_unref (child); 884s # } 884s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 884s # g_value_init (&return_value, G_TYPE_BOOLEAN); 884s # g_signal_emitv (paramv, signal_id, 0, &return_value); 884s # if (!g_value_get_boolean (&return_value)) 884s # 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); 884s # g_value_unset (&return_value); 884s # for (n = 0; n < num_params + num_extra; n++) 884s # g_value_unset (¶mv[n]); 884s # g_free (paramv); 884s # } 884s # 884s # static GVariant * 884s # _com_acme_coyote_skeleton_handle_get_property ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name G_GNUC_UNUSED, 884s # const gchar *property_name, 884s # GError **error, 884s # gpointer user_data) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 884s # GValue value = G_VALUE_INIT; 884s # GParamSpec *pspec; 884s # _ExtendedGDBusPropertyInfo *info; 884s # GVariant *ret; 884s # ret = NULL; 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 884s # g_assert (info != NULL); 884s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 884s # if (pspec == NULL) 884s # { 884s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 884s # } 884s # else 884s # { 884s # g_value_init (&value, pspec->value_type); 884s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 884s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 884s # g_value_unset (&value); 884s # } 884s # return ret; 884s # } 884s # 884s # static gboolean 884s # _com_acme_coyote_skeleton_handle_set_property ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name G_GNUC_UNUSED, 884s # const gchar *property_name, 884s # GVariant *variant, 884s # GError **error, 884s # gpointer user_data) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 884s # GValue value = G_VALUE_INIT; 884s # GParamSpec *pspec; 884s # _ExtendedGDBusPropertyInfo *info; 884s # gboolean ret; 884s # ret = FALSE; 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 884s # g_assert (info != NULL); 884s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 884s # if (pspec == NULL) 884s # { 884s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 884s # } 884s # else 884s # { 884s # if (info->use_gvariant) 884s # g_value_set_variant (&value, variant); 884s # else 884s # g_dbus_gvariant_to_gvalue (variant, &value); 884s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 884s # g_value_unset (&value); 884s # ret = TRUE; 884s # } 884s # return ret; 884s # } 884s # 884s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 884s # { 884s # _com_acme_coyote_skeleton_handle_method_call, 884s # _com_acme_coyote_skeleton_handle_get_property, 884s # _com_acme_coyote_skeleton_handle_set_property, 884s # {NULL} 884s # }; 884s # 884s # static GDBusInterfaceInfo * 884s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 884s # { 884s # return com_acme_coyote_interface_info (); 884s # } 884s # 884s # static GDBusInterfaceVTable * 884s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 884s # { 884s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 884s # } 884s # 884s # static GVariant * 884s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 884s # 884s # GVariantBuilder builder; 884s # guint n; 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 884s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 884s # #else 884s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 884s # #endif 884s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 884s # goto out; 884s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 884s # { 884s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 884s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 884s # { 884s # GVariant *value; 884s # 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); 884s # if (value != NULL) 884s # { 884s # g_variant_take_ref (value); 884s # g_variant_builder_add (&builder, "{sv}", info->name, value); 884s # g_variant_unref (value); 884s # } 884s # } 884s # } 884s # out: 884s # return g_variant_builder_end (&builder); 884s # } 884s # 884s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 884s # 884s # static void 884s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 884s # gboolean emit_changed = FALSE; 884s # 884s # g_mutex_lock (&skeleton->priv->lock); 884s # if (skeleton->priv->changed_properties_idle_source != NULL) 884s # { 884s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 884s # skeleton->priv->changed_properties_idle_source = NULL; 884s # emit_changed = TRUE; 884s # } 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # 884s # if (emit_changed) 884s # _com_acme_coyote_emit_changed (skeleton); 884s # } 884s # 884s # static void 884s # _com_acme_coyote_on_signal_surprised ( 884s # ComAcmeCoyote *object) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # 884s # GList *connections, *l; 884s # GVariant *signal_variant; 884s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 884s # 884s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 884s # for (l = connections; l != NULL; l = l->next) 884s # { 884s # GDBusConnection *connection = l->data; 884s # g_dbus_connection_emit_signal (connection, 884s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 884s # signal_variant, NULL); 884s # } 884s # g_variant_unref (signal_variant); 884s # g_list_free_full (connections, g_object_unref); 884s # } 884s # 884s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 884s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 884s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 884s # 884s # #else 884s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 884s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 884s # 884s # #endif 884s # static void 884s # com_acme_coyote_skeleton_finalize (GObject *object) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # guint n; 884s # for (n = 0; n < 1; n++) 884s # g_value_unset (&skeleton->priv->properties[n]); 884s # g_free (skeleton->priv->properties); 884s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 884s # if (skeleton->priv->changed_properties_idle_source != NULL) 884s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 884s # g_main_context_unref (skeleton->priv->context); 884s # g_mutex_clear (&skeleton->priv->lock); 884s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_get_property (GObject *object, 884s # guint prop_id, 884s # GValue *value, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # g_assert (prop_id != 0 && prop_id - 1 < 1); 884s # g_mutex_lock (&skeleton->priv->lock); 884s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # } 884s # 884s # static gboolean 884s # _com_acme_coyote_emit_changed (gpointer user_data) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 884s # GList *l; 884s # GVariantBuilder builder; 884s # GVariantBuilder invalidated_builder; 884s # guint num_changes; 884s # 884s # g_mutex_lock (&skeleton->priv->lock); 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 884s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 884s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 884s # #else 884s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 884s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 884s # #endif 884s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 884s # { 884s # ChangedProperty *cp = l->data; 884s # GVariant *variant; 884s # const GValue *cur_value; 884s # 884s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 884s # if (!_g_value_equal (cur_value, &cp->orig_value)) 884s # { 884s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 884s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 884s # g_variant_unref (variant); 884s # num_changes++; 884s # } 884s # } 884s # if (num_changes > 0) 884s # { 884s # GList *connections, *ll; 884s # GVariant *signal_variant; 884s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 884s # &builder, &invalidated_builder)); 884s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 884s # for (ll = connections; ll != NULL; ll = ll->next) 884s # { 884s # GDBusConnection *connection = ll->data; 884s # 884s # g_dbus_connection_emit_signal (connection, 884s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 884s # "org.freedesktop.DBus.Properties", 884s # "PropertiesChanged", 884s # signal_variant, 884s # NULL); 884s # } 884s # g_variant_unref (signal_variant); 884s # g_list_free_full (connections, g_object_unref); 884s # } 884s # else 884s # { 884s # g_variant_builder_clear (&builder); 884s # g_variant_builder_clear (&invalidated_builder); 884s # } 884s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 884s # skeleton->priv->changed_properties = NULL; 884s # skeleton->priv->changed_properties_idle_source = NULL; 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # return FALSE; 884s # } 884s # 884s # static void 884s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 884s # { 884s # ChangedProperty *cp; 884s # GList *l; 884s # cp = NULL; 884s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 884s # { 884s # ChangedProperty *i_cp = l->data; 884s # if (i_cp->info == info) 884s # { 884s # cp = i_cp; 884s # break; 884s # } 884s # } 884s # if (cp == NULL) 884s # { 884s # cp = g_new0 (ChangedProperty, 1); 884s # cp->prop_id = prop_id; 884s # cp->info = info; 884s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 884s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 884s # g_value_copy (orig_value, &cp->orig_value); 884s # } 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_notify (GObject *object, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # g_mutex_lock (&skeleton->priv->lock); 884s # if (skeleton->priv->changed_properties != NULL && 884s # skeleton->priv->changed_properties_idle_source == NULL) 884s # { 884s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 884s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 884s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 884s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 884s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 884s # g_source_unref (skeleton->priv->changed_properties_idle_source); 884s # } 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_set_property (GObject *object, 884s # guint prop_id, 884s # const GValue *value, 884s # GParamSpec *pspec) 884s # { 884s # const _ExtendedGDBusPropertyInfo *info; 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # g_assert (prop_id != 0 && prop_id - 1 < 1); 884s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 884s # g_mutex_lock (&skeleton->priv->lock); 884s # g_object_freeze_notify (object); 884s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 884s # { 884s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 884s # info->emits_changed_signal) 884s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 884s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 884s # g_object_notify_by_pspec (object, pspec); 884s # } 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # g_object_thaw_notify (object); 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 884s # { 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 884s # #else 884s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 884s # #endif 884s # 884s # g_mutex_init (&skeleton->priv->lock); 884s # skeleton->priv->context = g_main_context_ref_thread_default (); 884s # skeleton->priv->properties = g_new0 (GValue, 1); 884s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 884s # } 884s # 884s # static const gchar * 884s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 884s # { 884s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 884s # const gchar *value; 884s # g_mutex_lock (&skeleton->priv->lock); 884s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 884s # g_mutex_unlock (&skeleton->priv->lock); 884s # return value; 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 884s # { 884s # GObjectClass *gobject_class; 884s # GDBusInterfaceSkeletonClass *skeleton_class; 884s # 884s # gobject_class = G_OBJECT_CLASS (klass); 884s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 884s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 884s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 884s # gobject_class->notify = com_acme_coyote_skeleton_notify; 884s # 884s # 884s # com_acme_coyote_override_properties (gobject_class, 1); 884s # 884s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 884s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 884s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 884s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 884s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 884s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 884s # #endif 884s # } 884s # 884s # static void 884s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 884s # { 884s # iface->surprised = _com_acme_coyote_on_signal_surprised; 884s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 884s # } 884s # 884s # /** 884s # * com_acme_coyote_skeleton_new: 884s # * 884s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 884s # * 884s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 884s # */ 884s # ComAcmeCoyote * 884s # com_acme_coyote_skeleton_new (void) 884s # { 884s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 884s # } 884s # 884s # /* ------------------------------------------------------------------------ 884s # * Code for interface org.project.Bar.Frobnicator 884s # * ------------------------------------------------------------------------ 884s # */ 884s # 884s # /** 884s # * SECTION:OrgProjectBarFrobnicator 884s # * @title: OrgProjectBarFrobnicator 884s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 884s # * 884s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 884s # */ 884s # 884s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 884s # 884s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 884s # { 884s # { 884s # -1, 884s # (gchar *) "RandomMethod", 884s # NULL, 884s # NULL, 884s # NULL 884s # }, 884s # "handle-random-method", 884s # FALSE 884s # }; 884s # 884s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 884s # { 884s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 884s # NULL 884s # }; 884s # 884s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 884s # { 884s # { 884s # -1, 884s # (gchar *) "org.project.Bar.Frobnicator", 884s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 884s # NULL, 884s # NULL, 884s # NULL 884s # }, 884s # "org-project-bar-frobnicator", 884s # }; 884s # 884s # 884s # /** 884s # * org_project_bar_frobnicator_interface_info: 884s # * 884s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 884s # * 884s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 884s # */ 884s # GDBusInterfaceInfo * 884s # org_project_bar_frobnicator_interface_info (void) 884s # { 884s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_override_properties: 884s # * @klass: The class structure for a #GObject derived class. 884s # * @property_id_begin: The property id to assign to the first overridden property. 884s # * 884s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 884s # * The properties are overridden in the order they are defined. 884s # * 884s # * Returns: The last property id. 884s # */ 884s # guint 884s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 884s # { 884s # return property_id_begin - 1; 884s # } 884s # 884s # 884s # inline static void 884s # org_project_bar_frobnicator_method_marshal_random_method ( 884s # GClosure *closure, 884s # GValue *return_value, 884s # unsigned int n_param_values, 884s # const GValue *param_values, 884s # void *invocation_hint, 884s # void *marshal_data) 884s # { 884s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 884s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 884s # } 884s # 884s # 884s # /** 884s # * OrgProjectBarFrobnicator: 884s # * 884s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 884s # */ 884s # 884s # /** 884s # * OrgProjectBarFrobnicatorIface: 884s # * @parent_iface: The parent interface. 884s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 884s # * 884s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 884s # */ 884s # 884s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 884s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 884s # 884s # static void 884s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 884s # { 884s # /* GObject signals for incoming D-Bus method calls: */ 884s # /** 884s # * OrgProjectBarFrobnicator::handle-random-method: 884s # * @object: A #OrgProjectBarFrobnicator. 884s # * @invocation: A #GDBusMethodInvocation. 884s # * 884s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 884s # * 884s # * 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. 884s # * 884s # * 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. 884s # */ 884s # g_signal_new ("handle-random-method", 884s # G_TYPE_FROM_INTERFACE (iface), 884s # G_SIGNAL_RUN_LAST, 884s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 884s # g_signal_accumulator_true_handled, 884s # NULL, 884s # org_project_bar_frobnicator_method_marshal_random_method, 884s # G_TYPE_BOOLEAN, 884s # 1, 884s # G_TYPE_DBUS_METHOD_INVOCATION); 884s # 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_call_random_method: 884s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 884s # * 884s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 884s # */ 884s # void 884s # org_project_bar_frobnicator_call_random_method ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 884s # "RandomMethod", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # callback, 884s # user_data); 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_call_random_method_finish: 884s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # org_project_bar_frobnicator_call_random_method_finish ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_call_random_method_sync: 884s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL. 884s # * 884s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 884s # * 884s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 884s # * 884s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 884s # */ 884s # gboolean 884s # org_project_bar_frobnicator_call_random_method_sync ( 884s # OrgProjectBarFrobnicator *proxy, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GVariant *_ret; 884s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 884s # "RandomMethod", 884s # g_variant_new ("()"), 884s # G_DBUS_CALL_FLAGS_NONE, 884s # -1, 884s # cancellable, 884s # error); 884s # if (_ret == NULL) 884s # goto _out; 884s # g_variant_get (_ret, 884s # "()"); 884s # g_variant_unref (_ret); 884s # _out: 884s # return _ret != NULL; 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_complete_random_method: 884s # * @object: A #OrgProjectBarFrobnicator. 884s # * @invocation: (transfer full): A #GDBusMethodInvocation. 884s # * 884s # * 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. 884s # * 884s # * This method will free @invocation, you cannot use it afterwards. 884s # */ 884s # void 884s # org_project_bar_frobnicator_complete_random_method ( 884s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 884s # GDBusMethodInvocation *invocation) 884s # { 884s # g_dbus_method_invocation_return_value (invocation, 884s # g_variant_new ("()")); 884s # } 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # 884s # /** 884s # * OrgProjectBarFrobnicatorProxy: 884s # * 884s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 884s # */ 884s # 884s # /** 884s # * OrgProjectBarFrobnicatorProxyClass: 884s # * @parent_class: The parent class. 884s # * 884s # * Class structure for #OrgProjectBarFrobnicatorProxy. 884s # */ 884s # 884s # struct _OrgProjectBarFrobnicatorProxyPrivate 884s # { 884s # GData *qdata; 884s # }; 884s # 884s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 884s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 884s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 884s # 884s # #else 884s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 884s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 884s # 884s # #endif 884s # static void 884s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 884s # { 884s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 884s # g_datalist_clear (&proxy->priv->qdata); 884s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 884s # guint prop_id G_GNUC_UNUSED, 884s # GValue *value G_GNUC_UNUSED, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 884s # guint prop_id G_GNUC_UNUSED, 884s # const GValue *value G_GNUC_UNUSED, 884s # GParamSpec *pspec G_GNUC_UNUSED) 884s # { 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 884s # const gchar *sender_name G_GNUC_UNUSED, 884s # const gchar *signal_name, 884s # GVariant *parameters) 884s # { 884s # _ExtendedGDBusSignalInfo *info; 884s # GVariantIter iter; 884s # GVariant *child; 884s # GValue *paramv; 884s # gsize num_params; 884s # gsize n; 884s # guint signal_id; 884s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 884s # if (info == NULL) 884s # return; 884s # num_params = g_variant_n_children (parameters); 884s # paramv = g_new0 (GValue, num_params + 1); 884s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 884s # g_value_set_object (¶mv[0], proxy); 884s # g_variant_iter_init (&iter, parameters); 884s # n = 1; 884s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 884s # { 884s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 884s # if (arg_info->use_gvariant) 884s # { 884s # g_value_init (¶mv[n], G_TYPE_VARIANT); 884s # g_value_set_variant (¶mv[n], child); 884s # n++; 884s # } 884s # else 884s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 884s # g_variant_unref (child); 884s # } 884s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 884s # g_signal_emitv (paramv, signal_id, 0, NULL); 884s # for (n = 0; n < num_params + 1; n++) 884s # g_value_unset (¶mv[n]); 884s # g_free (paramv); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 884s # GVariant *changed_properties, 884s # const gchar *const *invalidated_properties) 884s # { 884s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 884s # guint n; 884s # const gchar *key; 884s # GVariantIter *iter; 884s # _ExtendedGDBusPropertyInfo *info; 884s # g_variant_get (changed_properties, "a{sv}", &iter); 884s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 884s # { 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 884s # g_datalist_remove_data (&proxy->priv->qdata, key); 884s # if (info != NULL) 884s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 884s # } 884s # g_variant_iter_free (iter); 884s # for (n = 0; invalidated_properties[n] != NULL; n++) 884s # { 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 884s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 884s # if (info != NULL) 884s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 884s # } 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 884s # { 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 884s # #else 884s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 884s # #endif 884s # 884s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 884s # { 884s # GObjectClass *gobject_class; 884s # GDBusProxyClass *proxy_class; 884s # 884s # gobject_class = G_OBJECT_CLASS (klass); 884s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 884s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 884s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 884s # 884s # proxy_class = G_DBUS_PROXY_CLASS (klass); 884s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 884s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 884s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 884s # #endif 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 884s # { 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new: 884s # * @connection: A #GDBusConnection. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 884s # * 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 884s # * 884s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 884s # */ 884s # void 884s # org_project_bar_frobnicator_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # 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); 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new_finish: 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 884s # * @error: Return location for error or %NULL 884s # * 884s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 884s # * 884s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # OrgProjectBarFrobnicator * 884s # org_project_bar_frobnicator_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GObject *ret; 884s # GObject *source_object; 884s # source_object = g_async_result_get_source_object (res); 884s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 884s # g_object_unref (source_object); 884s # if (ret != NULL) 884s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new_sync: 884s # * @connection: A #GDBusConnection. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL 884s # * 884s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 884s # * 884s # * The calling thread is blocked until a reply is received. 884s # * 884s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 884s # * 884s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # OrgProjectBarFrobnicator * 884s # org_project_bar_frobnicator_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GInitable *ret; 884s # 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); 884s # if (ret != NULL) 884s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new_for_bus: 884s # * @bus_type: A #GBusType. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: A bus name (well-known or unique). 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 884s # * @user_data: User data to pass to @callback. 884s # * 884s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 884s # * 884s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 884s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 884s # * 884s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 884s # */ 884s # void 884s # org_project_bar_frobnicator_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data) 884s # { 884s # 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); 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 884s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 884s # * @error: Return location for error or %NULL 884s # * 884s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 884s # * 884s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # OrgProjectBarFrobnicator * 884s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error) 884s # { 884s # GObject *ret; 884s # GObject *source_object; 884s # source_object = g_async_result_get_source_object (res); 884s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 884s # g_object_unref (source_object); 884s # if (ret != NULL) 884s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 884s # * @bus_type: A #GBusType. 884s # * @flags: Flags from the #GDBusProxyFlags enumeration. 884s # * @name: A bus name (well-known or unique). 884s # * @object_path: An object path. 884s # * @cancellable: (nullable): A #GCancellable or %NULL. 884s # * @error: Return location for error or %NULL 884s # * 884s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 884s # * 884s # * The calling thread is blocked until a reply is received. 884s # * 884s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 884s # * 884s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 884s # */ 884s # OrgProjectBarFrobnicator * 884s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error) 884s # { 884s # GInitable *ret; 884s # 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); 884s # if (ret != NULL) 884s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 884s # else 884s # return NULL; 884s # } 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # 884s # /** 884s # * OrgProjectBarFrobnicatorSkeleton: 884s # * 884s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 884s # */ 884s # 884s # /** 884s # * OrgProjectBarFrobnicatorSkeletonClass: 884s # * @parent_class: The parent class. 884s # * 884s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 884s # */ 884s # 884s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 884s # { 884s # GValue *properties; 884s # GList *changed_properties; 884s # GSource *changed_properties_idle_source; 884s # GMainContext *context; 884s # GMutex lock; 884s # }; 884s # 884s # static void 884s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name, 884s # const gchar *method_name, 884s # GVariant *parameters, 884s # GDBusMethodInvocation *invocation, 884s # gpointer user_data) 884s # { 884s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 884s # _ExtendedGDBusMethodInfo *info; 884s # GVariantIter iter; 884s # GVariant *child; 884s # GValue *paramv; 884s # gsize num_params; 884s # guint num_extra; 884s # gsize n; 884s # guint signal_id; 884s # GValue return_value = G_VALUE_INIT; 884s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 884s # g_assert (info != NULL); 884s # num_params = g_variant_n_children (parameters); 884s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 884s # n = 0; 884s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 884s # g_value_set_object (¶mv[n++], skeleton); 884s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 884s # g_value_set_object (¶mv[n++], invocation); 884s # if (info->pass_fdlist) 884s # { 884s # #ifdef G_OS_UNIX 884s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 884s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 884s # #else 884s # g_assert_not_reached (); 884s # #endif 884s # } 884s # g_variant_iter_init (&iter, parameters); 884s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 884s # { 884s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 884s # if (arg_info->use_gvariant) 884s # { 884s # g_value_init (¶mv[n], G_TYPE_VARIANT); 884s # g_value_set_variant (¶mv[n], child); 884s # n++; 884s # } 884s # else 884s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 884s # g_variant_unref (child); 884s # } 884s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 884s # g_value_init (&return_value, G_TYPE_BOOLEAN); 884s # g_signal_emitv (paramv, signal_id, 0, &return_value); 884s # if (!g_value_get_boolean (&return_value)) 884s # 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); 884s # g_value_unset (&return_value); 884s # for (n = 0; n < num_params + num_extra; n++) 884s # g_value_unset (¶mv[n]); 884s # g_free (paramv); 884s # } 884s # 884s # static GVariant * 884s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name G_GNUC_UNUSED, 884s # const gchar *property_name, 884s # GError **error, 884s # gpointer user_data) 884s # { 884s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 884s # GValue value = G_VALUE_INIT; 884s # GParamSpec *pspec; 884s # _ExtendedGDBusPropertyInfo *info; 884s # GVariant *ret; 884s # ret = NULL; 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 884s # g_assert (info != NULL); 884s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 884s # if (pspec == NULL) 884s # { 884s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 884s # } 884s # else 884s # { 884s # g_value_init (&value, pspec->value_type); 884s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 884s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 884s # g_value_unset (&value); 884s # } 884s # return ret; 884s # } 884s # 884s # static gboolean 884s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 884s # GDBusConnection *connection G_GNUC_UNUSED, 884s # const gchar *sender G_GNUC_UNUSED, 884s # const gchar *object_path G_GNUC_UNUSED, 884s # const gchar *interface_name G_GNUC_UNUSED, 884s # const gchar *property_name, 884s # GVariant *variant, 884s # GError **error, 884s # gpointer user_data) 884s # { 884s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 884s # GValue value = G_VALUE_INIT; 884s # GParamSpec *pspec; 884s # _ExtendedGDBusPropertyInfo *info; 884s # gboolean ret; 884s # ret = FALSE; 884s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 884s # g_assert (info != NULL); 884s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 884s # if (pspec == NULL) 884s # { 884s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 884s # } 884s # else 884s # { 884s # if (info->use_gvariant) 884s # g_value_set_variant (&value, variant); 884s # else 884s # g_dbus_gvariant_to_gvalue (variant, &value); 884s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 884s # g_value_unset (&value); 884s # ret = TRUE; 884s # } 884s # return ret; 884s # } 884s # 884s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 884s # { 884s # _org_project_bar_frobnicator_skeleton_handle_method_call, 884s # _org_project_bar_frobnicator_skeleton_handle_get_property, 884s # _org_project_bar_frobnicator_skeleton_handle_set_property, 884s # {NULL} 884s # }; 884s # 884s # static GDBusInterfaceInfo * 884s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 884s # { 884s # return org_project_bar_frobnicator_interface_info (); 884s # } 884s # 884s # static GDBusInterfaceVTable * 884s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 884s # { 884s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 884s # } 884s # 884s # static GVariant * 884s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 884s # { 884s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 884s # 884s # GVariantBuilder builder; 884s # guint n; 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 884s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 884s # #else 884s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 884s # #endif 884s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 884s # goto out; 884s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 884s # { 884s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 884s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 884s # { 884s # GVariant *value; 884s # 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); 884s # if (value != NULL) 884s # { 884s # g_variant_take_ref (value); 884s # g_variant_builder_add (&builder, "{sv}", info->name, value); 884s # g_variant_unref (value); 884s # } 884s # } 884s # } 884s # out: 884s # return g_variant_builder_end (&builder); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 884s # { 884s # } 884s # 884s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 884s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 884s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 884s # 884s # #else 884s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 884s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 884s # 884s # #endif 884s # static void 884s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 884s # { 884s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 884s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 884s # if (skeleton->priv->changed_properties_idle_source != NULL) 884s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 884s # g_main_context_unref (skeleton->priv->context); 884s # g_mutex_clear (&skeleton->priv->lock); 884s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 884s # { 884s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 884s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 884s # #else 884s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 884s # #endif 884s # 884s # g_mutex_init (&skeleton->priv->lock); 884s # skeleton->priv->context = g_main_context_ref_thread_default (); 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 884s # { 884s # GObjectClass *gobject_class; 884s # GDBusInterfaceSkeletonClass *skeleton_class; 884s # 884s # gobject_class = G_OBJECT_CLASS (klass); 884s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 884s # 884s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 884s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 884s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 884s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 884s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 884s # 884s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 884s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 884s # #endif 884s # } 884s # 884s # static void 884s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 884s # { 884s # } 884s # 884s # /** 884s # * org_project_bar_frobnicator_skeleton_new: 884s # * 884s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 884s # * 884s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 884s # */ 884s # OrgProjectBarFrobnicator * 884s # org_project_bar_frobnicator_skeleton_new (void) 884s # { 884s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 884s # } 884s # Error: 884s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 884s # gdbus-codegen: /usr/bin/gdbus-codegen 884s # tmpdir: /tmp/tmpns7e96w6 884s # /tmp/tmpns7e96w6/tmpuyljxen5.xml: 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns7e96w6/tmpuyljxen5.xml', '--output', '-', '--header'] 884s # Return code: 0 884s # Output: 884s # /* 884s # * This file is generated by gdbus-codegen, do not modify it. 884s # * 884s # * The license of this code is the same as for the D-Bus interface description 884s # * it was derived from. Note that it links to GLib, so must comply with the 884s # * LGPL linking clauses. 884s # */ 884s # 884s # #ifndef __STDOUT__ 884s # #define __STDOUT__ 884s # 884s # #include 884s # 884s # G_BEGIN_DECLS 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # /* Declarations for FDPassing */ 884s # 884s # #define TYPE_FDPASSING (fdpassing_get_type ()) 884s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 884s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 884s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 884s # 884s # struct _FDPassing; 884s # typedef struct _FDPassing FDPassing; 884s # typedef struct _FDPassingIface FDPassingIface; 884s # 884s # struct _FDPassingIface 884s # { 884s # GTypeInterface parent_iface; 884s # 884s # gboolean (*handle_hello_fd) ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GUnixFDList *fd_list, 884s # const gchar *arg_greeting); 884s # 884s # gboolean (*handle_no_annotation) ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GVariant *arg_greeting, 884s # const gchar *arg_greeting_locale); 884s # 884s # gboolean (*handle_no_annotation_nested) ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GVariant *arg_files); 884s # 884s # }; 884s # 884s # GType fdpassing_get_type (void) G_GNUC_CONST; 884s # 884s # GDBusInterfaceInfo *fdpassing_interface_info (void); 884s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 884s # 884s # 884s # /* D-Bus method call completion functions: */ 884s # void fdpassing_complete_hello_fd ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GUnixFDList *fd_list, 884s # const gchar *response); 884s # 884s # void fdpassing_complete_no_annotation ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GVariant *response, 884s # const gchar *response_locale); 884s # 884s # void fdpassing_complete_no_annotation_nested ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # 884s # 884s # /* D-Bus method calls: */ 884s # void fdpassing_call_hello_fd ( 884s # FDPassing *proxy, 884s # const gchar *arg_greeting, 884s # GUnixFDList *fd_list, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean fdpassing_call_hello_fd_finish ( 884s # FDPassing *proxy, 884s # gchar **out_response, 884s # GUnixFDList **out_fd_list, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean fdpassing_call_hello_fd_sync ( 884s # FDPassing *proxy, 884s # const gchar *arg_greeting, 884s # GUnixFDList *fd_list, 884s # gchar **out_response, 884s # GUnixFDList **out_fd_list, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void fdpassing_call_no_annotation ( 884s # FDPassing *proxy, 884s # GVariant *arg_greeting, 884s # const gchar *arg_greeting_locale, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean fdpassing_call_no_annotation_finish ( 884s # FDPassing *proxy, 884s # GVariant **out_response, 884s # gchar **out_response_locale, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean fdpassing_call_no_annotation_sync ( 884s # FDPassing *proxy, 884s # GVariant *arg_greeting, 884s # const gchar *arg_greeting_locale, 884s # GVariant **out_response, 884s # gchar **out_response_locale, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void fdpassing_call_no_annotation_nested ( 884s # FDPassing *proxy, 884s # GVariant *arg_files, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean fdpassing_call_no_annotation_nested_finish ( 884s # FDPassing *proxy, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean fdpassing_call_no_annotation_nested_sync ( 884s # FDPassing *proxy, 884s # GVariant *arg_files, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 884s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 884s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 884s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 884s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 884s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 884s # 884s # typedef struct _FDPassingProxy FDPassingProxy; 884s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 884s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 884s # 884s # struct _FDPassingProxy 884s # { 884s # /*< private >*/ 884s # GDBusProxy parent_instance; 884s # FDPassingProxyPrivate *priv; 884s # }; 884s # 884s # struct _FDPassingProxyClass 884s # { 884s # GDBusProxyClass parent_class; 884s # }; 884s # 884s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 884s # #endif 884s # 884s # void fdpassing_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # FDPassing *fdpassing_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # FDPassing *fdpassing_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void fdpassing_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 884s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 884s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 884s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 884s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 884s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 884s # 884s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 884s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 884s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 884s # 884s # struct _FDPassingSkeleton 884s # { 884s # /*< private >*/ 884s # GDBusInterfaceSkeleton parent_instance; 884s # FDPassingSkeletonPrivate *priv; 884s # }; 884s # 884s # struct _FDPassingSkeletonClass 884s # { 884s # GDBusInterfaceSkeletonClass parent_class; 884s # }; 884s # 884s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 884s # #endif 884s # 884s # FDPassing *fdpassing_skeleton_new (void); 884s # 884s # 884s # G_END_DECLS 884s # 884s # #endif /* __STDOUT__ */ 884s # Error: 884s # 884s # /tmp/tmpns7e96w6/tmpswakze9j.xml: 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns7e96w6/tmpswakze9j.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 884s # Return code: 0 884s # Output: 884s # /* 884s # * This file is generated by gdbus-codegen, do not modify it. 884s # * 884s # * The license of this code is the same as for the D-Bus interface description 884s # * it was derived from. Note that it links to GLib, so must comply with the 884s # * LGPL linking clauses. 884s # */ 884s # 884s # #ifndef __STDOUT__ 884s # #define __STDOUT__ 884s # 884s # #include 884s # 884s # G_BEGIN_DECLS 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # /* Declarations for FDPassing */ 884s # 884s # #define TYPE_FDPASSING (fdpassing_get_type ()) 884s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 884s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 884s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 884s # 884s # struct _FDPassing; 884s # typedef struct _FDPassing FDPassing; 884s # typedef struct _FDPassingIface FDPassingIface; 884s # 884s # struct _FDPassingIface 884s # { 884s # GTypeInterface parent_iface; 884s # 884s # gboolean (*handle_hello_fd) ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GUnixFDList *fd_list, 884s # const gchar *arg_greeting); 884s # 884s # gboolean (*handle_no_annotation) ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GVariant *arg_greeting, 884s # const gchar *arg_greeting_locale); 884s # 884s # gboolean (*handle_no_annotation_nested) ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GVariant *arg_files); 884s # 884s # }; 884s # 884s # GType fdpassing_get_type (void) G_GNUC_CONST; 884s # 884s # GDBusInterfaceInfo *fdpassing_interface_info (void); 884s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 884s # 884s # 884s # /* D-Bus method call completion functions: */ 884s # void fdpassing_complete_hello_fd ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GUnixFDList *fd_list, 884s # const gchar *response); 884s # 884s # void fdpassing_complete_no_annotation ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GVariant *response, 884s # const gchar *response_locale); 884s # 884s # void fdpassing_complete_no_annotation_nested ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation); 884s # 884s # 884s # 884s # /* D-Bus method calls: */ 884s # void fdpassing_call_hello_fd ( 884s # FDPassing *proxy, 884s # const gchar *arg_greeting, 884s # GUnixFDList *fd_list, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean fdpassing_call_hello_fd_finish ( 884s # FDPassing *proxy, 884s # gchar **out_response, 884s # GUnixFDList **out_fd_list, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean fdpassing_call_hello_fd_sync ( 884s # FDPassing *proxy, 884s # const gchar *arg_greeting, 884s # GUnixFDList *fd_list, 884s # gchar **out_response, 884s # GUnixFDList **out_fd_list, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void fdpassing_call_no_annotation ( 884s # FDPassing *proxy, 884s # GVariant *arg_greeting, 884s # const gchar *arg_greeting_locale, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean fdpassing_call_no_annotation_finish ( 884s # FDPassing *proxy, 884s # GVariant **out_response, 884s # gchar **out_response_locale, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean fdpassing_call_no_annotation_sync ( 884s # FDPassing *proxy, 884s # GVariant *arg_greeting, 884s # const gchar *arg_greeting_locale, 884s # GVariant **out_response, 884s # gchar **out_response_locale, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void fdpassing_call_no_annotation_nested ( 884s # FDPassing *proxy, 884s # GVariant *arg_files, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean fdpassing_call_no_annotation_nested_finish ( 884s # FDPassing *proxy, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean fdpassing_call_no_annotation_nested_sync ( 884s # FDPassing *proxy, 884s # GVariant *arg_files, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 884s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 884s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 884s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 884s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 884s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 884s # 884s # typedef struct _FDPassingProxy FDPassingProxy; 884s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 884s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 884s # 884s # struct _FDPassingProxy 884s # { 884s # /*< private >*/ 884s # GDBusProxy parent_instance; 884s # FDPassingProxyPrivate *priv; 884s # }; 884s # 884s # struct _FDPassingProxyClass 884s # { 884s # GDBusProxyClass parent_class; 884s # }; 884s # 884s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 884s # #endif 884s # 884s # void fdpassing_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # FDPassing *fdpassing_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # FDPassing *fdpassing_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void fdpassing_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 884s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 884s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 884s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 884s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 884s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 884s # 884s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 884s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 884s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 884s # 884s # struct _FDPassingSkeleton 884s # { 884s # /*< private >*/ 884s # GDBusInterfaceSkeleton parent_instance; 884s # FDPassingSkeletonPrivate *priv; 884s # }; 884s # 884s # struct _FDPassingSkeletonClass 884s # { 884s # GDBusInterfaceSkeletonClass parent_class; 884s # }; 884s # 884s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 884s # #endif 884s # 884s # FDPassing *fdpassing_skeleton_new (void); 884s # 884s # 884s # G_END_DECLS 884s # 884s # #endif /* __STDOUT__ */ 884s # Error: 884s # 884s # /tmp/tmpns7e96w6/tmpvt6b_lh3.xml: 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # 884s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns7e96w6/tmpvt6b_lh3.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 884s # Return code: 0 884s # Output: 884s # /* 884s # * This file is generated by gdbus-codegen, do not modify it. 884s # * 884s # * The license of this code is the same as for the D-Bus interface description 884s # * it was derived from. Note that it links to GLib, so must comply with the 884s # * LGPL linking clauses. 884s # */ 884s # 884s # #ifndef __STDOUT__ 884s # #define __STDOUT__ 884s # 884s # #include 884s # 884s # G_BEGIN_DECLS 884s # 884s # 884s # /* ------------------------------------------------------------------------ */ 884s # /* Declarations for FDPassing */ 884s # 884s # #define TYPE_FDPASSING (fdpassing_get_type ()) 884s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 884s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 884s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 884s # 884s # struct _FDPassing; 884s # typedef struct _FDPassing FDPassing; 884s # typedef struct _FDPassingIface FDPassingIface; 884s # 884s # struct _FDPassingIface 884s # { 884s # GTypeInterface parent_iface; 884s # 884s # gboolean (*handle_hello_fd) ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GUnixFDList *fd_list, 884s # const gchar *arg_greeting); 884s # 884s # gboolean (*handle_no_annotation) ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GUnixFDList *fd_list, 884s # GVariant *arg_greeting, 884s # const gchar *arg_greeting_locale); 884s # 884s # gboolean (*handle_no_annotation_nested) ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GUnixFDList *fd_list, 884s # GVariant *arg_files); 884s # 884s # }; 884s # 884s # GType fdpassing_get_type (void) G_GNUC_CONST; 884s # 884s # GDBusInterfaceInfo *fdpassing_interface_info (void); 884s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 884s # 884s # 884s # /* D-Bus method call completion functions: */ 884s # void fdpassing_complete_hello_fd ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GUnixFDList *fd_list, 884s # const gchar *response); 884s # 884s # void fdpassing_complete_no_annotation ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GUnixFDList *fd_list, 884s # GVariant *response, 884s # const gchar *response_locale); 884s # 884s # void fdpassing_complete_no_annotation_nested ( 884s # FDPassing *object, 884s # GDBusMethodInvocation *invocation, 884s # GUnixFDList *fd_list); 884s # 884s # 884s # 884s # /* D-Bus method calls: */ 884s # void fdpassing_call_hello_fd ( 884s # FDPassing *proxy, 884s # const gchar *arg_greeting, 884s # GDBusCallFlags call_flags, 884s # gint timeout_msec, 884s # GUnixFDList *fd_list, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean fdpassing_call_hello_fd_finish ( 884s # FDPassing *proxy, 884s # gchar **out_response, 884s # GUnixFDList **out_fd_list, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean fdpassing_call_hello_fd_sync ( 884s # FDPassing *proxy, 884s # const gchar *arg_greeting, 884s # GDBusCallFlags call_flags, 884s # gint timeout_msec, 884s # GUnixFDList *fd_list, 884s # gchar **out_response, 884s # GUnixFDList **out_fd_list, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void fdpassing_call_no_annotation ( 884s # FDPassing *proxy, 884s # GVariant *arg_greeting, 884s # const gchar *arg_greeting_locale, 884s # GDBusCallFlags call_flags, 884s # gint timeout_msec, 884s # GUnixFDList *fd_list, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean fdpassing_call_no_annotation_finish ( 884s # FDPassing *proxy, 884s # GVariant **out_response, 884s # gchar **out_response_locale, 884s # GUnixFDList **out_fd_list, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean fdpassing_call_no_annotation_sync ( 884s # FDPassing *proxy, 884s # GVariant *arg_greeting, 884s # const gchar *arg_greeting_locale, 884s # GDBusCallFlags call_flags, 884s # gint timeout_msec, 884s # GUnixFDList *fd_list, 884s # GVariant **out_response, 884s # gchar **out_response_locale, 884s # GUnixFDList **out_fd_list, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void fdpassing_call_no_annotation_nested ( 884s # FDPassing *proxy, 884s # GVariant *arg_files, 884s # GDBusCallFlags call_flags, 884s # gint timeout_msec, 884s # GUnixFDList *fd_list, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # 884s # gboolean fdpassing_call_no_annotation_nested_finish ( 884s # FDPassing *proxy, 884s # GUnixFDList **out_fd_list, 884s # GAsyncResult *res, 884s # GError **error); 884s # 884s # gboolean fdpassing_call_no_annotation_nested_sync ( 884s # FDPassing *proxy, 884s # GVariant *arg_files, 884s # GDBusCallFlags call_flags, 884s # gint timeout_msec, 884s # GUnixFDList *fd_list, 884s # GUnixFDList **out_fd_list, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 884s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 884s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 884s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 884s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 884s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 884s # 884s # typedef struct _FDPassingProxy FDPassingProxy; 884s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 884s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 884s # 884s # struct _FDPassingProxy 884s # { 884s # /*< private >*/ 884s # GDBusProxy parent_instance; 884s # FDPassingProxyPrivate *priv; 884s # }; 884s # 884s # struct _FDPassingProxyClass 884s # { 884s # GDBusProxyClass parent_class; 884s # }; 884s # 884s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 884s # #endif 884s # 884s # void fdpassing_proxy_new ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # FDPassing *fdpassing_proxy_new_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # FDPassing *fdpassing_proxy_new_sync ( 884s # GDBusConnection *connection, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # void fdpassing_proxy_new_for_bus ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GAsyncReadyCallback callback, 884s # gpointer user_data); 884s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 884s # GAsyncResult *res, 884s # GError **error); 884s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 884s # GBusType bus_type, 884s # GDBusProxyFlags flags, 884s # const gchar *name, 884s # const gchar *object_path, 884s # GCancellable *cancellable, 884s # GError **error); 884s # 884s # 884s # /* ---- */ 884s # 884s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 884s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 884s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 884s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 884s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 884s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 884s # 884s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 884s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 884s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 884s # 884s # struct _FDPassingSkeleton 884s # { 884s # /*< private >*/ 884s # GDBusInterfaceSkeleton parent_instance; 884s # FDPassingSkeletonPrivate *priv; 884s # }; 884s # 884s # struct _FDPassingSkeletonClass 884s # { 884s # GDBusInterfaceSkeletonClass parent_class; 884s # }; 884s # 884s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 884s # 884s # #if GLIB_CHECK_VERSION(2, 44, 0) 884s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 884s # #endif 884s # 884s # FDPassing *fdpassing_skeleton_new (void); 884s # 884s # 884s # G_END_DECLS 884s # 884s # #endif /* __STDOUT__ */ 884s # Error: 884s 1..39 884s ok - glib/codegen.py.test 884s # Running test: glib/srvtarget.test 884s TAP version 14 884s # random seed: R02S97ca65549c1ed97eebaace385b499c68 884s 1..1 884s # Start of srvtarget tests 884s ok 1 /srvtarget/srv-target-ordering 884s # End of srvtarget tests 884s ok - glib/srvtarget.test 884s # Running test: glib/portal-support-none.test 884s ok - glib/portal-support-none.test 884s # Running test: glib/repository.test 884s TAP version 14 884s # random seed: R02Sb983d70ddcedd67e6ab9630d7faabe0f 884s 1..1 884s # Start of portal-support tests 884s ok 1 /portal-support/none 884s # End of portal-support tests 884s TAP version 14 884s # random seed: R02Sa83591ec125c764fe6f3d8c17990096d 884s 1..24 884s # Start of repository tests 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/basic/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/basic/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/basic/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/basic/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/basic/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/basic/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/basic/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/basic/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/basic/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/basic/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 884s ok 1 /repository/basic 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/info/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/info/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/info/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/info/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/info/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/info/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/info/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/info/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/info/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/info/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/info summary: Test retrieving some basic info blobs from a typelib 884s ok 2 /repository/info 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/dependencies/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/dependencies/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/dependencies/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/dependencies/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/dependencies/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/dependencies/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/dependencies/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/dependencies/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 884s ok 3 /repository/dependencies 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/arg-info/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/arg-info/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/arg-info/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/arg-info/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/arg-info/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/arg-info/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/arg-info/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/arg-info/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 884s ok 4 /repository/arg-info 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/callable-info/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/callable-info/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/callable-info/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/callable-info/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/callable-info/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/callable-info/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/callable-info/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/callable-info/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 884s ok 5 /repository/callable-info 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/callback-info/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/callback-info/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/callback-info/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/callback-info/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/callback-info/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/callback-info/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/callback-info/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/callback-info/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 884s ok 6 /repository/callback-info 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/char-types/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/char-types/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/char-types/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/char-types/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/char-types/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/char-types/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/char-types/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/char-types/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/char-types/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/char-types/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 884s ok 7 /repository/char-types 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/constructor-return-type/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/constructor-return-type/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/constructor-return-type/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/constructor-return-type/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/constructor-return-type/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/constructor-return-type/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/constructor-return-type/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/constructor-return-type/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 884s ok 8 /repository/constructor-return-type 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/enum-info-c-identifier/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/enum-info-c-identifier/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/enum-info-c-identifier/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/enum-info-c-identifier/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/enum-info-c-identifier/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/enum-info-c-identifier/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/enum-info-c-identifier/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/enum-info-c-identifier/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 884s ok 9 /repository/enum-info-c-identifier 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/enum-info-static-methods/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/enum-info-static-methods/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/enum-info-static-methods/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/enum-info-static-methods/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/enum-info-static-methods/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/enum-info-static-methods/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/enum-info-static-methods/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/enum-info-static-methods/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/enum-info-static-methods summary: Test an enum with methods 884s ok 10 /repository/enum-info-static-methods 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/error-quark/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/error-quark/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/error-quark/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/error-quark/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/error-quark/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/error-quark/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/error-quark/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/error-quark/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/error-quark summary: Test finding an error quark by error domain 884s ok 11 /repository/error-quark 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/flags-info-c-identifier/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/flags-info-c-identifier/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/flags-info-c-identifier/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/flags-info-c-identifier/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/flags-info-c-identifier/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/flags-info-c-identifier/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/flags-info-c-identifier/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/flags-info-c-identifier/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 884s ok 12 /repository/flags-info-c-identifier 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/fundamental-ref-func/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/fundamental-ref-func/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/fundamental-ref-func/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/fundamental-ref-func/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/fundamental-ref-func/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/fundamental-ref-func/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/fundamental-ref-func/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/fundamental-ref-func/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 884s ok 13 /repository/fundamental-ref-func 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/instance-method-ownership-transfer/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/instance-method-ownership-transfer/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/instance-method-ownership-transfer/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/instance-method-ownership-transfer/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/instance-method-ownership-transfer/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/instance-method-ownership-transfer/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/instance-method-ownership-transfer/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/instance-method-ownership-transfer/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 884s ok 14 /repository/instance-method-ownership-transfer 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/object-gtype-interfaces/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/object-gtype-interfaces/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/object-gtype-interfaces/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/object-gtype-interfaces/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/object-gtype-interfaces/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/object-gtype-interfaces/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/object-gtype-interfaces/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/object-gtype-interfaces/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 884s ok 15 /repository/object-gtype-interfaces 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/signal-info-with-array-length-arg/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/signal-info-with-array-length-arg/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/signal-info-with-array-length-arg/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/signal-info-with-array-length-arg/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/signal-info-with-array-length-arg/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/signal-info-with-array-length-arg/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/signal-info-with-array-length-arg/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/signal-info-with-array-length-arg/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 884s ok 16 /repository/signal-info-with-array-length-arg 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/type-info-name/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/type-info-name/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/type-info-name/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/type-info-name/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/type-info-name/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/type-info-name/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/type-info-name/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/type-info-name/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 884s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 884s ok 17 /repository/type-info-name 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-no-invoker/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-no-invoker/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-no-invoker/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-no-invoker/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-no-invoker/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-no-invoker/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 884s ok 18 /repository/vfunc-info-with-no-invoker 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 884s ok 19 /repository/vfunc-info-with-invoker-on-interface 884s ok - glib/repository.test 884s # Running test: glib/portal-support-snap.test 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-object/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-object/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-object/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-object/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 884s ok 20 /repository/vfunc-info-with-invoker-on-object 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/find-by-gtype/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/find-by-gtype/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/find-by-gtype/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/find-by-gtype/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/find-by-gtype/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/find-by-gtype/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/find-by-gtype/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/find-by-gtype/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/find-by-gtype summary: Test finding a GType 884s ok 21 /repository/find-by-gtype 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/loaded-namespaces/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/loaded-namespaces/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/loaded-namespaces/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/loaded-namespaces/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/loaded-namespaces/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/loaded-namespaces/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/loaded-namespaces/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/loaded-namespaces/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/loaded-namespaces summary: Test listing loaded namespaces 884s ok 22 /repository/loaded-namespaces 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/dup_default/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/dup_default/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/dup_default/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/dup_default/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/dup_default/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/dup_default/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/dup_default/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/dup_default/.dirs/runtime 884s ok 23 /repository/dup_default 884s # Start of base-info tests 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JUJCK3/repository/base-info/clear/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JUJCK3/repository/base-info/clear/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JUJCK3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_JUJCK3/repository/base-info/clear/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JUJCK3/repository/base-info/clear/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JUJCK3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_JUJCK3/repository/base-info/clear/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JUJCK3/repository/base-info/clear/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JUJCK3/repository/base-info/clear/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JUJCK3/repository/base-info/clear/.dirs/runtime 884s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 884s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 884s ok 24 /repository/base-info/clear 884s # End of base-info tests 884s # End of repository tests 884s TAP version 14 884s # random seed: R02S7496c6c1eb116f1ebf1bd7d7f6feffff 884s 1..7 884s # Start of portal-support tests 884s # Start of snap tests 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl/.dirs/runtime 884s # Created snap.yaml in /tmp/test_portal-support-snap_EG5BK3/meta/snap.yaml 884s Unable to clean up temporary directory /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/no-snapctl: No such file or directory 884s ok 1 /portal-support/snap/no-snapctl 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/runtime 884s # Created snap.yaml in /tmp/test_portal-support-snap_EG5BK3/meta/snap.yaml 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none/.dirs/runtime/snapctl 884s Unable to clean up temporary directory /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/none: No such file or directory 884s ok 2 /portal-support/snap/none 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/runtime 884s # Created snap.yaml in /tmp/test_portal-support-snap_EG5BK3/meta/snap.yaml 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all/.dirs/runtime/snapctl 884s Unable to clean up temporary directory /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/all: No such file or directory 884s ok 3 /portal-support/snap/all 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/runtime 884s # Created snap.yaml in /tmp/test_portal-support-snap_EG5BK3/meta/snap.yaml 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 884s Unable to clean up temporary directory /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/desktop-only: No such file or directory 884s ok 4 /portal-support/snap/desktop-only 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/runtime 884s # Created snap.yaml in /tmp/test_portal-support-snap_EG5BK3/meta/snap.yaml 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only/.dirs/runtime/snapctl 884s Unable to clean up temporary directory /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/network-only: No such file or directory 884s ok 5 /portal-support/snap/network-only 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/runtime 884s # Created snap.yaml in /tmp/test_portal-support-snap_EG5BK3/meta/snap.yaml 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 884s Unable to clean up temporary directory /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/gsettings-only: No such file or directory 884s ok 6 /portal-support/snap/gsettings-only 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/runtime 884s # Created snap.yaml in /tmp/test_portal-support-snap_EG5BK3/meta/snap.yaml 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 884s # Created snapctl in /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 884s Unable to clean up temporary directory /tmp/test_portal-support-snap_EG5BK3/portal-support/snap/updates-dynamically: No such file or directory 884s ok 7 /portal-support/snap/updates-dynamically 884s # End of snap tests 884s # End of portal-support tests 884s Unable to clean up temporary directory /tmp/test_portal-support-snap_EG5BK3: No such file or directory 884s ok - glib/portal-support-snap.test 884s # Running test: glib/memchunk.test 885s TAP version 14 885s # random seed: R02S7abf1f954603b24d5512836770053e42 885s 1..1 885s # Start of memchunk tests 885s ok 1 /memchunk/basic 885s # End of memchunk tests 885s ok - glib/memchunk.test 885s TAP version 14 885s # random seed: R02S5c823eacbad3d0aee86a786cb284ed43 885s 1..20 885s # Start of list tests 885s ok 1 /list/sort 885s ok 2 /list/sort-with-data 885s ok 3 /list/insert-before-link 885s ok 4 /list/insert-sorted 885s ok 5 /list/insert-sorted-with-data 885s ok 6 /list/reverse 885s ok 7 /list/nth 885s ok 8 /list/concat 885s ok 9 /list/remove 885s ok 10 /list/remove-all 885s ok 11 /list/first-last 885s ok 12 /list/insert 885s ok 13 /list/free-full 885s ok 14 /list/copy 885s ok 15 /list/copy-deep 885s ok 16 /list/delete-link 885s ok 17 /list/prepend 885s ok 18 /list/position 885s ok 19 /list/double-free 885s # Start of sort tests 885s ok 20 /list/sort/stable 885s # End of sort tests 885s # End of list tests 885s # Running test: glib/list.test 885s ok - glib/list.test 885s # Running test: glib/node.test 885s TAP version 14 885s # random seed: R02Sda7128cfbcb9be27e36efac8f49a59b2 885s 1..6 885s # Start of node tests 885s ok 1 /node/allocation 885s ok 2 /node/construction 885s ok 3 /node/traversal 885s ok 4 /node/misc 885s ok 5 /node/unlink 885s ok 6 /node/copy 885s # End of node tests 885s ok - glib/node.test 885s # Running test: glib/utils-c-17.test 885s TAP version 14 885s # random seed: R02S71eced137f866dd955434898b00043cd 885s 1..41 885s # Start of utils tests 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/language-names/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/language-names/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/language-names/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/language-names/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/language-names/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/language-names/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/language-names/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/language-names/.dirs/runtime 885s ok 1 /utils/language-names 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/locale-variants/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/locale-variants/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/locale-variants/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/locale-variants/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/locale-variants/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/locale-variants/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/locale-variants/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/locale-variants/.dirs/runtime 885s # Testing locale ‘en’ 885s # Testing locale ‘sr@latin’ 885s # Testing locale ‘fr_BE’ 885s # Testing locale ‘sr_SR@latin’ 885s # Testing locale ‘sr_SR@latin.UTF-8’ 885s # Testing locale ‘sr@latin_invalid’ 885s # Testing locale ‘sr.UTF-8@latin’ 885s # Testing locale ‘sr.UTF-8_latin’ 885s # Testing locale ‘sr.UTF-8@latin_invalid’ 885s ok 2 /utils/locale-variants 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/version/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/version/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/version/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/version/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/version/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/version/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/version/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/version/.dirs/runtime 885s ok 3 /utils/version 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/appname/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/appname/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/appname/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/appname/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/appname/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/appname/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/appname/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/appname/.dirs/runtime 885s ok 4 /utils/appname 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/prgname-thread-safety/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/prgname-thread-safety/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/prgname-thread-safety/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/prgname-thread-safety/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/prgname-thread-safety/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/prgname-thread-safety/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/prgname-thread-safety/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/prgname-thread-safety/.dirs/runtime 885s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 885s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 885s ok 5 /utils/prgname-thread-safety 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/tmpdir/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/tmpdir/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/tmpdir/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/tmpdir/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/tmpdir/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/tmpdir/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/tmpdir/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/tmpdir/.dirs/runtime 885s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 885s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 885s Unable to clean up temporary directory /tmp/test_utils-c-17_S958J3/utils/tmpdir: No such file or directory 885s ok 6 /utils/tmpdir 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/basic_bits/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/basic_bits/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/basic_bits/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/basic_bits/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/basic_bits/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/basic_bits/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/basic_bits/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/basic_bits/.dirs/runtime 885s ok 7 /utils/basic_bits 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/bits/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/bits/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/bits/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/bits/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/bits/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/bits/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/bits/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/bits/.dirs/runtime 885s ok 8 /utils/bits 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/swap/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/swap/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/swap/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/swap/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/swap/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/swap/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/swap/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/swap/.dirs/runtime 885s ok 9 /utils/swap 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/find-program/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/find-program/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/find-program/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/find-program/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/find-program/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/find-program/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/find-program/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/find-program/.dirs/runtime 885s ok 10 /utils/find-program 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/find-program-for-path/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/find-program-for-path/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/find-program-for-path/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/find-program-for-path/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/find-program-for-path/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/find-program-for-path/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/find-program-for-path/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/find-program-for-path/.dirs/runtime 885s ok 11 /utils/find-program-for-path 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/debug/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/debug/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/debug/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/debug/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/debug/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/debug/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/debug/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/debug/.dirs/runtime 885s Unable to clean up temporary directory /tmp/test_utils-c-17_S958J3/utils/debug: No such file or directory 885s ok 12 /utils/debug 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/codeset/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/codeset/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/codeset/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/codeset/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/codeset/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/codeset/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/codeset/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/codeset/.dirs/runtime 885s ok 13 /utils/codeset 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/codeset2/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/codeset2/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/codeset2/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/codeset2/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/codeset2/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/codeset2/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/codeset2/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/codeset2/.dirs/runtime 885s Unable to clean up temporary directory /tmp/test_utils-c-17_S958J3/utils/codeset2: No such file or directory 885s ok 14 /utils/codeset2 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/console-charset/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/console-charset/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/console-charset/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/console-charset/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/console-charset/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/console-charset/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/console-charset/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/console-charset/.dirs/runtime 885s ok 15 /utils/console-charset 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/gettext/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/gettext/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/gettext/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/gettext/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/gettext/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/gettext/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/gettext/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/gettext/.dirs/runtime 885s ok 16 /utils/gettext 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/username/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/username/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/username/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/username/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/username/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/username/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/username/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/username/.dirs/runtime 885s ok 17 /utils/username 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/realname/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/realname/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/realname/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/realname/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/realname/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/realname/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/realname/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/realname/.dirs/runtime 885s ok 18 /utils/realname 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/hostname/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/hostname/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/hostname/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/hostname/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/hostname/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/hostname/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/hostname/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/hostname/.dirs/runtime 885s ok 19 /utils/hostname 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/os-info/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/os-info/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/os-info/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/os-info/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/os-info/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/os-info/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/os-info/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/os-info/.dirs/runtime 885s # NAME: Ubuntu 885s ok 20 /utils/os-info 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/clear-pointer/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/clear-pointer/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/.dirs/runtime 885s ok 21 /utils/clear-pointer 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer-cast/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer-cast/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/clear-pointer-cast/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer-cast/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/clear-pointer-cast/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer-cast/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer-cast/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/clear-pointer-cast/.dirs/runtime 885s ok 22 /utils/clear-pointer-cast 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/take-pointer/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/take-pointer/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/take-pointer/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/take-pointer/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/take-pointer/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/take-pointer/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/take-pointer/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/take-pointer/.dirs/runtime 885s ok 23 /utils/take-pointer 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/clear-source/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-source/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/clear-source/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-source/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/clear-source/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-source/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-source/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/clear-source/.dirs/runtime 885s ok 24 /utils/clear-source 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/misc-mem/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/misc-mem/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/misc-mem/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/misc-mem/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/misc-mem/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/misc-mem/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/misc-mem/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/misc-mem/.dirs/runtime 885s ok 25 /utils/misc-mem 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/aligned-mem/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/aligned-mem/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/.dirs/runtime 885s # /utils/aligned-mem summary: Aligned memory allocator 885s # Alignment must not be zero 885s # Alignment must be a power of two 885s # Alignment must be a multiple of sizeof(void*) 885s ok 26 /utils/aligned-mem 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/free-sized/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/free-sized/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/free-sized/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/free-sized/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/free-sized/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/free-sized/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/free-sized/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/free-sized/.dirs/runtime 885s # /utils/free-sized summary: Check that g_free_sized() works 885s ok 27 /utils/free-sized 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/nullify/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/nullify/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/nullify/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/nullify/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/nullify/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/nullify/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/nullify/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/nullify/.dirs/runtime 885s ok 28 /utils/nullify 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/atexit/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/atexit/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/atexit/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/atexit/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/atexit/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/atexit/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/atexit/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/atexit/.dirs/runtime 885s Unable to clean up temporary directory /tmp/test_utils-c-17_S958J3/utils/atexit: No such file or directory 885s ok 29 /utils/atexit 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/check-setuid/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/check-setuid/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/check-setuid/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/check-setuid/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/check-setuid/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/check-setuid/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/check-setuid/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/check-setuid/.dirs/runtime 885s ok 30 /utils/check-setuid 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/int-limits/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/int-limits/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/int-limits/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/int-limits/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/int-limits/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/int-limits/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/int-limits/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/int-limits/.dirs/runtime 885s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 885s ok 31 /utils/int-limits 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/clear-list/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-list/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/clear-list/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-list/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/clear-list/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-list/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-list/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/clear-list/.dirs/runtime 885s ok 32 /utils/clear-list 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/clear-slist/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-slist/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/clear-slist/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-slist/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/clear-slist/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-slist/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-slist/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/clear-slist/.dirs/runtime 885s ok 33 /utils/clear-slist 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/steal-handle-id/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/steal-handle-id/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/steal-handle-id/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/steal-handle-id/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/steal-handle-id/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/steal-handle-id/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/steal-handle-id/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/steal-handle-id/.dirs/runtime 885s ok 34 /utils/steal-handle-id 885s # Start of user-special-dirs tests 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/desktop/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/desktop/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/user-special-dirs/desktop/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/desktop/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/user-special-dirs/desktop/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/desktop/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/desktop/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/desktop/.dirs/runtime 885s ok 35 /utils/user-special-dirs/desktop 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 885s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 885s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 885s Unable to clean up temporary directory /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/load-unlocked: No such file or directory 885s ok 36 /utils/user-special-dirs/load-unlocked 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 885s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 885s Unable to clean up temporary directory /tmp/test_utils-c-17_S958J3/utils/user-special-dirs/reload-leaks: No such file or directory 885s ok 37 /utils/user-special-dirs/reload-leaks 885s # End of user-special-dirs tests 885s # Start of clear-pointer tests 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/side-effects/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/side-effects/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/clear-pointer/side-effects/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/side-effects/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/clear-pointer/side-effects/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/side-effects/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/side-effects/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/clear-pointer/side-effects/.dirs/runtime 885s ok 38 /utils/clear-pointer/side-effects 885s # End of clear-pointer tests 885s # Start of aligned-mem tests 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/alignment/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/alignment/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/aligned-mem/alignment/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/alignment/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/aligned-mem/alignment/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/alignment/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/alignment/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/alignment/.dirs/runtime 885s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 885s ok 39 /utils/aligned-mem/alignment 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/zeroed/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/zeroed/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/aligned-mem/zeroed/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/zeroed/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/aligned-mem/zeroed/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/zeroed/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/zeroed/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/zeroed/.dirs/runtime 885s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 885s ok 40 /utils/aligned-mem/zeroed 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/free-sized/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/free-sized/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_S958J3/utils/aligned-mem/free-sized/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/free-sized/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_S958J3/utils/aligned-mem/free-sized/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/free-sized/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/free-sized/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_S958J3/utils/aligned-mem/free-sized/.dirs/runtime 885s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 885s ok 41 /utils/aligned-mem/free-sized 885s # Start of subprocess tests 885s # End of subprocess tests 885s # End of aligned-mem tests 885s # End of utils tests 885s ok - glib/utils-c-17.test 885s # Running test: glib/logging.test 885s TAP version 14 885s # random seed: R02S580049b650e211b88efe7140862f014b 885s 1..20 885s # Start of logging tests 885s ok 1 /logging/default-handler 885s ok 2 /logging/journald-handler 885s ok 3 /logging/warnings 885s ok 4 /logging/fatal-log-mask 885s ok 5 /logging/always-fatal 885s # bu-DEBUG: message 885s # ba-DEBUG: message 885s # ba-INFO: message 885s ok 6 /logging/set-handler 885s ok 7 /logging/print-handler 885s ok 8 /logging/printerr-handler 885s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 885s # The Log Message Handler 885s # 885s # The Good Fail Message Handler 885s # 885s ok 9 /logging/653052 885s ok 10 /logging/gibberish 885s # Start of default-handler tests 885s # Start of subprocess tests 885s # End of subprocess tests 885s # End of default-handler tests 885s # End of logging tests 885s # Start of structured-logging tests 885s ok 11 /structured-logging/no-state 885s ok 12 /structured-logging/some-state 885s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 885s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 885s ok 13 /structured-logging/recursion-overflow 885s ok 14 /structured-logging/robustness 885s ok 15 /structured-logging/roundtrip1 885s ok 16 /structured-logging/roundtrip2 885s ok 17 /structured-logging/roundtrip3 885s ok 18 /structured-logging/variant1 885s ok 19 /structured-logging/variant2 885s ok 20 /structured-logging/set-writer-func-twice 885s # End of structured-logging tests 885s ok - glib/logging.test 885s # Running test: glib/signals-refcount4.test 885s TAP version 14 885s # random seed: R02S73d1b667b6a29eaaaa38aa8d563828c7 885s 1..1 885s # Start of gobject tests 885s # Start of refcount tests 885s # init 0xb45e55a1f4b0 885s # 885s # init 0xb45e55a17580 885s # 887s # Executing: glib/signals-refcount4.test 890s ok - glib/signals-refcount4.test 890s # dispose 0xb45e55a1f4b0! 890s # 890s # dispose 0xb45e55a17580! 890s # 890s ok 1 /gobject/refcount/signals 890s # slow test /gobject/refcount/signals executed in 5.00 secs 890s # End of refcount tests 890s # End of gobject tests 890s TAP version 14 890s # random seed: R02Sc653f0818642294f802d611760d1593e 890s 1..3 890s # Start of gvfs tests 890s ok 1 /gvfs/local 890s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 890s ok 2 /gvfs/register-scheme 890s # Start of resource tests 890s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 890s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 890s ok 3 /gvfs/resource/malformed-escaping 890s # End of resource tests 890s # End of gvfs tests 890s # Running test: glib/vfs.test 890s ok - glib/vfs.test 890s # Running test: glib/appmonitor.test 890s TAP version 14 890s # random seed: R02Sc9622b6c00b59ab1b9c1fde3c2164037 890s 1..1 890s # Start of monitor tests 890s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/home 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/cache 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/system-config2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/config 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/system-data2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/data 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/state 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/runtime 890s # Using data directory: /tmp/test_appmonitor_U7CNK3/monitor/app/.dirs/data 890s ok - glib/appmonitor.test 890s # Running test: glib/properties.test 890s ok - glib/properties.test 890s # Running test: glib/markup.test 890s ok - glib/markup.test 890s # Running test: glib/gsubprocess.test 890s ok 1 /monitor/app 890s # End of monitor tests 890s TAP version 14 890s # random seed: R02S6e85a7f5a5fc599d4813f2b247b44b36 890s 1..14 890s # Start of properties tests 890s ok 1 /properties/install 890s ok 2 /properties/install-many 890s ok 3 /properties/notify 890s ok 4 /properties/notify-queue 890s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 890s ok 5 /properties/construct 890s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 890s # Test g_object_get_property with an initialized value 890s # Test g_object_get_property with an uninitialized value 890s # Test g_object_get_property with a transformable value 890s ok 6 /properties/get-property 890s ok 7 /properties/testv_with_no_properties 890s ok 8 /properties/testv_with_valid_properties 890s ok 9 /properties/testv_with_invalid_property_type 890s ok 10 /properties/testv_with_invalid_property_names 890s ok 11 /properties/testv_getv 890s ok 12 /properties/testv_notify_queue 890s # Start of notify tests 890s ok 13 /properties/notify/too-many-freezes 890s # End of notify tests 890s # Start of set-property tests 890s # Start of variant tests 890s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 890s ok 14 /properties/set-property/variant/floating 890s # End of variant tests 890s # End of set-property tests 890s # End of properties tests 890s TAP version 14 890s # random seed: R02S2ae6dc4a02aa4b011a48db0e54577a2e 890s 1..1 890s # Start of markup tests 890s ok 1 /markup/stack 890s # End of markup tests 890s TAP version 14 890s # random seed: R02S9938ba429a8dab67a0c9622b9367433e 890s 1..84 890s # Start of gsubprocess tests 890s ok 1 /gsubprocess/noop 890s ok 2 /gsubprocess/noop-all-to-null 890s ok 3 /gsubprocess/noop-no-wait 890s ok 4 /gsubprocess/noop-stdin-inherit 890s ok 5 /gsubprocess/search-path 890s ok 6 /gsubprocess/search-path-from-envp 891s # Executing: glib/gsubprocess.test 894s ok 7 /gsubprocess/signal 894s # slow test /gsubprocess/signal executed in 3.58 secs 894s ok 8 /gsubprocess/exit1 894s ok 9 /gsubprocess/echo1 894s ok 10 /gsubprocess/echo-merged 894s ok 11 /gsubprocess/cat-utf8 895s ok 12 /gsubprocess/cat-eof 895s # slow test /gsubprocess/cat-eof executed in 1.00 secs 896s # Executing: glib/gsubprocess.test 898s ok 13 /gsubprocess/multi1 898s # slow test /gsubprocess/multi1 executed in 3.01 secs 898s ok 14 /gsubprocess/communicate 901s ok 15 /gsubprocess/terminate 901s # slow test /gsubprocess/terminate executed in 2.97 secs 901s # Executing: glib/gsubprocess.test 901s ok 16 /gsubprocess/fail-initialization 901s ok 17 /gsubprocess/env 901s ok 18 /gsubprocess/cwd 901s ok 19 /gsubprocess/launcher-close 901s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 901s ok 20 /gsubprocess/stdout-file 901s ok 21 /gsubprocess/stdout-fd 901s ok 22 /gsubprocess/child-setup 901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 901s ok 23 /gsubprocess/launcher-environment 901s # Start of exit1 tests 901s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 901s ok 24 /gsubprocess/exit1/cancel 901s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 901s ok 25 /gsubprocess/exit1/cancel_in_cb 901s # End of exit1 tests 901s # Start of communicate tests 901s ok 26 /gsubprocess/communicate/cancelled 901s ok 27 /gsubprocess/communicate/async 901s ok 28 /gsubprocess/communicate/utf8 901s # hello world 901s ok 29 /gsubprocess/communicate/no-pipes 901s ok 30 /gsubprocess/communicate/separate-stderr 901s ok 31 /gsubprocess/communicate/stdout-only 901s # hello world 901s ok 32 /gsubprocess/communicate/stderr-only 901s ok 33 /gsubprocess/communicate/stdout-silence 901s ok 34 /gsubprocess/communicate/nothing 901s # Start of async tests 901s ok 35 /gsubprocess/communicate/async/cancelled 901s # hello world 901s ok 36 /gsubprocess/communicate/async/no-pipes 901s ok 37 /gsubprocess/communicate/async/separate-stderr 901s ok 38 /gsubprocess/communicate/async/stdout-only 901s # hello world 901s ok 39 /gsubprocess/communicate/async/stderr-only 901s ok 40 /gsubprocess/communicate/async/stdout-silence 901s # Start of cancelled tests 901s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 901s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 901s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 901s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 901s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 901s # End of cancelled tests 901s # End of async tests 901s # Start of utf8 tests 901s ok 46 /gsubprocess/communicate/utf8/cancelled 901s ok 47 /gsubprocess/communicate/utf8/async 901s # hello world 901s ok 48 /gsubprocess/communicate/utf8/no-pipes 901s ok 49 /gsubprocess/communicate/utf8/separate-stderr 901s ok 50 /gsubprocess/communicate/utf8/stdout-only 901s # hello world 901s ok 51 /gsubprocess/communicate/utf8/stderr-only 901s ok 52 /gsubprocess/communicate/utf8/stdout-silence 901s ok 53 /gsubprocess/communicate/utf8/invalid 901s # Start of async tests 901s ok 54 /gsubprocess/communicate/utf8/async/cancelled 901s # hello world 901s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 901s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 901s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 901s # hello world 901s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 901s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 901s ok 60 /gsubprocess/communicate/utf8/async/invalid 901s # Start of cancelled tests 901s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 901s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 901s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 901s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 901s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 901s # End of cancelled tests 901s # End of async tests 901s # Start of cancelled tests 901s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 901s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 901s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 901s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 901s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 901s # End of cancelled tests 901s # End of utf8 tests 901s # Start of cancelled tests 901s ok 71 /gsubprocess/communicate/cancelled/no-pipes 901s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 901s ok 73 /gsubprocess/communicate/cancelled/stdout-only 901s ok 74 /gsubprocess/communicate/cancelled/stderr-only 901s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 901s # End of cancelled tests 901s # End of communicate tests 901s # Start of env tests 901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 901s ok 76 /gsubprocess/env/inherit 901s # End of env tests 901s # Start of pass-fd tests 901s ok 77 /gsubprocess/pass-fd/basic 901s ok 78 /gsubprocess/pass-fd/empty-child-setup 901s ok 79 /gsubprocess/pass-fd/inherit-fds 901s # End of pass-fd tests 901s # Start of fd-conflation tests 901s ok 80 /gsubprocess/fd-conflation/basic 901s ok 81 /gsubprocess/fd-conflation/empty-child-setup 901s ok 82 /gsubprocess/fd-conflation/inherit-fds 901s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 901s # End of fd-conflation tests 901s # Start of exit-status tests 901s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 901s ok 84 /gsubprocess/exit-status/trapped 901s # End of exit-status tests 901s # End of gsubprocess tests 901s ok - glib/gsubprocess.test 901s # Running test: glib/genmarshal.py.test 901s TAP version 13 901s ok 1 __main__.TestGenmarshal.test_empty_list 901s # glib-genmarshal: /usr/bin/glib-genmarshal 901s # tmpdir: /tmp/tmpw1b9pp7h 901s # /tmp/tmpw1b9pp7h/tmpr4ilt3vo.list: 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpw1b9pp7h/tmpr4ilt3vo.list', '--header', '--quiet'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # 901s # #include 901s # 901s # G_BEGIN_DECLS 901s # 901s # 901s # G_END_DECLS 901s # 901s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 901s # Error: 901s # 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpw1b9pp7h/tmpr4ilt3vo.list', '--body', '--quiet'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #include 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # Error: 901s ok 2 __main__.TestGenmarshal.test_help 901s # glib-genmarshal: /usr/bin/glib-genmarshal 901s # tmpdir: /tmp/tmpl_it12q7 901s # Running: ['/usr/bin/glib-genmarshal', '--help'] 901s # Return code: 0 901s # Output: 901s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 901s # [--internal] [--valist-marshallers] [-v] 901s # [--g-fatal-warnings] [--include-header [HEADER]] 901s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 901s # [--prototypes] [--header] [--body] [--stdinc | 901s # --nostdinc] [--quiet | --verbose] 901s # [FILE ...] 901s # 901s # Generate signal marshallers for GObject 901s # 901s # positional arguments: 901s # FILE Files with lists of marshallers to generate, or "-" 901s # for standard input 901s # 901s # options: 901s # -h, --help show this help message and exit 901s # --prefix STRING Specify marshaller prefix 901s # --output FILE Write output into the specified file 901s # --skip-source Skip source location comments 901s # --internal Mark generated functions as internal 901s # --valist-marshallers Generate va_list marshallers 901s # -v, --version Print version information, and exit 901s # --g-fatal-warnings Make warnings fatal 901s # --include-header [HEADER] 901s # Include the specified header in the body 901s # --pragma-once Use "pragma once" as the inclusion guard 901s # -D CPP_DEFINES Pre-processor define 901s # -U CPP_UNDEFINES Pre-processor undefine 901s # --prototypes Generate the marshallers prototype in the C code 901s # --header Generate C headers 901s # --body Generate C code 901s # --stdinc Include standard marshallers 901s # --nostdinc Use standard marshallers 901s # --quiet Only print warnings and errors 901s # --verbose Be verbose, and include debugging information 901s # Error: 901s ok 3 __main__.TestGenmarshal.test_no_args 901s # glib-genmarshal: /usr/bin/glib-genmarshal 901s # tmpdir: /tmp/tmpelya0wm_ 901s # Running: ['/usr/bin/glib-genmarshal'] 901s # Return code: 0 901s # Output: 901s # 901s # Error: 901s ok 4 __main__.TestGenmarshal.test_void_boolean 901s # glib-genmarshal: /usr/bin/glib-genmarshal 901s # tmpdir: /tmp/tmpisl1009h 901s # /tmp/tmpisl1009h/tmpgrj1kjqq.list: VOID:BOOLEAN 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpisl1009h/tmpgrj1kjqq.list', '--header', '--quiet'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # 901s # #include 901s # 901s # G_BEGIN_DECLS 901s # 901s # /* VOID:BOOLEAN (/tmp/tmpisl1009h/tmpgrj1kjqq.list:1) */ 901s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 901s # 901s # 901s # G_END_DECLS 901s # 901s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 901s # Error: 901s # 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpisl1009h/tmpgrj1kjqq.list', '--body', '--quiet'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #include 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # Error: 901s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 901s # glib-genmarshal: /usr/bin/glib-genmarshal 901s # tmpdir: /tmp/tmpa56olm1e 901s # /tmp/tmpa56olm1e/tmpmys5997w.list: VOID:BOOLEAN,INT64 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpa56olm1e/tmpmys5997w.list', '--header', '--quiet'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # 901s # #include 901s # 901s # G_BEGIN_DECLS 901s # 901s # /* VOID:BOOLEAN,INT64 (/tmp/tmpa56olm1e/tmpmys5997w.list:1) */ 901s # extern 901s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 901s # GValue *return_value, 901s # guint n_param_values, 901s # const GValue *param_values, 901s # gpointer invocation_hint, 901s # gpointer marshal_data); 901s # 901s # 901s # G_END_DECLS 901s # 901s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 901s # Error: 901s # 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpa56olm1e/tmpmys5997w.list', '--body', '--quiet'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #include 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # /* VOID:BOOLEAN,INT64 (/tmp/tmpa56olm1e/tmpmys5997w.list:1) */ 901s # void 901s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 901s # GValue *return_value G_GNUC_UNUSED, 901s # guint n_param_values, 901s # const GValue *param_values, 901s # gpointer invocation_hint G_GNUC_UNUSED, 901s # gpointer marshal_data) 901s # { 901s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 901s # gboolean arg1, 901s # gint64 arg2, 901s # gpointer data2); 901s # GCClosure *cc = (GCClosure *) closure; 901s # gpointer data1, data2; 901s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 901s # 901s # g_return_if_fail (n_param_values == 3); 901s # 901s # if (G_CCLOSURE_SWAP_DATA (closure)) 901s # { 901s # data1 = closure->data; 901s # data2 = g_value_peek_pointer (param_values + 0); 901s # } 901s # else 901s # { 901s # data1 = g_value_peek_pointer (param_values + 0); 901s # data2 = closure->data; 901s # } 901s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 901s # 901s # callback (data1, 901s # g_marshal_value_peek_boolean (param_values + 1), 901s # g_marshal_value_peek_int64 (param_values + 2), 901s # data2); 901s # } 901s # Error: 901s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 901s # glib-genmarshal: /usr/bin/glib-genmarshal 901s # tmpdir: /tmp/tmpdlz9afzl 901s # /tmp/tmpdlz9afzl/tmpzi5fmr10.list: VOID:PARAM 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdlz9afzl/tmpzi5fmr10.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # 901s # G_BEGIN_DECLS 901s # 901s # /* VOID:PARAM (/tmp/tmpdlz9afzl/tmpzi5fmr10.list:1) */ 901s # extern 901s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 901s # GValue *return_value, 901s # guint n_param_values, 901s # const GValue *param_values, 901s # gpointer invocation_hint, 901s # gpointer marshal_data); 901s # extern 901s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 901s # GValue *return_value, 901s # gpointer instance, 901s # va_list args, 901s # gpointer marshal_data, 901s # int n_params, 901s # GType *param_types); 901s # 901s # 901s # G_END_DECLS 901s # 901s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 901s # Error: 901s # 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdlz9afzl/tmpzi5fmr10.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # /* VOID:PARAM (/tmp/tmpdlz9afzl/tmpzi5fmr10.list:1) */ 901s # void 901s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 901s # GValue *return_value G_GNUC_UNUSED, 901s # guint n_param_values, 901s # const GValue *param_values, 901s # gpointer invocation_hint G_GNUC_UNUSED, 901s # gpointer marshal_data) 901s # { 901s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 901s # gpointer arg1, 901s # gpointer data2); 901s # GCClosure *cc = (GCClosure *) closure; 901s # gpointer data1, data2; 901s # GMarshalFunc_VOID__PARAM callback; 901s # 901s # g_return_if_fail (n_param_values == 2); 901s # 901s # if (G_CCLOSURE_SWAP_DATA (closure)) 901s # { 901s # data1 = closure->data; 901s # data2 = g_value_peek_pointer (param_values + 0); 901s # } 901s # else 901s # { 901s # data1 = g_value_peek_pointer (param_values + 0); 901s # data2 = closure->data; 901s # } 901s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 901s # 901s # callback (data1, 901s # g_marshal_value_peek_param (param_values + 1), 901s # data2); 901s # } 901s # 901s # void 901s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 901s # GValue *return_value G_GNUC_UNUSED, 901s # gpointer instance, 901s # va_list args, 901s # gpointer marshal_data, 901s # int n_params, 901s # GType *param_types) 901s # { 901s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 901s # gpointer arg1, 901s # gpointer data2); 901s # GCClosure *cc = (GCClosure *) closure; 901s # gpointer data1, data2; 901s # GMarshalFunc_VOID__PARAM callback; 901s # gpointer arg0; 901s # va_list args_copy; 901s # 901s # va_copy (args_copy, args); 901s # arg0 = (gpointer) va_arg (args_copy, gpointer); 901s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 901s # arg0 = g_param_spec_ref (arg0); 901s # va_end (args_copy); 901s # 901s # 901s # if (G_CCLOSURE_SWAP_DATA (closure)) 901s # { 901s # data1 = closure->data; 901s # data2 = instance; 901s # } 901s # else 901s # { 901s # data1 = instance; 901s # data2 = closure->data; 901s # } 901s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 901s # 901s # callback (data1, 901s # arg0, 901s # data2); 901s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 901s # g_param_spec_unref (arg0); 901s # } 901s # Error: 901s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 901s # glib-genmarshal: /usr/bin/glib-genmarshal 901s # tmpdir: /tmp/tmpuxo_v4zq 901s # /tmp/tmpuxo_v4zq/tmpulhyzoon.list: VOID:STRING 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpuxo_v4zq/tmpulhyzoon.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # 901s # G_BEGIN_DECLS 901s # 901s # /* VOID:STRING (/tmp/tmpuxo_v4zq/tmpulhyzoon.list:1) */ 901s # extern 901s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 901s # GValue *return_value, 901s # guint n_param_values, 901s # const GValue *param_values, 901s # gpointer invocation_hint, 901s # gpointer marshal_data); 901s # extern 901s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 901s # GValue *return_value, 901s # gpointer instance, 901s # va_list args, 901s # gpointer marshal_data, 901s # int n_params, 901s # GType *param_types); 901s # 901s # 901s # G_END_DECLS 901s # 901s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 901s # Error: 901s # 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpuxo_v4zq/tmpulhyzoon.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # /* VOID:STRING (/tmp/tmpuxo_v4zq/tmpulhyzoon.list:1) */ 901s # void 901s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 901s # GValue *return_value G_GNUC_UNUSED, 901s # guint n_param_values, 901s # const GValue *param_values, 901s # gpointer invocation_hint G_GNUC_UNUSED, 901s # gpointer marshal_data) 901s # { 901s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 901s # gpointer arg1, 901s # gpointer data2); 901s # GCClosure *cc = (GCClosure *) closure; 901s # gpointer data1, data2; 901s # GMarshalFunc_VOID__STRING callback; 901s # 901s # g_return_if_fail (n_param_values == 2); 901s # 901s # if (G_CCLOSURE_SWAP_DATA (closure)) 901s # { 901s # data1 = closure->data; 901s # data2 = g_value_peek_pointer (param_values + 0); 901s # } 901s # else 901s # { 901s # data1 = g_value_peek_pointer (param_values + 0); 901s # data2 = closure->data; 901s # } 901s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 901s # 901s # callback (data1, 901s # g_marshal_value_peek_string (param_values + 1), 901s # data2); 901s # } 901s # 901s # void 901s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 901s # GValue *return_value G_GNUC_UNUSED, 901s # gpointer instance, 901s # va_list args, 901s # gpointer marshal_data, 901s # int n_params, 901s # GType *param_types) 901s # { 901s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 901s # gpointer arg1, 901s # gpointer data2); 901s # GCClosure *cc = (GCClosure *) closure; 901s # gpointer data1, data2; 901s # GMarshalFunc_VOID__STRING callback; 901s # gpointer arg0; 901s # va_list args_copy; 901s # 901s # va_copy (args_copy, args); 901s # arg0 = (gpointer) va_arg (args_copy, gpointer); 901s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 901s # arg0 = g_strdup (arg0); 901s # va_end (args_copy); 901s # 901s # 901s # if (G_CCLOSURE_SWAP_DATA (closure)) 901s # { 901s # data1 = closure->data; 901s # data2 = instance; 901s # } 901s # else 901s # { 901s # data1 = instance; 901s # data2 = closure->data; 901s # } 901s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 901s # 901s # callback (data1, 901s # arg0, 901s # data2); 901s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 901s # g_free (arg0); 901s # } 901s # Error: 901s ok - glib/genmarshal.py.test 901s # Running test: glib/array-test.test 901s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 901s # glib-genmarshal: /usr/bin/glib-genmarshal 901s # tmpdir: /tmp/tmp_wpx7zpq 901s # /tmp/tmp_wpx7zpq/tmpx2sgilwf.list: VOID:VARIANT 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_wpx7zpq/tmpx2sgilwf.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 901s # 901s # G_BEGIN_DECLS 901s # 901s # /* VOID:VARIANT (/tmp/tmp_wpx7zpq/tmpx2sgilwf.list:1) */ 901s # extern 901s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 901s # GValue *return_value, 901s # guint n_param_values, 901s # const GValue *param_values, 901s # gpointer invocation_hint, 901s # gpointer marshal_data); 901s # extern 901s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 901s # GValue *return_value, 901s # gpointer instance, 901s # va_list args, 901s # gpointer marshal_data, 901s # int n_params, 901s # GType *param_types); 901s # 901s # 901s # G_END_DECLS 901s # 901s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 901s # Error: 901s # 901s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_wpx7zpq/tmpx2sgilwf.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # /* VOID:VARIANT (/tmp/tmp_wpx7zpq/tmpx2sgilwf.list:1) */ 901s # void 901s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 901s # GValue *return_value G_GNUC_UNUSED, 901s # guint n_param_values, 901s # const GValue *param_values, 901s # gpointer invocation_hint G_GNUC_UNUSED, 901s # gpointer marshal_data) 901s # { 901s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 901s # gpointer arg1, 901s # gpointer data2); 901s # GCClosure *cc = (GCClosure *) closure; 901s # gpointer data1, data2; 901s # GMarshalFunc_VOID__VARIANT callback; 901s # 901s # g_return_if_fail (n_param_values == 2); 901s # 901s # if (G_CCLOSURE_SWAP_DATA (closure)) 901s # { 901s # data1 = closure->data; 901s # data2 = g_value_peek_pointer (param_values + 0); 901s # } 901s # else 901s # { 901s # data1 = g_value_peek_pointer (param_values + 0); 901s # data2 = closure->data; 901s # } 901s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 901s # 901s # callback (data1, 901s # g_marshal_value_peek_variant (param_values + 1), 901s # data2); 901s # } 901s # 901s # void 901s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 901s # GValue *return_value G_GNUC_UNUSED, 901s # gpointer instance, 901s # va_list args, 901s # gpointer marshal_data, 901s # int n_params, 901s # GType *param_types) 901s # { 901s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 901s # gpointer arg1, 901s # gpointer data2); 901s # GCClosure *cc = (GCClosure *) closure; 901s # gpointer data1, data2; 901s # GMarshalFunc_VOID__VARIANT callback; 901s # gpointer arg0; 901s # va_list args_copy; 901s # 901s # va_copy (args_copy, args); 901s # arg0 = (gpointer) va_arg (args_copy, gpointer); 901s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 901s # arg0 = g_variant_ref_sink (arg0); 901s # va_end (args_copy); 901s # 901s # 901s # if (G_CCLOSURE_SWAP_DATA (closure)) 901s # { 901s # data1 = closure->data; 901s # data2 = instance; 901s # } 901s # else 901s # { 901s # data1 = instance; 901s # data2 = closure->data; 901s # } 901s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 901s # 901s # callback (data1, 901s # arg0, 901s # data2); 901s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 901s # g_variant_unref (arg0); 901s # } 901s # Error: 901s 1..8 901s TAP version 14 901s # random seed: R02S2dc5b2a66824802a42d18ddf31dc350f 901s 1..120 901s # Start of array tests 901s ok 1 /array/ref-count 901s ok 2 /array/steal 901s ok 3 /array/clear-func 901s ok 4 /array/binary-search 901s ok 5 /array/overflow-append-vals 901s ok 6 /array/overflow-set-size 901s # Start of new tests 901s ok 7 /array/new/zero-terminated 901s ok 8 /array/new/take 901s ok 9 /array/new/take-zero-terminated 901s # Start of take tests 901s ok 10 /array/new/take/empty 901s ok 11 /array/new/take/overflow 901s ok 12 /array/new/take/zero-size 901s # End of take tests 901s # Start of take-zero-terminated tests 901s ok 13 /array/new/take-zero-terminated/zero-size 901s ok 14 /array/new/take-zero-terminated/null 901s # End of take-zero-terminated tests 901s # End of new tests 901s # Start of copy tests 901s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 901s ok 15 /array/copy/sized 901s ok 16 /array/copy/zero-terminated 901s ok 17 /array/copy/non-zero-terminated-no-clear 901s ok 18 /array/copy/non-zero-terminated-clear 901s ok 19 /array/copy/zero-terminated-no-clear 901s ok 20 /array/copy/zero-terminated-clear 901s # End of copy tests 901s # Start of remove-range tests 901s ok 21 /array/remove-range/zero-terminated-null 901s ok 22 /array/remove-range/non-zero-terminated-no-clear 901s ok 23 /array/remove-range/non-zero-terminated-clear 901s ok 24 /array/remove-range/zero-terminated-no-clear 901s ok 25 /array/remove-range/zero-terminated-clear 901s # End of remove-range tests 901s # Start of set-size tests 901s ok 26 /array/set-size/zero-terminated-null 901s ok 27 /array/set-size/non-zero-terminated-no-clear 901s ok 28 /array/set-size/non-zero-terminated-clear 901s ok 29 /array/set-size/zero-terminated-no-clear 901s ok 30 /array/set-size/zero-terminated-clear 901s # Start of sized tests 901s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 901s ok 32 /array/set-size/sized/non-zero-terminated-clear 901s ok 33 /array/set-size/sized/zero-terminated-no-clear 901s ok 34 /array/set-size/sized/zero-terminated-clear 901s # End of sized tests 901s # End of set-size tests 901s # Start of append-val tests 901s ok 35 /array/append-val/non-zero-terminated-no-clear 901s ok 36 /array/append-val/non-zero-terminated-clear 901s ok 37 /array/append-val/zero-terminated-no-clear 901s ok 38 /array/append-val/zero-terminated-clear 901s # End of append-val tests 901s # Start of prepend-val tests 901s ok 39 /array/prepend-val/non-zero-terminated-no-clear 901s ok 40 /array/prepend-val/non-zero-terminated-clear 901s ok 41 /array/prepend-val/zero-terminated-no-clear 901s ok 42 /array/prepend-val/zero-terminated-clear 901s # End of prepend-val tests 901s # Start of prepend-vals tests 901s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 901s ok 44 /array/prepend-vals/non-zero-terminated-clear 901s ok 45 /array/prepend-vals/zero-terminated-no-clear 901s ok 46 /array/prepend-vals/zero-terminated-clear 901s # End of prepend-vals tests 901s # Start of insert-vals tests 901s ok 47 /array/insert-vals/non-zero-terminated-no-clear 901s ok 48 /array/insert-vals/non-zero-terminated-clear 901s ok 49 /array/insert-vals/zero-terminated-no-clear 901s ok 50 /array/insert-vals/zero-terminated-clear 901s # End of insert-vals tests 901s # Start of remove-index tests 901s ok 51 /array/remove-index/non-zero-terminated-no-clear 901s ok 52 /array/remove-index/non-zero-terminated-clear 901s ok 53 /array/remove-index/zero-terminated-no-clear 901s ok 54 /array/remove-index/zero-terminated-clear 901s # End of remove-index tests 901s # Start of remove-index-fast tests 901s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 901s ok 56 /array/remove-index-fast/non-zero-terminated-clear 901s ok 57 /array/remove-index-fast/zero-terminated-no-clear 901s ok 58 /array/remove-index-fast/zero-terminated-clear 901s # End of remove-index-fast tests 901s # Start of sort tests 901s ok 59 /array/sort/non-zero-terminated-no-clear 901s ok 60 /array/sort/non-zero-terminated-clear 901s ok 61 /array/sort/zero-terminated-no-clear 901s ok 62 /array/sort/zero-terminated-clear 901s # End of sort tests 901s # Start of sort-with-data tests 901s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 901s ok 64 /array/sort-with-data/non-zero-terminated-clear 901s ok 65 /array/sort-with-data/zero-terminated-no-clear 901s ok 66 /array/sort-with-data/zero-terminated-clear 901s # End of sort-with-data tests 901s # End of array tests 901s # Start of pointerarray tests 901s ok 67 /pointerarray/add 901s ok 68 /pointerarray/insert 901s ok 69 /pointerarray/new-take 901s ok 70 /pointerarray/new-take-null-terminated 901s ok 71 /pointerarray/new-from-array 901s ok 72 /pointerarray/new-from-null-terminated-array 901s ok 73 /pointerarray/free-func 901s ok 74 /pointerarray/array_extend_and_steal 901s ok 75 /pointerarray/sort 901s ok 76 /pointerarray/sort-with-data 901s ok 77 /pointerarray/sort-values 901s ok 78 /pointerarray/sort-values-with-data 901s ok 79 /pointerarray/remove-range 901s ok 80 /pointerarray/steal 901s # Start of free tests 901s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 901s ok 81 /pointerarray/free/null-terminated 901s # End of free tests 901s # Start of new-take tests 901s ok 82 /pointerarray/new-take/empty 901s ok 83 /pointerarray/new-take/overflow 901s ok 84 /pointerarray/new-take/with-free-func 901s # End of new-take tests 901s # Start of new-take-null-terminated tests 901s ok 85 /pointerarray/new-take-null-terminated/empty 901s ok 86 /pointerarray/new-take-null-terminated/with-free-func 901s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 901s # End of new-take-null-terminated tests 901s # Start of new-from-array tests 901s ok 88 /pointerarray/new-from-array/empty 901s ok 89 /pointerarray/new-from-array/overflow 901s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 901s # End of new-from-array tests 901s # Start of new-from-null-terminated-array tests 901s ok 91 /pointerarray/new-from-null-terminated-array/empty 901s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 901s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 901s # End of new-from-null-terminated-array tests 901s # Start of ref-count tests 901s ok 94 /pointerarray/ref-count/not-null-terminated 901s ok 95 /pointerarray/ref-count/null-terminated 901s # End of ref-count tests 901s # Start of array_copy tests 901s # /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 901s ok 96 /pointerarray/array_copy/not-null-terminated 901s # /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 901s ok 97 /pointerarray/array_copy/null-terminated 901s # End of array_copy tests 901s # Start of array_extend tests 901s ok 98 /pointerarray/array_extend/not-null-terminated 901s ok 99 /pointerarray/array_extend/null-terminated 901s # End of array_extend tests 901s # Start of sort tests 901s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 901s ok 100 /pointerarray/sort/example 901s # End of sort tests 901s # Start of sort-with-data tests 901s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 901s ok 101 /pointerarray/sort-with-data/example 901s # End of sort-with-data tests 901s # Start of sort-values tests 901s ok 102 /pointerarray/sort-values/example 901s # End of sort-values tests 901s # Start of sort-values-with-data tests 901s ok 103 /pointerarray/sort-values-with-data/example 901s # End of sort-values-with-data tests 901s # Start of find tests 901s ok 104 /pointerarray/find/empty 901s ok 105 /pointerarray/find/non-empty 901s # End of find tests 901s # Start of steal_index tests 901s ok 106 /pointerarray/steal_index/not-null-terminated 901s ok 107 /pointerarray/steal_index/null-terminated 901s # End of steal_index tests 901s # End of pointerarray tests 901s # Start of bytearray tests 901s ok 108 /bytearray/steal 901s ok 109 /bytearray/append 901s ok 110 /bytearray/prepend 901s ok 111 /bytearray/remove 901s ok 112 /bytearray/remove-fast 901s ok 113 /bytearray/remove-range 901s ok 114 /bytearray/ref-count 901s ok 115 /bytearray/set-size 901s ok 116 /bytearray/sort 901s ok 117 /bytearray/sort-with-data 901s ok 118 /bytearray/new-take 901s ok 119 /bytearray/new-take-overflow 901s ok 120 /bytearray/free-to-bytes 901s # End of bytearray tests 901s ok - glib/array-test.test 901s # Running test: glib/assert-msg-test.py.test 901s ok - glib/assert-msg-test.py.test 901s # Running test: glib/dbus-appinfo.test 901s TAP version 13 901s ok 1 __main__.TestAssertMessage.test_gassert 901s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 901s # tmpdir: /tmp/tmp2qxbio0s 901s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 901s # Return code: -6 901s # Output: 901s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 901s # Error: 901s # ** 901s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 901s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 901s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 901s # tmpdir: /tmp/tmpzh6ukr_k 901s 1..2 901s TAP version 14 901s # random seed: R02S710e3e23a8c2cc27e1c4f38d150ddeac 901s 1..7 901s # Start of appinfo tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/runtime 901s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 901s ok 1 /appinfo/dbusappinfo 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/runtime 901s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 901s # Acquired a message bus connection 901s # Acquired the name org.freedesktop.portal.Documents 901s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_TLPAK3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/config 901s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 901s # fake-document-portal cancelled 901s ok 2 /appinfo/flatpak-doc-export 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/runtime 901s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 901s # Acquired a message bus connection 901s # Acquired the name org.freedesktop.portal.Documents 901s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/config 901s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 901s # fake-document-portal cancelled 901s ok 3 /appinfo/flatpak-missing-doc-export 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/runtime 901s # Acquired a message bus connection 901s # Acquired the name org.freedesktop.portal.Desktop 901s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_TLPAK3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/config 901s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 901s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 901s # Response emitted 901s # fake-desktop-portal cancelled 901s ok 4 /appinfo/portal-open-file 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/runtime 901s # Acquired a message bus connection 901s # Acquired the name org.freedesktop.portal.Desktop 901s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/config 901s # Got open file request for http://example.com 901s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 901s # Response emitted 901s # fake-desktop-portal cancelled 901s ok 5 /appinfo/portal-open-uri 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/runtime 901s # Acquired a message bus connection 901s # Acquired the name org.freedesktop.portal.Desktop 901s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/config 901s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 901s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio807562156 901s # Response emitted 901s # fake-desktop-portal cancelled 901s ok 6 /appinfo/portal-open-file-async 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/runtime 901s # Acquired a message bus connection 901s # Acquired the name org.freedesktop.portal.Desktop 901s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_TLPAK3/appinfo/portal-open-uri-async/.dirs/config 901s # Got open file request for http://example.com 901s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio2123326777 901s # Response emitted 901s # fake-desktop-portal cancelled 901s ok - glib/dbus-appinfo.test 901s # Running test: glib/fdo-notification-backend.test 901s ok 7 /appinfo/portal-open-uri-async 901s # End of appinfo tests 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s TAP version 14 901s # random seed: R02Sf5228116d46e05c4966976aabb53a3d1 901s 1..2 901s # Start of fdo-notification-backend tests 901s # Test constructing a GFdoNotificationBackend 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s ok 1 /fdo-notification-backend/construction 902s # Start of dbus tests 902s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s ok 2 /fdo-notification-backend/dbus/activate-action 902s # End of dbus tests 902s # End of fdo-notification-backend tests 902s ok - glib/fdo-notification-backend.test 902s # Running test: glib/search-utils.test 902s TAP version 14 902s # random seed: R02S4ae195f9f9b527ca034888ff9763da81 902s # GLib-DEBUG: Current user locale: C.UTF-8 902s 1..6 902s # Start of search tests 902s # GLib-DEBUG: Started 902s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 902s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 902s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 902s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 902s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 902s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 902s ok 1 /search/basic 902s # GLib-DEBUG: Started 902s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 902s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 902s # GLib-DEBUG: 'ele' - 'élève' should match: OK 902s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 902s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 902s ok 2 /search/composed 902s # GLib-DEBUG: Started 902s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 902s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 902s ok 3 /search/decomposed 902s # GLib-DEBUG: Started 902s ok - glib/search-utils.test 902s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 902s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 902s ok 4 /search/turkish 902s # GLib-DEBUG: Started 902s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 902s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 902s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 902s ok 5 /search/c_locale_unicode 902s # GLib-DEBUG: Started 902s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 902s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 902s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 902s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 902s ok 6 /search/multi_words 902s # End of search tests 902s # Running test: glib/642026.test 902s TAP version 14 902s # random seed: R02S5c66121af84573fbefcb6e7c1d3a2197 902s 1..1 902s # Start of glib tests 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 902s ok - glib/642026.test 902s # Running test: glib/slice.test 902s ok 1 /glib/642026 902s # End of glib tests 902s TAP version 14 902s # random seed: R02S3da96c36671df88fe9708ae110db3c42 902s 1..3 902s # Start of slice tests 902s ok 1 /slice/copy 902s ok 2 /slice/chain 902s ok 3 /slice/allocate 902s # End of slice tests 902s ok - glib/slice.test 902s # Running test: glib/memory-output-stream.test 902s TAP version 14 902s # random seed: R02Sc7043871875104bfdcb97bec85fe55c2 902s 1..10 902s # Start of memory-output-stream tests 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 902s ok 1 /memory-output-stream/truncate 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 902s ok 2 /memory-output-stream/get-data-size 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 902s ok 3 /memory-output-stream/properties 902s ok 4 /memory-output-stream/write-bytes 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 902s ok 5 /memory-output-stream/write-null 902s ok 6 /memory-output-stream/writev 902s ok 7 /memory-output-stream/writev_nonblocking 902s ok 8 /memory-output-stream/steal_as_bytes 902s # Start of seek tests 902s ok 9 /memory-output-stream/seek/fixed 902s ok 10 /memory-output-stream/seek/resizable 902s # End of seek tests 902s # End of memory-output-stream tests 902s ok - glib/memory-output-stream.test 902s # Running test: glib/option-context.test 902s TAP version 14 902s # random seed: R02S55806104a4f16ee5641bd9366ec3839a 902s 1..61 902s # Start of option tests 902s ok 1 /option/basic 902s ok 2 /option/translate 902s ok 3 /option/strict-posix 902s # Testing command: program --double abc 902s # Testing command: program --double 2e309 902s # Testing command: program --int abc 902s # Testing command: program --int 99999999999999999999999999999999999 902s # Testing command: program --int64 abc 902s # Testing command: program --int64 99999999999999999999999999999999999 902s ok 4 /option/parsing-errors 902s # Start of help tests 902s ok 5 /option/help/options 902s ok 6 /option/help/no-options 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 902s ok 7 /option/help/no-help-options 902s # Usage: 902s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 902s # 902s # Summary 902s # 902s # Help Options: 902s # -h, --help Show help options 902s # 902s # Application Options: 902s # -t, --test=Argument to use in test (deprecated) Test tests 902s # --test2 Tests also 902s # 902s # Description 902s # 902s ok 8 /option/help/deprecated 902s ok 9 /option/help/main-get_help-format 902s ok 10 /option/help/group-get_help-format 902s # End of help tests 902s # Start of group tests 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 902s ok - glib/option-context.test 902s # Running test: glib/object-info.test 902s ok 11 /option/group/captions 902s ok 12 /option/group/main 902s ok 13 /option/group/error-hook 902s ok 14 /option/group/parse 902s # Start of captions tests 902s # Start of subprocess tests 902s # End of subprocess tests 902s # End of captions tests 902s # End of group tests 902s # Start of restoration tests 902s ok 15 /option/restoration/int 902s ok 16 /option/restoration/string 902s ok 17 /option/restoration/boolean 902s # End of restoration tests 902s # Start of arg tests 902s ok 18 /option/arg/reverse-string 902s ok 19 /option/arg/optional-int 902s # Start of repetition tests 902s ok 20 /option/arg/repetition/int 902s ok 21 /option/arg/repetition/string 902s ok 22 /option/arg/repetition/filename 902s ok 23 /option/arg/repetition/double 902s ok 24 /option/arg/repetition/locale 902s ok 25 /option/arg/repetition/int64 902s # End of repetition tests 902s # Start of array tests 902s ok 26 /option/arg/array/string 902s # End of array tests 902s # Start of callback tests 902s ok 27 /option/arg/callback/string 902s ok 28 /option/arg/callback/count 902s ok 29 /option/arg/callback/optional1 902s ok 30 /option/arg/callback/optional2 902s ok 31 /option/arg/callback/optional3 902s ok 32 /option/arg/callback/optional4 902s ok 33 /option/arg/callback/optional5 902s ok 34 /option/arg/callback/optional6 902s ok 35 /option/arg/callback/optional7 902s ok 36 /option/arg/callback/optional8 902s # End of callback tests 902s # Start of remaining tests 902s ok 37 /option/arg/remaining/callback 902s ok 38 /option/arg/remaining/callback-false 902s ok 39 /option/arg/remaining/non-option 902s ok 40 /option/arg/remaining/separator 902s ok 41 /option/arg/remaining/array 902s # End of remaining tests 902s # Start of ignore tests 902s ok 42 /option/arg/ignore/long 902s ok 43 /option/arg/ignore/short 902s ok 44 /option/arg/ignore/arg 902s # End of ignore tests 902s # Start of rest tests 902s ok 45 /option/arg/rest/non-option 902s ok 46 /option/arg/rest/separator1 902s ok 47 /option/arg/rest/separator2 902s ok 48 /option/arg/rest/separator3 902s ok 49 /option/arg/rest/separator4 902s ok 50 /option/arg/rest/separator5 902s # End of rest tests 902s # End of arg tests 902s # Start of context tests 902s ok 51 /option/context/add 902s ok 52 /option/context/empty2 902s ok 53 /option/context/empty3 902s # End of context tests 902s # Start of bug tests 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 902s ok 54 /option/bug/unknown-short 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 902s ok 55 /option/bug/lonely-dash 902s ok 56 /option/bug/triple-dash 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 902s ok 57 /option/bug/missing-arg 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 902s ok 58 /option/bug/dash-arg 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 902s ok 59 /option/bug/short-remaining 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 902s ok 60 /option/bug/double-free 902s ok 61 /option/bug/double-zero 902s # End of bug tests 902s # End of option tests 902s TAP version 14 902s ok - glib/object-info.test 902s # Running test: glib/atomic-c-99.test 902s # random seed: R02S658843c421a5b0d1e53682915ba34f2b 902s 1..2 902s # Start of object-info tests 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_3EAPK3/object-info/find-method-using-interfaces/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_3EAPK3/object-info/find-method-using-interfaces/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_3EAPK3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_3EAPK3/object-info/find-method-using-interfaces/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_3EAPK3/object-info/find-method-using-interfaces/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_3EAPK3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_3EAPK3/object-info/find-method-using-interfaces/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_3EAPK3/object-info/find-method-using-interfaces/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_3EAPK3/object-info/find-method-using-interfaces/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_3EAPK3/object-info/find-method-using-interfaces/.dirs/runtime 902s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 902s ok 1 /object-info/find-method-using-interfaces 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_3EAPK3/object-info/find-vfunc-using-interfaces/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_3EAPK3/object-info/find-vfunc-using-interfaces/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_3EAPK3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_3EAPK3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_3EAPK3/object-info/find-vfunc-using-interfaces/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_3EAPK3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_3EAPK3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_3EAPK3/object-info/find-vfunc-using-interfaces/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_3EAPK3/object-info/find-vfunc-using-interfaces/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_3EAPK3/object-info/find-vfunc-using-interfaces/.dirs/runtime 902s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 902s ok 2 /object-info/find-vfunc-using-interfaces 902s # End of object-info tests 902s TAP version 14 902s # random seed: R02S569f543a2672e408f5cb20f1184020f4 902s 1..2 902s # Start of atomic tests 902s ok 1 /atomic/types 902s ok - glib/atomic-c-99.test 902s # Running test: glib/buffered-output-stream.test 902s ok 2 /atomic/threaded 902s # End of atomic tests 902s TAP version 14 902s ok - glib/buffered-output-stream.test 902s # random seed: R02S7aad17e4cfe4b56f65f80f8ec8d4a634 902s 1..5 902s # Start of buffered-output-stream tests 902s ok 1 /buffered-output-stream/write 902s ok 2 /buffered-output-stream/grow 902s ok 3 /buffered-output-stream/seek 902s ok 4 /buffered-output-stream/truncate 902s # End of buffered-output-stream tests 902s # Start of filter-output-stream tests 902s ok 5 /filter-output-stream/close 902s # End of filter-output-stream tests 902s # Running test: glib/cxx-2b.test 902s TAP version 14 902s # random seed: R02S744da3a7e96da5381bea4a47c9d0b9ad 902s 1..2 902s # Start of gtask tests 902s # 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. 902s ok 1 /gtask/name 902s # Start of name tests 902s # 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. 902s ok 2 /gtask/name/macro-wrapper 902s # End of name tests 902s # End of gtask tests 902s ok - glib/cxx-2b.test 902s # Running test: glib/deprecated-properties.test 902s TAP version 14 902s # random seed: R02Sf694ade6d493ac80e7fc49fc75f6b297 902s 1..3 902s # Start of deprecated-properties tests 902s ok - glib/deprecated-properties.test 902s ok 1 /deprecated-properties/construct 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 902s ok 2 /deprecated-properties/default-construct 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 902s ok 3 /deprecated-properties/set 902s # End of deprecated-properties tests 902s # Running test: glib/contenttype.test 902s TAP version 14 902s # random seed: R02S02065acce432fe13e31ff0d01d712710 902s 1..14 902s # Start of contenttype tests 902s ok 1 /contenttype/guess 902s ok 2 /contenttype/guess_svg_from_data 902s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 902s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 902s ok 5 /contenttype/unknown 902s ok 6 /contenttype/subtype 902s ok 7 /contenttype/list 902s ok 8 /contenttype/executable 902s ok - glib/contenttype.test 902s # Running test: glib/signal-handler.test 902s ok - glib/signal-handler.test 902s # Running test: glib/gapplication.test 902s ok 9 /contenttype/description 902s ok 10 /contenttype/icon 902s ok 11 /contenttype/symbolic-icon 902s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 902s ok 12 /contenttype/tree 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 902s ok 13 /contenttype/tree_invalid_encoding 902s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 902s ok 14 /contenttype/test_type_is_a_special_case 902s # End of contenttype tests 902s TAP version 14 902s # random seed: R02Sd430ed247b4cd4018b41193c9a2b3c60 902s 1..7 902s # Start of signal tests 902s # Start of handler tests 902s # min perf: connected 1 handlers in 0.000 seconds 902s ok 1 /signal/handler/connect-many 902s # min perf: disconnected 1 handlers in 0.000 seconds 902s ok 2 /signal/handler/disconnect-many-ordered 902s # min perf: disconnected 1 handlers in 0.000 seconds 902s ok 3 /signal/handler/disconnect-many-inverse 902s # min perf: disconnected 1 handlers in 0.000 seconds 902s ok 4 /signal/handler/disconnect-many-random 902s # min perf: disconnected 1 handlers in 0.000 seconds 902s ok 5 /signal/handler/disconnect-2-signals 902s # min perf: disconnected 1 handlers in 0.000 seconds 902s ok 6 /signal/handler/disconnect-2-objects 902s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 902s ok 7 /signal/handler/block-many 902s # End of handler tests 902s # End of signal tests 902s TAP version 14 902s # random seed: R02Sde1a60e5e75c58ac5616a5c1cc2d21a9 902s 1..25 902s # Start of gapplication tests 902s ok 1 /gapplication/no-dbus 902s ok 2 /gapplication/no-appid 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s ok 3 /gapplication/properties 902s ok 4 /gapplication/app-id 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s ok 5 /gapplication/quit 902s ok 6 /gapplication/registered 902s ok 7 /gapplication/local-actions 902s ok 8 /gapplication/local-command-line 902s ok 9 /gapplication/resource-path 902s ok 10 /gapplication/test-help 902s ok 11 /gapplication/command-line-done 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s ok 12 /gapplication/test-busy 902s ok 13 /gapplication/test-handle-local-options1 902s ok 14 /gapplication/test-handle-local-options2 902s ok 15 /gapplication/test-handle-local-options3 902s ok 16 /gapplication/api 902s ok 17 /gapplication/version 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 902s # launching subprocess 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s ok 18 /gapplication/replace 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 902s # launching subprocess 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s ok 19 /gapplication/no-replace 902s # slow test /gapplication/no-replace executed in 0.51 secs 902s # Start of command-line tests 902s # /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 902s ok 20 /gapplication/command-line/arguments 902s # End of command-line tests 902s # Start of dbus tests 902s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 902s # Message 0 902s # Message 1 902s # Message 2 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s ok 21 /gapplication/dbus/activate 902s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 902s # Message 0 902s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 902s # Message 1 902s # Message 2 903s # Message 3 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s ok 22 /gapplication/dbus/open 903s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 903s # Message 0 903s # Message 1 903s # Message 2 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s ok 23 /gapplication/dbus/command-line 903s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s ok 24 /gapplication/dbus/command-line-done 903s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 903s # Message 0 903s # Message 1 903s # Message 2 903s # Message 3 903s # Message 4 903s # Message 5 903s # Message 6 903s # Message 7 903s # Message 8 903s # Message 9 903s # Message 10 903s # Message 11 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 903s ok 25 /gapplication/dbus/activate-action 903s # End of dbus tests 903s # End of gapplication tests 903s TAP version 14 903s # random seed: R02Sd318d493ca98462f84a8707d2caef714 903s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 903s 1..3 903s # Start of volumemonitor tests 903s ok 1 /volumemonitor/connected_drives 903s ok 2 /volumemonitor/volumes 903s ok 3 /volumemonitor/mounts 903s # End of volumemonitor tests 903s ok - glib/gapplication.test 903s # Running test: glib/volumemonitor.test 903s ok - glib/volumemonitor.test 903s # Running test: glib/socket.test 903s TAP version 14 903s # random seed: R02Scd5223417afc07f738e7790371412e53 903s 1..30 903s # Start of socket tests 904s ok 1 /socket/ipv4_sync 904s # slow test /socket/ipv4_sync executed in 1.00 secs 905s ok 2 /socket/ipv4_async 905s # slow test /socket/ipv4_async executed in 1.00 secs 905s ok 3 /socket/ipv6_sync 905s ok 4 /socket/ipv6_async 905s ok 5 /socket/ipv6_v4mapped 906s # Executing: glib/socket.test 906s ok 6 /socket/close_graceful 906s # slow test /socket/close_graceful executed in 1.00 secs 906s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 906s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 906s ok 8 /socket/fd_reuse 906s ok 9 /socket/address 906s ok 10 /socket/unix-from-fd 906s ok 11 /socket/unix-connection 906s ok 12 /socket/unix-connection-ancillary-data 906s ok 13 /socket/source-postmortem 906s ok 14 /socket/read_write 906s ok 15 /socket/read_writev 906s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 906s ok 16 /socket/receive_bytes 906s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 906s ok 17 /socket/receive_bytes_from 906s # Start of ipv4_sync tests 906s ok 18 /socket/ipv4_sync/datagram 906s # Start of datagram tests 907s ok 19 /socket/ipv4_sync/datagram/timeouts 907s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 907s # End of datagram tests 907s # End of ipv4_sync tests 907s # Start of ipv6_sync tests 907s ok 20 /socket/ipv6_sync/datagram 907s # Start of datagram tests 908s ok 21 /socket/ipv6_sync/datagram/timeouts 908s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 908s # End of datagram tests 908s # End of ipv6_sync tests 908s # Start of reuse tests 908s ok 22 /socket/reuse/tcp 908s ok 23 /socket/reuse/udp 908s # End of reuse tests 908s # Start of get_available tests 908s ok 24 /socket/get_available/datagram 908s ok 25 /socket/get_available/stream 908s # End of get_available tests 908s # Start of credentials tests 908s # Supported on this OS: GCredentials:linux-ucred:pid=0 908s ok 26 /socket/credentials/tcp_client 908s # Supported on this OS: GCredentials:linux-ucred:pid=0 908s ok 27 /socket/credentials/tcp_server 908s # Supported on this OS: GCredentials:linux-ucred:pid=8996,uid=1000,gid=1000 908s ok 28 /socket/credentials/unix_socketpair 908s # End of credentials tests 908s # Start of accept tests 908s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 908s ok 29 /socket/accept/cancelled 908s # End of accept tests 908s # Start of connect tests 908s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 908s ok 30 /socket/connect/cancelled 908s # End of connect tests 908s # End of socket tests 908s ok - glib/socket.test 908s # Running test: glib/mutex.test 908s TAP version 14 908s # random seed: R02S7804853fa2e3b5512d3cd3a9026a3495 908s 1..17 908s # Start of thread tests 908s ok 1 /thread/mutex1 908s ok 2 /thread/mutex2 908s ok 3 /thread/mutex3 908s ok 4 /thread/mutex4 911s # Executing: glib/mutex.test 912s ok 5 /thread/mutex5 912s # slow test /thread/mutex5 executed in 3.49 secs 912s # Start of mutex tests 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # /thread/mutex/errno summary: Validates that errno is not touched upon return 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 912s ok 6 /thread/mutex/errno 912s # Start of perf tests 912s # max perf: inf mips 912s ok 7 /thread/mutex/perf/uncontended 912s # Start of contended tests 912s # max perf: inf mips 912s ok 8 /thread/mutex/perf/contended/1 912s # max perf: 3.000000 mips 912s ok 9 /thread/mutex/perf/contended/2 912s # max perf: inf mips 912s ok 10 /thread/mutex/perf/contended/3 912s # max perf: inf mips 912s ok 11 /thread/mutex/perf/contended/4 912s # max perf: 3.000000 mips 912s ok 12 /thread/mutex/perf/contended/5 912s # max perf: 2.333333 mips 912s ok 13 /thread/mutex/perf/contended/6 912s # max perf: 0.085106 mips 912s ok 14 /thread/mutex/perf/contended/7 912s # max perf: 4.500000 mips 912s ok 15 /thread/mutex/perf/contended/8 912s # max perf: 5.000000 mips 912s ok 16 /thread/mutex/perf/contended/9 912s # max perf: 5.500000 mips 912s ok 17 /thread/mutex/perf/contended/10 912s # End of contended tests 912s # End of perf tests 912s # End of mutex tests 912s # End of thread tests 912s TAP version 14 912s # random seed: R02S3f229711755e0766150651df8a45d48d 912s 1..1 912s # Start of null-settings-backend tests 912s ok 1 /null-settings-backend/extension-point-registered 912s # End of null-settings-backend tests 912s TAP version 14 912s # random seed: R02S6d3afd761d80fc2e60f7cde6d85fa7db 912s 1..1 912s # Start of autoptr tests 912s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 912s ok 1 /autoptr/autoptr 912s # End of autoptr tests 912s TAP version 14 912s # random seed: R02Sbdfa34df8ab5eb2e5710f74047eb504c 912s 1..3 912s # Start of utf8 tests 912s ok - glib/mutex.test 912s # Running test: glib/null-settings-backend.test 912s ok - glib/null-settings-backend.test 912s # Running test: glib/autoptr-gio.test 912s ok - glib/autoptr-gio.test 912s # Running test: glib/utf8-pointer.test 913s ok 1 /utf8/offsets 913s # slow test /utf8/offsets executed in 0.90 secs 913s ok 2 /utf8/lengths 913s ok 3 /utf8/find 913s # End of utf8 tests 913s TAP version 14 913s # random seed: R02S377477f23fffacdad9a6fd95d8542d7e 913s 1..29 913s # Start of type tests 913s ok 1 /type/fundamentals 913s ok 2 /type/qdata 913s ok 3 /type/query 913s ok 4 /type/class-private 913s # End of type tests 913s # Start of object tests 913s ok 5 /object/clear 913s ok 6 /object/clear-function 913s ok 7 /object/set 913s ok 8 /object/set-function 913s ok 9 /object/value 913s ok 10 /object/initially-unowned 913s ok 11 /object/weak-pointer 913s ok 12 /object/weak-ref 913s ok 13 /object/toggle-ref 913s ok 14 /object/qdata 913s ok 15 /object/qdata2 913s # Start of set tests 913s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 913s ok 16 /object/set/derived-type 913s # End of set tests 913s # Start of weak-pointer tests 913s ok 17 /object/weak-pointer/clear 913s ok 18 /object/weak-pointer/clear-function 913s ok 19 /object/weak-pointer/set 913s ok 20 /object/weak-pointer/set-function 913s # End of weak-pointer tests 913s # Start of weak-ref tests 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 913s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 913s ok 21 /object/weak-ref/on-dispose 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 913s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 913s ok 22 /object/weak-ref/on-run-dispose 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 913s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 913s ok 23 /object/weak-ref/on-toggle-notify 913s ok 24 /object/weak-ref/in-toggle-notify 913s ok 25 /object/weak-ref/many 913s # Start of concurrent tests 913s ok 26 /object/weak-ref/concurrent/0 913s ok 27 /object/weak-ref/concurrent/1 913s # End of concurrent tests 913s # End of weak-ref tests 913s # Start of toggle-ref tests 913s ok 28 /object/toggle-ref/ref-on-dispose 913s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 913s # End of toggle-ref tests 913s # End of object tests 913s ok - glib/utf8-pointer.test 913s # Running test: glib/reference.test 913s ok - glib/reference.test 913s # Running test: glib/enums.test 913s ok - glib/enums.test 913s # Running test: glib/relation.test 913s ok - glib/relation.test 913s # Running test: glib/type-flags.test 913s ok - glib/type-flags.test 913s # Running test: glib/test-printf.test 913s ok - glib/test-printf.test 913s # Running test: glib/gdbus-test-codegen-old.test 913s TAP version 14 913s # random seed: R02S6458e50b67ff865422701ad7bf0b8c04 913s 1..4 913s # Start of enum tests 913s ok 1 /enum/basic 913s ok 2 /enum/define-type 913s # End of enum tests 913s # Start of flags tests 913s ok 3 /flags/basic 913s ok 4 /flags/define-type 913s # End of flags tests 913s TAP version 14 913s # random seed: R02See4a6a658fbbb665f09323f73d3333c1 913s 1..1 913s # Start of glib tests 913s ok 1 /glib/relation 913s # End of glib tests 913s TAP version 14 913s # random seed: R02Sca840de4f0c0a7d8dabebfbe6f6f0152 913s 1..4 913s # Start of type tests 913s # Start of flags tests 913s ok 1 /type/flags/interface 913s ok 2 /type/flags/final 913s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 913s ok 3 /type/flags/deprecated 913s # Start of final tests 913s ok 4 /type/flags/final/instance-check 913s # End of final tests 913s # End of flags tests 913s # End of type tests 913s TAP version 14 913s # random seed: R02Sf742f96e92618fb573be6dee11f991cf 913s 1..24 913s # Start of snprintf tests 913s ok 1 /snprintf/retval-and-trunc 913s ok 2 /snprintf/%d 913s ok 3 /snprintf/%d-invalid 913s ok 4 /snprintf/%o 913s ok 5 /snprintf/%u 913s ok 6 /snprintf/%x 913s ok 7 /snprintf/%X 913s ok 8 /snprintf/%f 913s ok 9 /snprintf/%e 913s ok 10 /snprintf/%c 913s ok 11 /snprintf/%s 913s ok 12 /snprintf/%n 913s ok 13 /snprintf/test-percent 913s ok 14 /snprintf/test-positional-params 913s ok 15 /snprintf/test-64bit 913s ok 16 /snprintf/produce-embedded-nulls 913s # End of snprintf tests 913s # Start of printf tests 913s ok 17 /printf/test-percent 913s ok 18 /printf/test-positional-params 913s ok 19 /printf/test-64bit 913s # Start of test-64bit tests 913s # Start of subprocess tests 913s # End of subprocess tests 913s # End of test-64bit tests 913s # End of printf tests 913s # Start of fprintf tests 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 913s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 913s ok 20 /fprintf/produce-embedded-nulls 913s # End of fprintf tests 913s # Start of sprintf tests 913s ok 21 /sprintf/test-positional-params 913s ok 22 /sprintf/upper-bound 913s # End of sprintf tests 913s # Start of vasprintf tests 913s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 913s ok 23 /vasprintf/invalid-format-placeholder 913s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 913s ok 24 /vasprintf/invalid-wide-string 913s # End of vasprintf tests 913s TAP version 14 913s # random seed: R02S915098a1ea4271cb164572310e230f07 913s 1..8 913s # Start of gdbus tests 913s # Start of codegen tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/annotations/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/annotations/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/annotations/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/annotations/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/annotations/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/annotations/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/annotations/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/annotations/.dirs/runtime 913s ok 1 /gdbus/codegen/annotations 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/interface_stability/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/interface_stability/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/interface_stability/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/interface_stability/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/interface_stability/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/interface_stability/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/interface_stability/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/interface_stability/.dirs/runtime 913s ok 2 /gdbus/codegen/interface_stability 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/object-manager/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/object-manager/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/object-manager/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/object-manager/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/object-manager/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/object-manager/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/object-manager/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/object-manager/.dirs/runtime 913s ok - glib/gdbus-test-codegen-old.test 913s # Running test: glib/gobject-query.py.test 913s ok 3 /gdbus/codegen/object-manager 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/property-naming/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/property-naming/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/property-naming/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/property-naming/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/property-naming/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/property-naming/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/property-naming/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/property-naming/.dirs/runtime 913s ok 4 /gdbus/codegen/property-naming 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/autocleanups/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/autocleanups/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/autocleanups/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/autocleanups/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/autocleanups/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/autocleanups/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/autocleanups/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/autocleanups/.dirs/runtime 913s ok 5 /gdbus/codegen/autocleanups 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/deprecations/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/deprecations/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/deprecations/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/deprecations/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/deprecations/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/deprecations/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/deprecations/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/deprecations/.dirs/runtime 913s ok 6 /gdbus/codegen/deprecations 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/standalone-interface-info/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/standalone-interface-info/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/standalone-interface-info/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/standalone-interface-info/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/standalone-interface-info/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 913s ok 7 /gdbus/codegen/standalone-interface-info 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/unix-fd-list/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/unix-fd-list/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/unix-fd-list/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/unix-fd-list/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/unix-fd-list/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ZWHK3/gdbus/codegen/unix-fd-list/.dirs/runtime 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 913s ok 8 /gdbus/codegen/unix-fd-list 913s # End of codegen tests 913s # End of gdbus tests 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s TAP version 13 913s ok 1 __main__.TestGobjectQuery.test_froots 913s # gobject-query: /usr/bin/gobject-query 913s # tmpdir: /tmp/tmpf3s61dxe 913s # Running: ['/usr/bin/gobject-query', 'froots'] 913s # Return code: 0 913s # Output: 913s # ├void 913s # ├GInterface 913s # │ └GTypePlugin 913s # ├gchar 913s # ├guchar 913s # ├gboolean 913s # ├gint 913s # ├guint 913s # ├glong 913s # ├gulong 913s # ├gint64 913s # ├guint64 913s # ├GEnum 913s # ├GFlags 913s # ├gfloat 913s # ├gdouble 913s # ├gchararray 913s # ├gpointer 913s # │ └GType 913s # ├GBoxed 913s # │ └GValueArray 913s # ├GParam 913s # │ ├GParamChar 913s # │ ├GParamUChar 913s # │ ├GParamBoolean 913s # │ ├GParamInt 913s # │ ├GParamUInt 913s # │ ├GParamLong 913s # │ ├GParamULong 913s # │ ├GParamInt64 913s # │ ├GParamUInt64 913s # │ ├GParamUnichar 913s # │ ├GParamEnum 913s # │ ├GParamFlags 913s # │ ├GParamFloat 913s # │ ├GParamDouble 913s # │ ├GParamString 913s # │ ├GParamParam 913s # │ ├GParamBoxed 913s # │ ├GParamPointer 913s # │ ├GParamValueArray 913s # │ ├GParamObject 913s # │ ├GParamOverride 913s # │ ├GParamGType 913s # │ └GParamVariant 913s # ├GObject 913s # └GVariant 913s # Error: 913s ok 2 __main__.TestGobjectQuery.test_help 913s ok - glib/gobject-query.py.test 913s # Running test: glib/overflow.test 913s ok - glib/overflow.test 913s # Running test: glib/gdbus-addresses.test 913s ok - glib/gdbus-addresses.test 913s # Running test: glib/macros-c-17.test 913s ok - glib/macros-c-17.test 913s # Running test: glib/gdbus-proxy.test 913s # gobject-query: /usr/bin/gobject-query 913s # tmpdir: /tmp/tmpx3xuzwx1 913s # Running: ['/usr/bin/gobject-query', '--help'] 913s # Return code: 0 913s # Output: 913s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 913s # -r specify root type 913s # -n don't descend type tree 913s # -h show help 913s # -b specify indent string 913s # -i specify incremental indent string 913s # -s specify line spacing 913s # qualifiers: 913s # froots iterate over fundamental roots 913s # tree print type tree 913s # Error: 913s ok 3 __main__.TestGobjectQuery.test_tree 913s # gobject-query: /usr/bin/gobject-query 913s # tmpdir: /tmp/tmp4l9tpe_v 913s # Running: ['/usr/bin/gobject-query', 'tree'] 913s # Return code: 0 913s # Output: 913s # GObject 913s # Error: 913s ok 4 __main__.TestGobjectQuery.test_version 913s # gobject-query: /usr/bin/gobject-query 913s # tmpdir: /tmp/tmpc2quc1t8 913s # Running: ['/usr/bin/gobject-query', '--version'] 913s # Return code: 0 913s # Output: 913s # 2.86.3 913s # Error: 913s 1..4 913s TAP version 14 913s # random seed: R02S8c167945fcec298845c2ca0b1fbfa0c3 913s 1..6 913s # Start of glib tests 913s # Start of checked-math tests 913s ok 1 /glib/checked-math/guint-add 913s ok 2 /glib/checked-math/guint-mul 913s ok 3 /glib/checked-math/guint64-add 913s ok 4 /glib/checked-math/guint64-mul 913s ok 5 /glib/checked-math/gsize-add 913s ok 6 /glib/checked-math/gsize-mul 913s # End of checked-math tests 913s # End of glib tests 913s TAP version 14 913s # random seed: R02S72759f8ce62f91cd4f637a3b1fa0b416 913s 1..9 913s # Start of gdbus tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/empty-address/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/empty-address/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_I94EK3/gdbus/empty-address/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/empty-address/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_I94EK3/gdbus/empty-address/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/empty-address/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/empty-address/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_I94EK3/gdbus/empty-address/.dirs/runtime 913s ok 1 /gdbus/empty-address 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/unsupported-address/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/unsupported-address/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_I94EK3/gdbus/unsupported-address/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/unsupported-address/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_I94EK3/gdbus/unsupported-address/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/unsupported-address/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/unsupported-address/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_I94EK3/gdbus/unsupported-address/.dirs/runtime 913s ok 2 /gdbus/unsupported-address 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/address-parsing/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/address-parsing/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_I94EK3/gdbus/address-parsing/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/address-parsing/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_I94EK3/gdbus/address-parsing/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/address-parsing/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/address-parsing/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_I94EK3/gdbus/address-parsing/.dirs/runtime 913s ok 3 /gdbus/address-parsing 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/unix-address/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/unix-address/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_I94EK3/gdbus/unix-address/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/unix-address/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_I94EK3/gdbus/unix-address/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/unix-address/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/unix-address/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_I94EK3/gdbus/unix-address/.dirs/runtime 913s ok 4 /gdbus/unix-address 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/nonce-tcp-address/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/nonce-tcp-address/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_I94EK3/gdbus/nonce-tcp-address/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/nonce-tcp-address/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_I94EK3/gdbus/nonce-tcp-address/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/nonce-tcp-address/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/nonce-tcp-address/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_I94EK3/gdbus/nonce-tcp-address/.dirs/runtime 913s ok 5 /gdbus/nonce-tcp-address 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/tcp-address/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/tcp-address/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_I94EK3/gdbus/tcp-address/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/tcp-address/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_I94EK3/gdbus/tcp-address/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/tcp-address/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/tcp-address/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_I94EK3/gdbus/tcp-address/.dirs/runtime 913s ok 6 /gdbus/tcp-address 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/autolaunch-address/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/autolaunch-address/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_I94EK3/gdbus/autolaunch-address/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/autolaunch-address/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_I94EK3/gdbus/autolaunch-address/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/autolaunch-address/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/autolaunch-address/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_I94EK3/gdbus/autolaunch-address/.dirs/runtime 913s ok 7 /gdbus/autolaunch-address 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/mixed-address/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/mixed-address/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_I94EK3/gdbus/mixed-address/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/mixed-address/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_I94EK3/gdbus/mixed-address/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/mixed-address/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/mixed-address/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_I94EK3/gdbus/mixed-address/.dirs/runtime 913s ok 8 /gdbus/mixed-address 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/escape-address/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/escape-address/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_I94EK3/gdbus/escape-address/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/escape-address/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_I94EK3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_I94EK3/gdbus/escape-address/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/escape-address/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_I94EK3/gdbus/escape-address/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_I94EK3/gdbus/escape-address/.dirs/runtime 913s ok 9 /gdbus/escape-address 913s # End of gdbus tests 913s TAP version 14 913s # random seed: R02S1e6253a7587a0b3d394e1eb56d978dad 913s 1..4 913s # Start of C tests 913s ok 1 /C/standard-17 913s # End of C tests 913s # Start of alignof tests 913s ok 2 /alignof/fallback 913s # End of alignof tests 913s # Start of assert tests 913s ok 3 /assert/static 913s # End of assert tests 913s # Start of struct tests 913s ok 4 /struct/sizeof_member 913s # End of struct tests 913s TAP version 14 913s # random seed: R02S78e9c603986c934ba2fa3a8a261f9bfc 913s 1..5 913s # Start of gdbus tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/.dirs/runtime 915s ok 1 /gdbus/proxy 915s # slow test /gdbus/proxy executed in 1.72 secs 915s # Start of proxy tests 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-properties/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-properties/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-properties/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-properties/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-properties/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-properties/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-properties/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-properties/.dirs/runtime 915s ok 2 /gdbus/proxy/no-properties 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/wellknown-noauto/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/wellknown-noauto/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/wellknown-noauto/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/wellknown-noauto/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/wellknown-noauto/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/wellknown-noauto/.dirs/runtime 915s ok 3 /gdbus/proxy/wellknown-noauto 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/async/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/async/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/async/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/async/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/async/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/async/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/async/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/async/.dirs/runtime 916s # Executing: glib/gdbus-proxy.test 916s ok 4 /gdbus/proxy/async 916s # slow test /gdbus/proxy/async executed in 1.72 secs 916s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-match-rule/.dirs/home 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-match-rule/.dirs/cache 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-match-rule/.dirs/system-config2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-match-rule/.dirs/config 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-match-rule/.dirs/system-data2 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-match-rule/.dirs/data 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-match-rule/.dirs/state 916s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_8ZUEK3/gdbus/proxy/no-match-rule/.dirs/runtime 916s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 916s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 918s ok 5 /gdbus/proxy/no-match-rule 918s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 918s # End of proxy tests 918s # End of gdbus tests 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s TAP version 14 918s # random seed: R02Sae2dbf0b7292a1e0d431d6f59fbd2b03 918s 1..2 918s # Start of gdbus tests 918s ok - glib/gdbus-proxy.test 918s # Running test: glib/gdbus-address-get-session.test 918s ok - glib/gdbus-address-get-session.test 918s # Running test: glib/tls-interaction.test 918s ok - glib/tls-interaction.test 918s # Running test: glib/gdbus-threading.test 918s ok - glib/gdbus-threading.test 918s # Running test: glib/gdbus-names.test 918s ok 1 /gdbus/x11-autolaunch 918s ok 2 /gdbus/xdg-runtime 918s # End of gdbus tests 918s TAP version 14 918s # random seed: R02Sc58baa9d34231f56f600cff04d44b512 918s 1..42 918s # Start of tls-interaction tests 918s # Start of ask-password tests 918s # Start of invoke-with-loop tests 918s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 918s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 918s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 918s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 918s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 918s # End of invoke-with-loop tests 918s # Start of invoke-without-loop tests 918s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 918s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 918s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 918s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 918s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 918s # End of invoke-without-loop tests 918s # Start of invoke-in-loop tests 918s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 918s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 918s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 918s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 918s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 918s # End of invoke-in-loop tests 918s # Start of sync tests 918s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 918s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 918s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 918s # End of sync tests 918s # Start of async tests 918s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 918s ok 20 /tls-interaction/ask-password/async/async-implementation-success 918s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 918s # End of async tests 918s # End of ask-password tests 918s # Start of request-certificate tests 918s # Start of invoke-with-loop tests 918s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 918s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 918s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 918s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 918s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 918s # End of invoke-with-loop tests 918s # Start of invoke-without-loop tests 918s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 918s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 918s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 918s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 918s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 918s # End of invoke-without-loop tests 918s # Start of invoke-in-loop tests 918s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 918s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 918s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 918s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 918s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 918s # End of invoke-in-loop tests 918s # Start of sync tests 918s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 918s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 918s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 918s # End of sync tests 918s # Start of async tests 918s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 918s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 918s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 918s # End of async tests 918s # End of request-certificate tests 918s # End of tls-interaction tests 918s TAP version 14 918s # random seed: R02S0a9eca1a349b80aa1fc0d8ba46de1b26 918s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 918s TAP version 14 918s # random seed: R02S6e96695aaf41077e4de5901593b146c9 918s 1..10 918s # Start of gdbus tests 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/validate-names/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/validate-names/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_X7LLK3/gdbus/validate-names/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/validate-names/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_X7LLK3/gdbus/validate-names/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/validate-names/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/validate-names/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_X7LLK3/gdbus/validate-names/.dirs/runtime 918s ok 1 /gdbus/validate-names 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-own-name/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-own-name/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-own-name/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-own-name/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-own-name/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-own-name/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-own-name/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-own-name/.dirs/runtime 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s ok 2 /gdbus/bus-own-name 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name/.dirs/runtime 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s ok 3 /gdbus/bus-watch-name 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start/.dirs/runtime 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s ok 4 /gdbus/bus-watch-name-auto-start 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 918s dbus-daemon[9376]: [session uid=1000 pid=9376 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=9367 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 918s # Acquired a message bus connection 918s dbus-daemon[9376]: [session uid=1000 pid=9376 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 918s # Acquired the name org.gtk.GDBus.FakeService 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures/.dirs/runtime 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s ok 6 /gdbus/bus-watch-name-closures 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s ok 7 /gdbus/bus-watch-name-closures-auto-start 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-different-context/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-different-context/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-different-context/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-different-context/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-different-context/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-different-context/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-different-context/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-watch-different-context/.dirs/runtime 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s ok 8 /gdbus/bus-watch-different-context 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-unwatch-early/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-unwatch-early/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-unwatch-early/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-unwatch-early/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_X7LLK3/gdbus/bus-unwatch-early/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-unwatch-early/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-unwatch-early/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_X7LLK3/gdbus/bus-unwatch-early/.dirs/runtime 918s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s ok 9 /gdbus/bus-unwatch-early 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/escape-object-path/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/escape-object-path/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_X7LLK3/gdbus/escape-object-path/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/escape-object-path/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_X7LLK3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_X7LLK3/gdbus/escape-object-path/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/escape-object-path/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_X7LLK3/gdbus/escape-object-path/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_X7LLK3/gdbus/escape-object-path/.dirs/runtime 918s ok 10 /gdbus/escape-object-path 918s # End of gdbus tests 918s TAP version 14 918s # random seed: R02Sabf5c629421d77fb8d8e40d812bb7971 918s 1..1 918s # Start of gdbus tests 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_MZV7J3/gdbus/non-socket/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_MZV7J3/gdbus/non-socket/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_MZV7J3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_MZV7J3/gdbus/non-socket/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_MZV7J3/gdbus/non-socket/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_MZV7J3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_MZV7J3/gdbus/non-socket/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_MZV7J3/gdbus/non-socket/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_MZV7J3/gdbus/non-socket/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_MZV7J3/gdbus/non-socket/.dirs/runtime 918s ok 1 /gdbus/non-socket 918s # End of gdbus tests 918s TAP version 14 918s # random seed: R02Sb6c025621480727d887909ed381b793d 918s 1..7 918s # Start of strvbuilder tests 918s ok 1 /strvbuilder/empty 918s ok 2 /strvbuilder/add 918s ok 3 /strvbuilder/addv 918s ok 4 /strvbuilder/add_many 918s ok 5 /strvbuilder/take 918s ok 6 /strvbuilder/ref 918s ok 7 /strvbuilder/unref_to_strv 918s # End of strvbuilder tests 918s TAP version 14 918s # random seed: R02Sf5ccbe322127a891897cbfe398875185 918s 1..3 918s # Start of converter tests 918s ok 1 /converter/bytes 918s ok 2 /converter/extra-bytes-at-end 918s ok 3 /converter/gzip-os-property 918s # End of converter tests 918s TAP version 14 918s # random seed: R02Sd47f8cc5f7ae40db2406e73ae02bd611 918s 1..3 918s # Start of throws tests 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_6QC7J3/throws/invoke-gerror/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_6QC7J3/throws/invoke-gerror/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_6QC7J3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_6QC7J3/throws/invoke-gerror/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_6QC7J3/throws/invoke-gerror/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_6QC7J3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_6QC7J3/throws/invoke-gerror/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_6QC7J3/throws/invoke-gerror/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_6QC7J3/throws/invoke-gerror/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_6QC7J3/throws/invoke-gerror/.dirs/runtime 918s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 918s ok - glib/gdbus-names.test 918s # Running test: glib/gdbus-non-socket.test 918s ok - glib/gdbus-non-socket.test 918s # Running test: glib/strvbuilder.test 918s ok - glib/strvbuilder.test 918s # Running test: glib/converter.test 918s ok - glib/converter.test 918s # Running test: glib/throws.test 918s ok - glib/throws.test 918s # Running test: glib/gdbus-error.test 918s ok - glib/gdbus-error.test 918s # Running test: glib/tls-certificate.test 918s ok - glib/tls-certificate.test 918s # Running test: glib/memory-input-stream.test 918s ok - glib/memory-input-stream.test 918s # Running test: glib/utf8-validate.test 918s ok - glib/utf8-validate.test 918s # Running test: glib/gdbus-peer-object-manager.test 918s ok - glib/gdbus-peer-object-manager.test 918s # Running test: glib/gdbus-introspection.test 918s ok - glib/gdbus-introspection.test 918s # Running test: glib/mainloop.test 918s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 918s ok 1 /throws/invoke-gerror 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_6QC7J3/throws/vfunc-can-throw-gerror/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_6QC7J3/throws/vfunc-can-throw-gerror/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_6QC7J3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_6QC7J3/throws/vfunc-can-throw-gerror/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_6QC7J3/throws/vfunc-can-throw-gerror/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_6QC7J3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_6QC7J3/throws/vfunc-can-throw-gerror/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_6QC7J3/throws/vfunc-can-throw-gerror/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_6QC7J3/throws/vfunc-can-throw-gerror/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_6QC7J3/throws/vfunc-can-throw-gerror/.dirs/runtime 918s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 918s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 918s ok 2 /throws/vfunc-can-throw-gerror 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_6QC7J3/throws/callback-can-throw-gerror/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_6QC7J3/throws/callback-can-throw-gerror/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_6QC7J3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_6QC7J3/throws/callback-can-throw-gerror/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_6QC7J3/throws/callback-can-throw-gerror/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_6QC7J3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_6QC7J3/throws/callback-can-throw-gerror/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_6QC7J3/throws/callback-can-throw-gerror/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_6QC7J3/throws/callback-can-throw-gerror/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_6QC7J3/throws/callback-can-throw-gerror/.dirs/runtime 918s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 918s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 918s ok 3 /throws/callback-can-throw-gerror 918s # End of throws tests 918s TAP version 14 918s # random seed: R02Sd077b4c12f80d26011f476f717fc4c72 918s 1..4 918s # Start of gdbus tests 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GV66J3/gdbus/registered-errors/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/registered-errors/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GV66J3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_GV66J3/gdbus/registered-errors/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/registered-errors/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GV66J3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_GV66J3/gdbus/registered-errors/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/registered-errors/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/registered-errors/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GV66J3/gdbus/registered-errors/.dirs/runtime 918s ok 1 /gdbus/registered-errors 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GV66J3/gdbus/unregistered-errors/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/unregistered-errors/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GV66J3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_GV66J3/gdbus/unregistered-errors/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/unregistered-errors/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GV66J3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_GV66J3/gdbus/unregistered-errors/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/unregistered-errors/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/unregistered-errors/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GV66J3/gdbus/unregistered-errors/.dirs/runtime 918s ok 2 /gdbus/unregistered-errors 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GV66J3/gdbus/transparent-gerror/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/transparent-gerror/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GV66J3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_GV66J3/gdbus/transparent-gerror/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/transparent-gerror/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GV66J3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_GV66J3/gdbus/transparent-gerror/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/transparent-gerror/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/transparent-gerror/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GV66J3/gdbus/transparent-gerror/.dirs/runtime 918s ok 3 /gdbus/transparent-gerror 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GV66J3/gdbus/register-error/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/register-error/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GV66J3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_GV66J3/gdbus/register-error/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/register-error/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GV66J3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_GV66J3/gdbus/register-error/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/register-error/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GV66J3/gdbus/register-error/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GV66J3/gdbus/register-error/.dirs/runtime 918s ok 4 /gdbus/register-error 918s # End of gdbus tests 918s TAP version 14 918s # random seed: R02S714211a9235679a2df34f20d1734e9e4 918s 1..19 918s # Start of tls-certificate tests 918s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 918s ok 1 /tls-certificate/pem-parser 918s ok 2 /tls-certificate/pem-parser-handles-chain 918s ok 3 /tls-certificate/from_file 918s ok 4 /tls-certificate/from_files 918s ok 5 /tls-certificate/from_files_crlf 918s ok 6 /tls-certificate/from_files_pkcs8 918s ok 7 /tls-certificate/from_files_pkcs8enc 918s ok 8 /tls-certificate/list_from_file 918s ok 9 /tls-certificate/pkcs11-uri 918s ok 10 /tls-certificate/pkcs11-uri-unsupported 918s ok 11 /tls-certificate/from_pkcs12 918s ok 12 /tls-certificate/from_pkcs12_file 918s ok 13 /tls-certificate/not-valid-before 918s ok 14 /tls-certificate/not-valid-after 918s ok 15 /tls-certificate/subject-name 918s ok 16 /tls-certificate/issuer-name 918s ok 17 /tls-certificate/dns-names 918s ok 18 /tls-certificate/ip-addresses 918s ok 19 /tls-certificate/pem-parser-no-sentinel 918s # End of tls-certificate tests 918s TAP version 14 918s # random seed: R02S79eabb9b4380a5f23fa8b68a867fd937 918s 1..6 918s # Start of memory-input-stream tests 918s ok 1 /memory-input-stream/read-chunks 918s ok 2 /memory-input-stream/async 918s ok 3 /memory-input-stream/seek 918s ok 4 /memory-input-stream/truncate 918s ok 5 /memory-input-stream/read-bytes 918s ok 6 /memory-input-stream/from-bytes 918s # End of memory-input-stream tests 918s TAP version 14 918s # random seed: R02S83a239f4cce79844cee46019eb316aad 918s 1..238 918s # Start of utf8 tests 918s # Vector 0 918s # Vector 1 918s # Vector 2 918s # Vector 3 918s # Vector 4 918s # Vector 5 918s # Vector 6 918s # Vector 7 918s # Vector 8 918s # Vector 9 918s # Vector 10 918s # Vector 11 918s # Vector 12 918s # Vector 13 918s # Vector 14 918s # Vector 15 918s # Vector 16 918s # Vector 17 918s # Vector 18 918s # Vector 19 918s # Vector 20 918s # Vector 21 918s # Vector 22 918s # Vector 23 918s # Vector 24 918s # Vector 25 918s # Vector 26 918s # Vector 27 918s ok 1 /utf8/get-char-validated 918s # Start of validate tests 918s ok 2 /utf8/validate/0 918s ok 3 /utf8/validate/1 918s ok 4 /utf8/validate/2 918s ok 5 /utf8/validate/3 918s ok 6 /utf8/validate/4 918s ok 7 /utf8/validate/5 918s ok 8 /utf8/validate/6 918s ok 9 /utf8/validate/7 918s ok 10 /utf8/validate/8 918s ok 11 /utf8/validate/9 918s ok 12 /utf8/validate/10 918s ok 13 /utf8/validate/11 918s ok 14 /utf8/validate/12 918s ok 15 /utf8/validate/13 918s ok 16 /utf8/validate/14 918s ok 17 /utf8/validate/15 918s ok 18 /utf8/validate/16 918s ok 19 /utf8/validate/17 918s ok 20 /utf8/validate/18 918s ok 21 /utf8/validate/19 918s ok 22 /utf8/validate/20 918s ok 23 /utf8/validate/21 918s ok 24 /utf8/validate/22 918s ok 25 /utf8/validate/23 918s ok 26 /utf8/validate/24 918s ok 27 /utf8/validate/25 918s ok 28 /utf8/validate/26 918s ok 29 /utf8/validate/27 918s ok 30 /utf8/validate/28 918s ok 31 /utf8/validate/29 918s ok 32 /utf8/validate/30 918s ok 33 /utf8/validate/31 918s ok 34 /utf8/validate/32 918s ok 35 /utf8/validate/33 918s ok 36 /utf8/validate/34 918s ok 37 /utf8/validate/35 918s ok 38 /utf8/validate/36 918s ok 39 /utf8/validate/37 918s ok 40 /utf8/validate/38 918s ok 41 /utf8/validate/39 918s ok 42 /utf8/validate/40 918s ok 43 /utf8/validate/41 918s ok 44 /utf8/validate/42 918s ok 45 /utf8/validate/43 918s ok 46 /utf8/validate/44 918s ok 47 /utf8/validate/45 918s ok 48 /utf8/validate/46 918s ok 49 /utf8/validate/47 918s ok 50 /utf8/validate/48 918s ok 51 /utf8/validate/49 918s ok 52 /utf8/validate/50 918s ok 53 /utf8/validate/51 918s ok 54 /utf8/validate/52 918s ok 55 /utf8/validate/53 918s ok 56 /utf8/validate/54 918s ok 57 /utf8/validate/55 918s ok 58 /utf8/validate/56 918s ok 59 /utf8/validate/57 918s ok 60 /utf8/validate/58 918s ok 61 /utf8/validate/59 918s ok 62 /utf8/validate/60 918s ok 63 /utf8/validate/61 918s ok 64 /utf8/validate/62 918s ok 65 /utf8/validate/63 918s ok 66 /utf8/validate/64 918s ok 67 /utf8/validate/65 918s ok 68 /utf8/validate/66 918s ok 69 /utf8/validate/67 918s ok 70 /utf8/validate/68 918s ok 71 /utf8/validate/69 918s ok 72 /utf8/validate/70 918s ok 73 /utf8/validate/71 918s ok 74 /utf8/validate/72 918s ok 75 /utf8/validate/73 918s ok 76 /utf8/validate/74 918s ok 77 /utf8/validate/75 918s ok 78 /utf8/validate/76 918s ok 79 /utf8/validate/77 918s ok 80 /utf8/validate/78 918s ok 81 /utf8/validate/79 918s ok 82 /utf8/validate/80 918s ok 83 /utf8/validate/81 918s ok 84 /utf8/validate/82 918s ok 85 /utf8/validate/83 918s ok 86 /utf8/validate/84 918s ok 87 /utf8/validate/85 918s ok 88 /utf8/validate/86 918s ok 89 /utf8/validate/87 918s ok 90 /utf8/validate/88 918s ok 91 /utf8/validate/89 918s ok 92 /utf8/validate/90 918s ok 93 /utf8/validate/91 918s ok 94 /utf8/validate/92 918s ok 95 /utf8/validate/93 918s ok 96 /utf8/validate/94 918s ok 97 /utf8/validate/95 918s ok 98 /utf8/validate/96 918s ok 99 /utf8/validate/97 918s ok 100 /utf8/validate/98 918s ok 101 /utf8/validate/99 918s ok 102 /utf8/validate/100 918s ok 103 /utf8/validate/101 918s ok 104 /utf8/validate/102 918s ok 105 /utf8/validate/103 918s ok 106 /utf8/validate/104 918s ok 107 /utf8/validate/105 918s ok 108 /utf8/validate/106 918s ok 109 /utf8/validate/107 918s ok 110 /utf8/validate/108 918s ok 111 /utf8/validate/109 918s ok 112 /utf8/validate/110 918s ok 113 /utf8/validate/111 918s ok 114 /utf8/validate/112 918s ok 115 /utf8/validate/113 918s ok 116 /utf8/validate/114 918s ok 117 /utf8/validate/115 918s ok 118 /utf8/validate/116 918s ok 119 /utf8/validate/117 918s ok 120 /utf8/validate/118 918s ok 121 /utf8/validate/119 918s ok 122 /utf8/validate/120 918s ok 123 /utf8/validate/121 918s ok 124 /utf8/validate/122 918s ok 125 /utf8/validate/123 918s ok 126 /utf8/validate/124 918s ok 127 /utf8/validate/125 918s ok 128 /utf8/validate/126 918s ok 129 /utf8/validate/127 918s ok 130 /utf8/validate/128 918s ok 131 /utf8/validate/129 918s ok 132 /utf8/validate/130 918s ok 133 /utf8/validate/131 918s ok 134 /utf8/validate/132 918s ok 135 /utf8/validate/133 918s ok 136 /utf8/validate/134 918s ok 137 /utf8/validate/135 918s ok 138 /utf8/validate/136 918s ok 139 /utf8/validate/137 918s ok 140 /utf8/validate/138 918s ok 141 /utf8/validate/139 918s ok 142 /utf8/validate/140 918s ok 143 /utf8/validate/141 918s ok 144 /utf8/validate/142 918s ok 145 /utf8/validate/143 918s ok 146 /utf8/validate/144 918s ok 147 /utf8/validate/145 918s ok 148 /utf8/validate/146 918s ok 149 /utf8/validate/147 918s ok 150 /utf8/validate/148 918s ok 151 /utf8/validate/149 918s ok 152 /utf8/validate/150 918s ok 153 /utf8/validate/151 918s ok 154 /utf8/validate/152 918s ok 155 /utf8/validate/153 918s ok 156 /utf8/validate/154 918s ok 157 /utf8/validate/155 918s ok 158 /utf8/validate/156 918s ok 159 /utf8/validate/157 918s ok 160 /utf8/validate/158 918s ok 161 /utf8/validate/159 918s ok 162 /utf8/validate/160 918s ok 163 /utf8/validate/161 918s ok 164 /utf8/validate/162 918s ok 165 /utf8/validate/163 918s ok 166 /utf8/validate/164 918s ok 167 /utf8/validate/165 918s ok 168 /utf8/validate/166 918s ok 169 /utf8/validate/167 918s ok 170 /utf8/validate/168 918s ok 171 /utf8/validate/169 918s ok 172 /utf8/validate/170 918s ok 173 /utf8/validate/171 918s ok 174 /utf8/validate/172 918s ok 175 /utf8/validate/173 918s ok 176 /utf8/validate/174 918s ok 177 /utf8/validate/175 918s ok 178 /utf8/validate/176 918s ok 179 /utf8/validate/177 918s ok 180 /utf8/validate/178 918s ok 181 /utf8/validate/179 918s ok 182 /utf8/validate/180 918s ok 183 /utf8/validate/181 918s ok 184 /utf8/validate/182 918s ok 185 /utf8/validate/183 918s ok 186 /utf8/validate/184 918s ok 187 /utf8/validate/185 918s ok 188 /utf8/validate/186 918s ok 189 /utf8/validate/187 918s ok 190 /utf8/validate/188 918s ok 191 /utf8/validate/189 918s ok 192 /utf8/validate/190 918s ok 193 /utf8/validate/191 918s ok 194 /utf8/validate/192 918s ok 195 /utf8/validate/193 918s ok 196 /utf8/validate/194 918s ok 197 /utf8/validate/195 918s ok 198 /utf8/validate/196 918s ok 199 /utf8/validate/197 918s ok 200 /utf8/validate/198 918s ok 201 /utf8/validate/199 918s ok 202 /utf8/validate/200 918s ok 203 /utf8/validate/201 918s ok 204 /utf8/validate/202 918s ok 205 /utf8/validate/203 918s ok 206 /utf8/validate/204 918s ok 207 /utf8/validate/205 918s ok 208 /utf8/validate/206 918s ok 209 /utf8/validate/207 918s ok 210 /utf8/validate/208 918s ok 211 /utf8/validate/209 918s ok 212 /utf8/validate/210 918s ok 213 /utf8/validate/211 918s ok 214 /utf8/validate/212 918s ok 215 /utf8/validate/213 918s ok 216 /utf8/validate/214 918s ok 217 /utf8/validate/215 918s ok 218 /utf8/validate/216 918s ok 219 /utf8/validate/217 918s ok 220 /utf8/validate/218 918s ok 221 /utf8/validate/219 918s ok 222 /utf8/validate/220 918s ok 223 /utf8/validate/221 918s ok 224 /utf8/validate/222 918s ok 225 /utf8/validate/223 918s ok 226 /utf8/validate/224 918s ok 227 /utf8/validate/225 918s ok 228 /utf8/validate/226 918s ok 229 /utf8/validate/227 918s ok 230 /utf8/validate/228 918s ok 231 /utf8/validate/229 918s ok 232 /utf8/validate/230 918s ok 233 /utf8/validate/231 918s ok 234 /utf8/validate/232 918s ok 235 /utf8/validate/233 918s ok 236 /utf8/validate/234 918s ok 237 /utf8/validate/235 918s ok 238 /utf8/validate/236 918s # End of validate tests 918s # End of utf8 tests 918s TAP version 14 918s # random seed: R02Sb596d5672b69f14cb44d39a96c609626 918s 1..2 918s # Start of gdbus tests 918s # Start of peer-object-manager tests 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/normal/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/normal/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/normal/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/normal/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/normal/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/normal/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/normal/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/normal/.dirs/runtime 918s ok 1 /gdbus/peer-object-manager/normal 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/root/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/root/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/root/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/root/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/root/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/root/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/root/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_YIL6J3/gdbus/peer-object-manager/root/.dirs/runtime 918s ok 2 /gdbus/peer-object-manager/root 918s # End of peer-object-manager tests 918s # End of gdbus tests 918s TAP version 14 918s # random seed: R02Sad9fc563ee977cd3e995d5641271b9dd 918s 1..4 918s # Start of gdbus tests 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-parser/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-parser/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-parser/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-parser/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-parser/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-parser/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-parser/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-parser/.dirs/runtime 918s ok 1 /gdbus/introspection-parser 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-generate/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-generate/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-generate/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-generate/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-generate/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-generate/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-generate/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-generate/.dirs/runtime 918s ok 2 /gdbus/introspection-generate 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-default-direction/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-default-direction/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-default-direction/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-default-direction/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-default-direction/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-default-direction/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-default-direction/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-default-direction/.dirs/runtime 918s ok 3 /gdbus/introspection-default-direction 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-extra-data/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-extra-data/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-extra-data/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-extra-data/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-extra-data/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-extra-data/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-extra-data/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_9BE6J3/gdbus/introspection-extra-data/.dirs/runtime 918s ok 4 /gdbus/introspection-extra-data 918s # End of gdbus tests 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 918s TAP version 14 918s # random seed: R02S78390d99efe94f416bf40ef98646f351 918s 1..47 918s # Start of maincontext tests 918s ok 1 /maincontext/basic 918s # Add same-priority sources: 18 918s # Find each source: 4 918s # Remove in random order: 39 918s ok 2 /maincontext/nsources_same_priority 918s # Add different-priority sources: 22 918s # Find each source: 4 918s # Remove in random order: 44 918s ok 3 /maincontext/nsources_different_priority 919s # Add sources from threads: 269 919s # Remove sources from threads: 78 919s ok 4 /maincontext/nsources_threadpool 919s ok 5 /maincontext/source_finalization 919s # /maincontext/idle-once summary: Test g_idle_add_once() works 919s ok 6 /maincontext/idle-once 919s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 919s ok 7 /maincontext/timeout-once 919s # /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. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 919s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 919s # Start of source_finalization_from_source tests 919s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 919s ok 9 /maincontext/source_finalization_from_source/0 919s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 919s ok 10 /maincontext/source_finalization_from_source/1 919s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 919s ok 11 /maincontext/source_finalization_from_source/2 919s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 919s ok 12 /maincontext/source_finalization_from_source/3 919s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 919s ok 13 /maincontext/source_finalization_from_source/4 919s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 919s ok 14 /maincontext/source_finalization_from_source/5 919s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 919s ok 15 /maincontext/source_finalization_from_source/6 919s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 919s ok 16 /maincontext/source_finalization_from_source/7 919s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 919s ok 17 /maincontext/source_finalization_from_source/8 919s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 919s ok 18 /maincontext/source_finalization_from_source/9 919s # End of source_finalization_from_source tests 919s # Start of source_finalization_from_dispatch tests 919s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 919s ok 19 /maincontext/source_finalization_from_dispatch/0 919s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 919s ok 20 /maincontext/source_finalization_from_dispatch/1 919s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 919s ok 21 /maincontext/source_finalization_from_dispatch/2 919s # End of source_finalization_from_dispatch tests 919s # End of maincontext tests 919s # Start of mainloop tests 919s ok 22 /mainloop/basic 919s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 919s ok 24 /mainloop/priorities 919s ok 25 /mainloop/invoke 919s # slow test /mainloop/invoke executed in 0.50 secs 920s ok 26 /mainloop/child_sources 920s # slow test /mainloop/child_sources executed in 1.21 secs 921s # Executing: glib/mainloop.test 923s ok 27 /mainloop/recursive_child_sources 923s # slow test /mainloop/recursive_child_sources executed in 2.19 secs 923s ok 28 /mainloop/recursive_loop_child_sources 923s ok 29 /mainloop/swapping_child_sources 923s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 923s ok 30 /mainloop/blocked_child_sources 924s ok 31 /mainloop/source_time 924s # slow test /mainloop/source_time executed in 1.00 secs 924s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 924s ok 32 /mainloop/overflow 925s ok 33 /mainloop/ready-time 925s # slow test /mainloop/ready-time executed in 0.50 secs 925s ok 34 /mainloop/wakeup 925s ok 35 /mainloop/remove-invalid 925s ok 36 /mainloop/unref-while-pending 925s ok 37 /mainloop/unix-fd 925s # slow test /mainloop/unix-fd executed in 0.59 secs 925s ok 38 /mainloop/unix-fd-source 925s ok 39 /mainloop/source-unix-fd-api 925s ok 40 /mainloop/wait 925s ok 41 /mainloop/unix-file-poll 925s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 925s ok 42 /mainloop/unix-fd-priority 925s ok 43 /mainloop/nfds 925s ok 44 /mainloop/steal-fd 926s # Executing: glib/mainloop.test 927s ok 45 /mainloop/simultaneous-source-context-destruction 927s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.49 secs 927s # Start of ownerless-polling tests 927s ok 46 /mainloop/ownerless-polling/attach-first 927s ok 47 /mainloop/ownerless-polling/pop-first 927s # End of ownerless-polling tests 927s # End of mainloop tests 927s ok - glib/mainloop.test 927s # Running test: glib/cancellable.test 927s TAP version 14 927s # random seed: R02S519e68197abdba267a8e347c1b1693b8 927s 1..18 927s # Start of cancellable tests 927s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 927s ok 2 /cancellable/null 927s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 927s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 927s ok 4 /cancellable/connect-to-disposing-callback 927s ok 5 /cancellable/connect-cancelled-data-is-destroyed 927s # Toggle reference callback for GCancellable (0xbbc59a8e2c10), last: 1 927s # Toggle reference callback for GCancellable (0xbbc59a8e2c10), last: 0 927s # Toggle reference callback for GCancellable (0xbbc59a8e2c10), last: 1 927s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 927s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 927s ok 7 /cancellable/connect-cancelled-to-disposing-callback 927s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 927s # Toggle reference callback for GCancellable (0xbbc59a8e2c10), last: 1 927s # Toggle reference callback for GCancellable (0xbbc59a8e2c10), last: 0 927s # Toggle reference callback for GCancellable (0xbbc59a8e2c10), last: 1 927s # Toggle reference callback for GCancellable (0xbbc59a8e2c10), last: 0 927s # Toggle reference callback for GCancellable (0xbbc59a8e2c10), last: 1 927s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 927s # /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 927s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 927s # /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 927s ok 11 /cancellable/resets-on-cancel-callback-hangs 927s ok 12 /cancellable/poll-fd 927s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 927s ok 13 /cancellable/poll-fd-cancelled 927s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 927s ok 14 /cancellable/poll-fd-cancelled-threaded 927s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 927s ok 15 /cancellable/cancel-reset-races 927s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 927s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 927s # End of cancellable tests 927s # Start of cancellable-source tests 927s # /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) 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 927s ok 17 /cancellable-source/threaded-dispose 927s # slow test /cancellable-source/threaded-dispose executed in 0.66 secs 927s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 927s ok 18 /cancellable-source/can-be-fired-multiple-times 927s # End of cancellable-source tests 928s ok - glib/cancellable.test 928s # Running test: glib/uri.test 928s TAP version 14 928s # random seed: R02S369708ef895f3beaf52f75c7b1d95f85 928s 1..24 928s # Start of uri tests 928s ok 1 /uri/file-to-uri 928s ok 2 /uri/file-from-uri 928s ok 3 /uri/file-roundtrip 928s ok 4 /uri/list 928s # Test 0: %2Babc %4F 928s # Test 1: %2Babc %4F 928s # Test 2: %00abc %4F 928s # Test 3: /cursors/none.png 928s # Test 4: /cursors%2fbad-subdir/none.png 928s # Test 5: %0 928s # Test 6: %ra 928s # Test 7: %2r 928s # Test 8: Timm Bäder 928s # Test 9: (null) 928s ok 5 /uri/unescape-string 928s ok 6 /uri/unescape-segment 928s # Test 0: abcdefgABCDEFG._~ 928s # Test 1: :+ \\?# 928s # Test 2: a+b:c 928s # Test 3: a+b:c\303\234 928s # Test 4: \374;\322 928s # Test 5: \303\261\303( 928s ok 7 /uri/escape-string 928s ok 8 /uri/escape-bytes 928s ok 9 /uri/scheme 928s ok 10 /uri/build 928s ok 11 /uri/split 928s ok 12 /uri/is_valid 928s ok 13 /uri/to-string 928s ok 14 /uri/join 928s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 928s # Combination 0 928s # Combination 1 928s # Combination 2 928s # Combination 3 928s # Combination 4 928s # Combination 5 928s # Combination 6 928s # Combination 7 928s # Combination 8 928s # Combination 9 928s # Combination 10 928s # Combination 11 928s # Combination 12 928s # Combination 13 928s # Combination 14 928s # Combination 15 928s # Combination 16 928s # Combination 17 928s # Combination 18 928s # Combination 19 928s # Combination 20 928s # Combination 21 928s # Combination 22 928s ok - glib/uri.test 928s # Running test: glib/spawn-multithreaded.test 928s # Combination 23 928s # Combination 24 928s # Combination 25 928s # Combination 26 928s # Combination 27 928s # Combination 28 928s # Combination 29 928s # Combination 30 928s # Combination 31 928s # Combination 32 928s # Combination 33 928s # Combination 34 928s # Combination 35 928s # Combination 36 928s # Combination 37 928s # Combination 38 928s # Combination 39 928s # Combination 40 928s # Combination 41 928s # Combination 42 928s # Combination 43 928s # Combination 44 928s # Combination 45 928s # Combination 46 928s # Combination 47 928s # Combination 48 928s # Combination 49 928s # Combination 50 928s # Combination 51 928s # Combination 52 928s # Combination 53 928s # Combination 54 928s # Combination 55 928s # Combination 56 928s # Combination 57 928s # Combination 58 928s # Combination 59 928s # Combination 60 928s # Combination 61 928s # Combination 62 928s # Combination 63 928s # Combination 64 928s # Combination 65 928s # Combination 66 928s # Combination 67 928s # Combination 68 928s # Combination 69 928s # Combination 70 928s # Combination 71 928s # Combination 72 928s # Combination 73 928s # Combination 74 928s # Combination 75 928s # Combination 76 928s # Combination 77 928s # Combination 78 928s # Combination 79 928s # Combination 80 928s # Combination 81 928s # Combination 82 928s # Combination 83 928s # Combination 84 928s # Combination 85 928s # Combination 86 928s # Combination 87 928s # Combination 88 928s # Combination 89 928s # Combination 90 928s # Combination 91 928s # Combination 92 928s # Combination 93 928s # Combination 94 928s # Combination 95 928s # Combination 96 928s # Combination 97 928s # Combination 98 928s # Combination 99 928s # Combination 100 928s # Combination 101 928s # Combination 102 928s # Combination 103 928s # Combination 104 928s # Combination 105 928s # Combination 106 928s # Combination 107 928s # Combination 108 928s # Combination 109 928s # Combination 110 928s # Combination 111 928s # Combination 112 928s # Combination 113 928s # Combination 114 928s # Combination 115 928s # Combination 116 928s # Combination 117 928s # Combination 118 928s # Combination 119 928s # Combination 120 928s # Combination 121 928s # Combination 122 928s # Combination 123 928s # Combination 124 928s # Combination 125 928s # Combination 126 928s # Combination 127 928s # Combination 128 928s # Combination 129 928s # Combination 130 928s # Combination 131 928s # Combination 132 928s # Combination 133 928s # Combination 134 928s # Combination 135 928s # Combination 136 928s # Combination 137 928s # Combination 138 928s # Combination 139 928s # Combination 140 928s # Combination 141 928s # Combination 142 928s # Combination 143 928s # Combination 144 928s # Combination 145 928s # Combination 146 928s # Combination 147 928s # Combination 148 928s # Combination 149 928s # Combination 150 928s # Combination 151 928s # Combination 152 928s # Combination 153 928s # Combination 154 928s # Combination 155 928s # Combination 156 928s # Combination 157 928s # Combination 158 928s # Combination 159 928s # Combination 160 928s # Combination 161 928s # Combination 162 928s # Combination 163 928s # Combination 164 928s # Combination 165 928s # Combination 166 928s # Combination 167 928s # Combination 168 928s # Combination 169 928s # Combination 170 928s # Combination 171 928s # Combination 172 928s # Combination 173 928s # Combination 174 928s # Combination 175 928s # Combination 176 928s # Combination 177 928s # Combination 178 928s # Combination 179 928s # Combination 180 928s # Combination 181 928s # Combination 182 928s # Combination 183 928s # Combination 184 928s # Combination 185 928s # Combination 186 928s # Combination 187 928s # Combination 188 928s # Combination 189 928s # Combination 190 928s # Combination 191 928s # Combination 192 928s # Combination 193 928s # Combination 194 928s # Combination 195 928s # Combination 196 928s # Combination 197 928s # Combination 198 928s # Combination 199 928s # Combination 200 928s # Combination 201 928s # Combination 202 928s # Combination 203 928s # Combination 204 928s # Combination 205 928s # Combination 206 928s # Combination 207 928s # Combination 208 928s # Combination 209 928s # Combination 210 928s # Combination 211 928s # Combination 212 928s # Combination 213 928s # Combination 214 928s # Combination 215 928s # Combination 216 928s # Combination 217 928s # Combination 218 928s # Combination 219 928s # Combination 220 928s # Combination 221 928s # Combination 222 928s # Combination 223 928s # Combination 224 928s # Combination 225 928s # Combination 226 928s # Combination 227 928s # Combination 228 928s # Combination 229 928s # Combination 230 928s # Combination 231 928s # Combination 232 928s # Combination 233 928s # Combination 234 928s # Combination 235 928s # Combination 236 928s # Combination 237 928s # Combination 238 928s # Combination 239 928s # Combination 240 928s # Combination 241 928s # Combination 242 928s # Combination 243 928s # Combination 244 928s # Combination 245 928s # Combination 246 928s # Combination 247 928s # Combination 248 928s # Combination 249 928s # Combination 250 928s # Combination 251 928s # Combination 252 928s # Combination 253 928s # Combination 254 928s # Combination 255 928s ok 15 /uri/join-split-round-trip 928s ok 16 /uri/normalize 928s # Start of unescape-bytes tests 928s # Test 0: %00%00 928s # Test 1: /cursors/none.png 928s # Test 2: /cursors%2fbad-subdir/none.png 928s # Test 3: %% 928s # Test 4: % 928s ok 17 /uri/unescape-bytes/nul-terminated 928s # Test 0: %00%00 928s # Test 1: /cursors/none.png 928s # Test 2: /cursors%2fbad-subdir/none.png 928s # Test 3: %% 928s # Test 4: % 928s ok 18 /uri/unescape-bytes/length 928s # End of unescape-bytes tests 928s # Start of parsing tests 928s # Test 0: foo: 928s # Test 1: file:/dev/null 928s # Test 2: file:///dev/null 928s # Test 3: ftp://user@host/path 928s # Test 4: ftp://user@host:9999/path 928s # Test 5: ftp://user:password@host/path 928s # Test 6: ftp://user:password@host:9999/path 928s # Test 7: ftp://user:password@host 928s # Test 8: http://us%65r@host 928s # Test 9: http://us%40r@host 928s # Test 10: http://us%3ar@host 928s # Test 11: http://us%2fr@host 928s # Test 12: http://us%3fr@host 928s # Test 13: http://host?query 928s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 928s # 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 928s # Test 16: http://space/%20 928s # Test 17: http://delims/%3C%3E%23%25%22 928s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 928s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 928s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 928s # Test 21: http://[3ffe:2a00:100:7031::1] 928s # Test 22: http://[1080::8:800:200C:417A]/foo 928s # Test 23: http://[::192.9.5.5]/ipng 928s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 928s # Test 25: http://[2010:836B:4179::836B:4179] 928s # Test 26: http://host/path with spaces 928s # Test 27: http://host/path 928s # Test 28: http://host/path 928s # Test 29: http://host 928s # Test 30: http://host:999 928s # Test 31: http://host/pa 928s # th 928s # Test 32: http: 928s # //host/path 928s # Test 33: http:// host/path 928s # Test 34: http://host/path? 928s # Test 35: http://host/path# 928s # Test 36: http://host/path% 928s # Test 37: http://h%ost/path 928s # Test 38: http://host/path%% 928s # Test 39: http://host/path%%% 928s # Test 40: http://host/path%/x/ 928s # Test 41: http://host/path%0x/ 928s # Test 42: http://host/path%ax 928s # Test 43: http://host/päth/ 928s # Test 44: HTTP://////////////// 928s # Test 45: http://@host 928s # Test 46: http://:@host 928s # Test 47: scheme://foo%3Abar._webdav._tcp.local 928s # Test 48: http://example.com/.. 928s # Test 49: foo0://host/path 928s # Test 50: f0.o://host/path 928s # Test 51: http++://host/path 928s # Test 52: http-ish://host/path 928s # Test 53: http://[fe80::dead:beef%]/ 928s # Test 54: http://[fe80::dead:beef%em1]/ 928s # Test 55: http://[fe80::dead:beef%em1]/ 928s # Test 56: http://[fe80::dead:beef%25em1]/ 928s # Test 57: http://[fe80::dead:beef%25em1%20]/ 928s # Test 58: http://[fe80::dead:beef%25em%31]/ 928s # Test 59: http://[fe80::dead:beef%10]/ 928s # Test 60: http://[fe80::dead:beef%10]/ 928s # Test 61: http://[fe80::dead:beef%25]/ 928s # Test 62: http://[fe80::dead:beef%25]/ 928s # Test 63: http://[192.168.0.1%25em1]/ 928s # Test 64: http://[fe80::dead:beef%2em1]/ 928s # Test 65: http://[fe80::dead:beef%2em1]/ 928s # Test 66: http://[fe80::dead:beef%25em1%00]/ 928s # Test 67: http://[fe80::dead:beef%25em1%00]/ 928s # Test 68: http://xn--mixed-üp/ 928s # Test 69: data:./// 928s # Test 70: data:/.// 928s ok 19 /uri/parsing/absolute 928s ok 20 /uri/parsing/relative 928s # End of parsing tests 928s # Start of iter-params tests 928s # URI 0: p1=foo&p2=bar;p3=baz 928s # URI 1: p1=foo&p2=bar 928s # URI 2: p1=foo&&P1=bar 928s # URI 3: %00=foo 928s # URI 4: p1=%00 928s # URI 5: p1=foo&p1=bar 928s # URI 6: p1=foo&P1=bar 928s # URI 7: =% 928s # URI 8: = 928s # URI 9: foo 928s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 928s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 928s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 928s ok 21 /uri/iter-params/nul-terminated 928s # URI 0: p1=foo&p2=bar;p3=baz 928s # URI 1: p1=foo&p2=bar 928s # URI 2: p1=foo&&P1=bar 928s # URI 3: %00=foo 928s # URI 4: p1=%00 928s # URI 5: p1=foo&p1=bar 928s # URI 6: p1=foo&P1=bar 928s # URI 7: =% 928s # URI 8: = 928s # URI 9: foo 928s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 928s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 928s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 928s ok 22 /uri/iter-params/length 928s # End of iter-params tests 928s # Start of parse-params tests 928s # URI 0: p1=foo&p2=bar;p3=baz 928s # URI 1: p1=foo&p2=bar 928s # URI 2: p1=foo&&P1=bar 928s # URI 3: %00=foo 928s # URI 4: p1=%00 928s # URI 5: p1=foo&p1=bar 928s # URI 6: p1=foo&P1=bar 928s # URI 7: =% 928s # URI 8: = 928s # URI 9: foo 928s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 928s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 928s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 928s ok 23 /uri/parse-params/nul-terminated 928s # URI 0: p1=foo&p2=bar;p3=baz 928s # URI 1: p1=foo&p2=bar 928s # URI 2: p1=foo&&P1=bar 928s # URI 3: %00=foo 928s # URI 4: p1=%00 928s # URI 5: p1=foo&p1=bar 928s # URI 6: p1=foo&P1=bar 928s # URI 7: =% 928s # URI 8: = 928s # URI 9: foo 928s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 928s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 928s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 928s ok 24 /uri/parse-params/length 928s # End of parse-params tests 928s # End of uri tests 928s TAP version 14 928s # random seed: R02Sa75c74db651133c22dc62944774f5d8c 928s 1..4 928s # Start of gthread tests 929s # Child 33501 (ttl 1) exited, status 0 930s # Child 33502 (ttl 2) exited, status 0 930s ok 1 /gthread/spawn-childs 930s # slow test /gthread/spawn-childs executed in 2.00 secs 930s # Created pid: 33506 (ttl 2) 930s # Created pid: 33507 (ttl 1) 931s # Child 33507 (ttl 1) exited, status 0 931s # Executing: glib/spawn-multithreaded.test 932s # Child 33506 (ttl 2) exited, status 0 932s ok 2 /gthread/spawn-childs-threads 932s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 932s ok 3 /gthread/spawn-sync 932s ok - glib/spawn-multithreaded.test 932s ok 4 /gthread/spawn-async 932s # End of gthread tests 932s # Running test: glib/overflow-fallback.test 932s TAP version 14 932s # random seed: R02S4e9c728fc48371368f68f4c18a4dbde0 932s 1..6 932s # Start of glib tests 932s # Start of checked-math tests 932s ok 1 /glib/checked-math/guint-add 932s ok 2 /glib/checked-math/guint-mul 932s ok 3 /glib/checked-math/guint64-add 932s ok 4 /glib/checked-math/guint64-mul 932s ok 5 /glib/checked-math/gsize-add 932s ok 6 /glib/checked-math/gsize-mul 932s # End of checked-math tests 932s # End of glib tests 932s ok - glib/overflow-fallback.test 932s # Running test: glib/memory-monitor-psi.test 932s TAP version 14 932s # random seed: R02S2a7f05c2f1bd8c58664dff8946ea1d27 932s 1..1 932s # Start of memory-monitor-psi tests 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_GN1JK3/memory-monitor-psi/receive-signal/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_GN1JK3/memory-monitor-psi/receive-signal/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_GN1JK3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_GN1JK3/memory-monitor-psi/receive-signal/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_GN1JK3/memory-monitor-psi/receive-signal/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_GN1JK3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_GN1JK3/memory-monitor-psi/receive-signal/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_GN1JK3/memory-monitor-psi/receive-signal/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_GN1JK3/memory-monitor-psi/receive-signal/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_GN1JK3/memory-monitor-psi/receive-signal/.dirs/runtime 932s ok - glib/memory-monitor-psi.test 932s # Running test: glib/signals-refcount1.test 932s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 932s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 932s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 932s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 932s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 932s ok 1 /memory-monitor-psi/receive-signal 932s # End of memory-monitor-psi tests 932s TAP version 14 932s # random seed: R02Sb1981f51b27273fdd3fd812ccb766b1e 932s 1..1 932s # Start of gobject tests 932s # Start of refcount tests 932s # init 0xb5605215d4b0 932s # 932s # init 0xb56052155580 932s # 936s # Executing: glib/signals-refcount1.test 937s ok - glib/signals-refcount1.test 937s # Running test: glib/io-stream.test 937s # dispose 0xb5605215d4b0! 937s # 937s # dispose 0xb56052155580! 937s # 937s ok 1 /gobject/refcount/signals 937s # slow test /gobject/refcount/signals executed in 5.00 secs 937s # End of refcount tests 937s # End of gobject tests 937s TAP version 14 937s # random seed: R02S303b9e7e3ebfece7687566e377a55f4e 937s 1..3 937s # Start of io-stream tests 937s ok 1 /io-stream/copy-chunks 937s # Start of close tests 937s # Start of async tests 937s ok 2 /io-stream/close/async/memory 937s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 937s ok 3 /io-stream/close/async/file 937s # End of async tests 937s # End of close tests 937s # End of io-stream tests 937s ok - glib/io-stream.test 937s # Running test: glib/hook.test 937s TAP version 14 937s # random seed: R02Sa5e4a933a8b1e158849b8a4929ab618a 937s 1..2 937s # Start of hook tests 937s ok 1 /hook/basics 937s ok 2 /hook/corner-cases 937s # End of hook tests 937s ok - glib/hook.test 937s # Running test: glib/gsocketclient-slow.test 937s TAP version 14 937s # random seed: R02S21363b180595172a5d5ecbcd3df8018b 937s 1..4 937s # Start of socket-client tests 937s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 937s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 937s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc589fe9328c0 and GSocketClientAsyncConnectData 0xc589fe92d530 937s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 937s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 937s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc589fe936560 for GSocketClientAsyncConnectData 0xc589fe92d530 937s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 937s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 937s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 937s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 937s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 937s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 937s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc589fe936560 for GSocketClientAsyncConnectData 0xc589fe92d530 937s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 938s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 938s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 938s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 938s ok 1 /socket-client/connection-fail 938s # slow test /socket-client/connection-fail executed in 1.20 secs 938s # Start of happy-eyeballs tests 938s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc589fe935130 and GSocketClientAsyncConnectData 0xc589fe936090 938s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 938s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 938s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc589fe939370 for GSocketClientAsyncConnectData 0xc589fe936090 938s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 940s ok - glib/gsocketclient-slow.test 940s # Running test: glib/unix-mounts.test 940s ok - glib/unix-mounts.test 940s # Running test: glib/sequence.test 940s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 940s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 940s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 940s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 940s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 940s ok 2 /socket-client/happy-eyeballs/slow 940s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 940s # Start of cancellation tests 940s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc589fe935d70 and GSocketClientAsyncConnectData 0xc589fe939610 940s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 940s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 940s ok 3 /socket-client/happy-eyeballs/cancellation/instant 940s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc589fe935050 and GSocketClientAsyncConnectData 0xc589fe939150 940s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 940s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 940s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc589fe939bd0 for GSocketClientAsyncConnectData 0xc589fe939150 940s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 940s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 940s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 940s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 940s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 940s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 940s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 940s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 940s # End of cancellation tests 940s # End of happy-eyeballs tests 940s # End of socket-client tests 940s TAP version 14 940s # random seed: R02S53d4e0c5ce2bb1e3f3ceacd7d83d84bf 940s 1..4 940s # Start of unix-mounts tests 940s ok 1 /unix-mounts/is-system-fs-type 940s ok 2 /unix-mounts/is-system-device-path 940s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 940s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 940s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 940s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 940s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 940s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 940s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 940s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 940s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 940s ok 3 /unix-mounts/get-mount-points 940s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 940s ok 4 /unix-mounts/get-mount-entries 940s # End of unix-mounts tests 940s TAP version 14 940s # random seed: R02S7666a09e3ac2dd28ec63251ab2ba22b9 940s 1..16 940s # Start of sequence tests 940s ok 1 /sequence/out-of-range-jump 940s ok 2 /sequence/iter-move 940s ok 3 /sequence/insert-sorted-non-pointer 940s ok 4 /sequence/stable-sort 940s ok 5 /sequence/is_empty 940s # Start of random tests 940s ok 6 /sequence/random/seed:825541564 940s # slow test /sequence/random/seed:825541564 executed in 0.56 secs 940s ok 7 /sequence/random/seed:801678400 940s # slow test /sequence/random/seed:801678400 executed in 0.53 secs 941s # Executing: glib/sequence.test 941s ok 8 /sequence/random/seed:1477639090 941s # slow test /sequence/random/seed:1477639090 executed in 0.55 secs 941s ok 9 /sequence/random/seed:3369132895 941s # slow test /sequence/random/seed:3369132895 executed in 0.50 secs 942s ok 10 /sequence/random/seed:1192944867 942s # slow test /sequence/random/seed:1192944867 executed in 0.53 secs 942s ok 11 /sequence/random/seed:770458294 942s # slow test /sequence/random/seed:770458294 executed in 0.55 secs 943s ok 12 /sequence/random/seed:1099575817 943s # slow test /sequence/random/seed:1099575817 executed in 0.53 secs 943s ok 13 /sequence/random/seed:590523467 943s # slow test /sequence/random/seed:590523467 executed in 0.55 secs 944s ok 14 /sequence/random/seed:3583571454 944s # slow test /sequence/random/seed:3583571454 executed in 0.55 secs 945s ok 15 /sequence/random/seed:579241222 945s # slow test /sequence/random/seed:579241222 executed in 0.55 secs 945s ok 16 /sequence/random/seed:863494213 945s # slow test /sequence/random/seed:863494213 executed in 0.55 secs 945s # End of random tests 945s # End of sequence tests 945s ok - glib/sequence.test 945s # Running test: glib/unix-streams.test 945s TAP version 14 945s # random seed: R02S6617052d54567bf5d81d94ecfd450ae4 945s 1..9 945s # Start of unix-streams tests 945s ok 1 /unix-streams/basic 946s # Executing: glib/unix-streams.test 946s ok 2 /unix-streams/pipe-io-test 946s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 946s ok 3 /unix-streams/nonblocking-io-test 946s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 946s ok 4 /unix-streams/read_write 946s ok 5 /unix-streams/read_writev 946s ok 6 /unix-streams/write-wouldblock 946s ok 7 /unix-streams/writev-wouldblock 946s ok 8 /unix-streams/write-async-wouldblock 946s ok 9 /unix-streams/writev-async-wouldblock 946s # End of unix-streams tests 946s ok - glib/unix-streams.test 946s # Running test: glib/portal-support-snap-classic.test 946s TAP version 14 946s # random seed: R02Sc87fd118162f1e8960a19c6d851419bd 946s 1..3 946s # Start of portal-support tests 946s # Start of snap-classic tests 946s ok - glib/portal-support-snap-classic.test 946s # Running test: glib/dynamictests.test 946s ok - glib/dynamictests.test 946s # Running test: glib/markup-subparser.test 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl/.dirs/runtime 946s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/no-snapctl: No such file or directory 946s ok 1 /portal-support/snap-classic/no-snapctl 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/runtime 946s # Created snap.yaml in /tmp/test_portal-support-snap-classic_9N06J3/meta/snap.yaml 946s # Created snapctl in /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none/.dirs/runtime/snapctl 946s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/none: No such file or directory 946s ok 2 /portal-support/snap-classic/none 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/runtime 946s # Created snap.yaml in /tmp/test_portal-support-snap-classic_9N06J3/meta/snap.yaml 946s # Created snapctl in /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all/.dirs/runtime/snapctl 946s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_9N06J3/portal-support/snap-classic/all: No such file or directory 946s ok 3 /portal-support/snap-classic/all 946s # End of snap-classic tests 946s # End of portal-support tests 946s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_9N06J3: No such file or directory 946s TAP version 14 946s # random seed: R02S943f22b94295f5065bcb9a4581d88078 946s 1..2 946s # Start of GObject tests 946s ok 1 /GObject/threaded-dynamic-ref-unref-init 946s ok 2 /GObject/dynamic-interface-properties 946s # End of GObject tests 946s ok - glib/markup-subparser.test 946s TAP version 14 946s # random seed: R02S43e2c40bc92aaf6d4ba9906267a02998 946s 1..14 946s # Start of glib tests 946s # Start of markup tests 946s # Start of subparser tests 946s # Start of success tests 946s ok 1 /glib/markup/subparser/success/0 946s ok 2 /glib/markup/subparser/success/1 946s ok 3 /glib/markup/subparser/success/2 946s ok 4 /glib/markup/subparser/success/3 946s ok 5 /glib/markup/subparser/success/4 946s ok 6 /glib/markup/subparser/success/5 946s ok 7 /glib/markup/subparser/success/6 946s # End of success tests 946s # Start of failure tests 946s ok 8 /glib/markup/subparser/failure/0 946s ok 9 /glib/markup/subparser/failure/1 946s ok 10 /glib/markup/subparser/failure/2 946s ok 11 /glib/markup/subparser/failure/3 946s ok 12 /glib/markup/subparser/failure/4 946s ok 13 /glib/markup/subparser/failure/5 946s ok 14 /glib/markup/subparser/failure/6 946s # End of failure tests 946s # End of subparser tests 946s # End of markup tests 946s # End of glib tests 946s # Running test: glib/tls-bindings.test 946s TAP version 14 946s # random seed: R02S9045460a634f09af7fb78243d1d6b6ee 946s 1..2 946s # Start of tls-connection tests 946s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 946s ok 1 /tls-connection/get-tls-channel-binding 946s ok 2 /tls-connection/get-dtls-channel-binding 946s # End of tls-connection tests 946s ok - glib/tls-bindings.test 946s # Running test: glib/protocol.test 946s TAP version 14 946s # random seed: R02S7b4ac4b941dd5e703129009c0339a51c 946s 1..9 946s # Start of glib tests 946s # Start of testing tests 946s # Start of protocol tests 946s ok 1 /glib/testing/protocol/debug 946s ok 2 /glib/testing/protocol/info 946s ok - glib/protocol.test 946s # Running test: glib/type.test 946s ok - glib/type.test 946s # Running test: glib/bytes.test 946s ok - glib/bytes.test 946s # Running test: glib/tls-database.test 946s ok 3 /glib/testing/protocol/message 946s ok 4 /glib/testing/protocol/warning 946s ok 5 /glib/testing/protocol/critical 946s ok 6 /glib/testing/protocol/error 946s ok 7 /glib/testing/protocol/gtest-message 946s ok 8 /glib/testing/protocol/test-message 946s ok 9 /glib/testing/protocol/test-error 946s # End of protocol tests 946s # End of testing tests 946s # End of glib tests 946s TAP version 14 946s # random seed: R02S6b8da10cf62f96ea056ed1e951bb2196 946s 1..6 946s # Start of type tests 946s ok 1 /type/registration-serial 946s ok 2 /type/interface-prerequisite 946s ok 3 /type/interface-check 946s ok 4 /type/next-base 946s ok 5 /type/is-a 946s # Invalid types can’t be queried. 946s # Unclassed types can’t be queried. 946s ok 6 /type/query 946s # End of type tests 946s TAP version 14 946s # random seed: R02Sbebe550910a5f38f81e66955fee6e243 946s 1..21 946s # Start of bytes tests 946s ok 1 /bytes/new 946s ok 2 /bytes/new-take 946s ok 3 /bytes/new-static 946s ok 4 /bytes/new-with-free-func 946s ok 5 /bytes/new-from-bytes 946s ok 6 /bytes/new-from-bytes-slice 946s ok 7 /bytes/new-from-bytes-shared-ref 946s ok 8 /bytes/hash 946s ok 9 /bytes/equal 946s ok 10 /bytes/compare 946s ok 11 /bytes/null 946s ok 12 /bytes/get-region 946s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 946s ok 13 /bytes/unref-null 946s # Start of to-data tests 946s ok 14 /bytes/to-data/transferred 946s ok 15 /bytes/to-data/two-refs 946s ok 16 /bytes/to-data/non-malloc 946s ok 17 /bytes/to-data/different-free-func 946s # End of to-data tests 946s # Start of to-array tests 946s ok 18 /bytes/to-array/transferred 946s ok 19 /bytes/to-array/two-refs 946s ok 20 /bytes/to-array/non-malloc 946s # Start of transferred tests 946s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 946s ok 21 /bytes/to-array/transferred/oversize 946s # End of transferred tests 946s # End of to-array tests 946s # End of bytes tests 946s TAP version 14 946s # random seed: R02Sb2582db8bf1f914c88c7238c438949f7 946s 1..1 946s # Start of tls-backend tests 946s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 946s ok 1 /tls-backend/set-default-database 946s # End of tls-backend tests 946s ok - glib/tls-database.test 946s # Running test: glib/defaultiface.test 946s TAP version 14 946s # random seed: R02S2f233d66a470b867f947bcabe6f020fa 946s 1..2 946s # Start of gobject tests 946s ok 1 /gobject/static-iface 946s ok 2 /gobject/dynamic-iface 946s # End of gobject tests 946s ok - glib/defaultiface.test 946s # Running test: glib/file.test 946s TAP version 14 946s # random seed: R02Sba2162d42005f7ff242b66e2182e177d 946s 1..55 946s # Start of file tests 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/basic/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/basic/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/basic/.dirs/system-config1:/tmp/test_file_AC94J3/file/basic/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/basic/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/basic/.dirs/system-data1:/tmp/test_file_AC94J3/file/basic/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/basic/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/basic/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/basic/.dirs/runtime 946s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 946s ok 1 /file/basic 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/build-filename/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/build-filename/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/build-filename/.dirs/system-config1:/tmp/test_file_AC94J3/file/build-filename/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/build-filename/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/build-filename/.dirs/system-data1:/tmp/test_file_AC94J3/file/build-filename/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/build-filename/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/build-filename/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/build-filename/.dirs/runtime 946s ok 2 /file/build-filename 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/build-filenamev/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/build-filenamev/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_AC94J3/file/build-filenamev/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/build-filenamev/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_AC94J3/file/build-filenamev/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/build-filenamev/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/build-filenamev/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/build-filenamev/.dirs/runtime 946s ok 3 /file/build-filenamev 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/parent/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/parent/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/parent/.dirs/system-config1:/tmp/test_file_AC94J3/file/parent/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/parent/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/parent/.dirs/system-data1:/tmp/test_file_AC94J3/file/parent/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/parent/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/parent/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/parent/.dirs/runtime 946s ok 4 /file/parent 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/child/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/child/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/child/.dirs/system-config1:/tmp/test_file_AC94J3/file/child/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/child/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/child/.dirs/system-data1:/tmp/test_file_AC94J3/file/child/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/child/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/child/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/child/.dirs/runtime 946s ok 5 /file/child 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/empty-path/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/empty-path/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/empty-path/.dirs/system-config1:/tmp/test_file_AC94J3/file/empty-path/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/empty-path/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/empty-path/.dirs/system-data1:/tmp/test_file_AC94J3/file/empty-path/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/empty-path/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/empty-path/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/empty-path/.dirs/runtime 946s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 946s # /file/empty-path summary: Check that creating a file with an empty path results in errors 946s ok 6 /file/empty-path 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/type/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/type/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/type/.dirs/system-config1:/tmp/test_file_AC94J3/file/type/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/type/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/type/.dirs/system-data1:/tmp/test_file_AC94J3/file/type/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/type/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/type/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/type/.dirs/runtime 946s ok 7 /file/type 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/parse-name/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/parse-name/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/parse-name/.dirs/system-config1:/tmp/test_file_AC94J3/file/parse-name/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/parse-name/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/parse-name/.dirs/system-data1:/tmp/test_file_AC94J3/file/parse-name/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/parse-name/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/parse-name/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/parse-name/.dirs/runtime 946s ok 8 /file/parse-name 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/replace-load/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/replace-load/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/replace-load/.dirs/system-config1:/tmp/test_file_AC94J3/file/replace-load/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/replace-load/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/replace-load/.dirs/system-data1:/tmp/test_file_AC94J3/file/replace-load/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/replace-load/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/replace-load/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/replace-load/.dirs/runtime 946s ok 9 /file/replace-load 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/replace-cancel/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/replace-cancel/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_AC94J3/file/replace-cancel/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/replace-cancel/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_AC94J3/file/replace-cancel/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/replace-cancel/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/replace-cancel/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/replace-cancel/.dirs/runtime 946s # Bug Reference: https://bugzilla.gnome.org/629301 946s ok 10 /file/replace-cancel 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/replace-symlink/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/replace-symlink/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_AC94J3/file/replace-symlink/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/replace-symlink/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_AC94J3/file/replace-symlink/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/replace-symlink/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/replace-symlink/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/replace-symlink/.dirs/runtime 946s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 946s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 946s # Using temporary directory /tmp/test_file_AC94J3/g_file_replace_symlink_ILY4J3 946s ok 11 /file/replace-symlink 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/async-new-tmp/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/async-new-tmp/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_AC94J3/file/async-new-tmp/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/async-new-tmp/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_AC94J3/file/async-new-tmp/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/async-new-tmp/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/async-new-tmp/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/async-new-tmp/.dirs/runtime 946s ok 12 /file/async-new-tmp 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/async-new-tmp-dir/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/async-new-tmp-dir/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_AC94J3/file/async-new-tmp-dir/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/async-new-tmp-dir/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_AC94J3/file/async-new-tmp-dir/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/async-new-tmp-dir/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/async-new-tmp-dir/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/async-new-tmp-dir/.dirs/runtime 946s ok 13 /file/async-new-tmp-dir 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/async-delete/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/async-delete/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/async-delete/.dirs/system-config1:/tmp/test_file_AC94J3/file/async-delete/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/async-delete/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/async-delete/.dirs/system-data1:/tmp/test_file_AC94J3/file/async-delete/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/async-delete/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/async-delete/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/async-delete/.dirs/runtime 946s ok 14 /file/async-delete 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/async-make-symlink/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/async-make-symlink/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_AC94J3/file/async-make-symlink/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/async-make-symlink/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_AC94J3/file/async-make-symlink/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/async-make-symlink/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/async-make-symlink/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/async-make-symlink/.dirs/runtime 946s ok 15 /file/async-make-symlink 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/copy-preserve-mode/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/copy-preserve-mode/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_AC94J3/file/copy-preserve-mode/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/copy-preserve-mode/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_AC94J3/file/copy-preserve-mode/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/copy-preserve-mode/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/copy-preserve-mode/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/copy-preserve-mode/.dirs/runtime 946s # Current umask: 2 946s # Vector 0 946s # Vector 1 946s # Vector 2 946s # Vector 3 946s # Vector 4 946s # Vector 5 946s # Vector 6 946s # Vector 7 946s # Vector 8 946s # Vector 9 946s # Vector 10 946s ok 16 /file/copy-preserve-mode 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/copy-async-with-closures/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/copy-async-with-closures/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_AC94J3/file/copy-async-with-closures/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/copy-async-with-closures/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_AC94J3/file/copy-async-with-closures/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/copy-async-with-closures/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/copy-async-with-closures/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/copy-async-with-closures/.dirs/runtime 946s ok 17 /file/copy-async-with-closures 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/measure/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/measure/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/measure/.dirs/system-config1:/tmp/test_file_AC94J3/file/measure/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/measure/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/measure/.dirs/system-data1:/tmp/test_file_AC94J3/file/measure/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/measure/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/measure/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/measure/.dirs/runtime 946s ok 18 /file/measure 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/measure-async/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/measure-async/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/measure-async/.dirs/system-config1:/tmp/test_file_AC94J3/file/measure-async/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/measure-async/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/measure-async/.dirs/system-data1:/tmp/test_file_AC94J3/file/measure-async/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/measure-async/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/measure-async/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/measure-async/.dirs/runtime 946s ok 19 /file/measure-async 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/load-bytes/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/load-bytes/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/load-bytes/.dirs/system-config1:/tmp/test_file_AC94J3/file/load-bytes/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/load-bytes/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/load-bytes/.dirs/system-data1:/tmp/test_file_AC94J3/file/load-bytes/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/load-bytes/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/load-bytes/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/load-bytes/.dirs/runtime 946s ok 20 /file/load-bytes 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/load-bytes-async/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/load-bytes-async/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_AC94J3/file/load-bytes-async/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/load-bytes-async/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_AC94J3/file/load-bytes-async/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/load-bytes-async/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/load-bytes-async/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/load-bytes-async/.dirs/runtime 946s ok 21 /file/load-bytes-async 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/load-bytes-4gb/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/load-bytes-4gb/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_AC94J3/file/load-bytes-4gb/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/load-bytes-4gb/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_AC94J3/file/load-bytes-4gb/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/load-bytes-4gb/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/load-bytes-4gb/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/load-bytes-4gb/.dirs/runtime 946s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/load-contents-4gb/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/load-contents-4gb/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_AC94J3/file/load-contents-4gb/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/load-contents-4gb/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_AC94J3/file/load-contents-4gb/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/load-contents-4gb/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/load-contents-4gb/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/load-contents-4gb/.dirs/runtime 946s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/load-contents-4gb-async/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/load-contents-4gb-async/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_AC94J3/file/load-contents-4gb-async/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/load-contents-4gb-async/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_AC94J3/file/load-contents-4gb-async/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/load-contents-4gb-async/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/load-contents-4gb-async/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/load-contents-4gb-async/.dirs/runtime 946s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/.dirs/runtime 946s ok 25 /file/writev 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/build-attribute-list-for-copy/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/build-attribute-list-for-copy/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_AC94J3/file/build-attribute-list-for-copy/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/build-attribute-list-for-copy/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_AC94J3/file/build-attribute-list-for-copy/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/build-attribute-list-for-copy/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/build-attribute-list-for-copy/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/build-attribute-list-for-copy/.dirs/runtime 946s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 946s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 946s # 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::* 946s # 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::* 946s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 946s # Attributes for copy: standard::size,xattr::* 946s # Attributes for copy: standard::size,unix::mode,xattr::* 946s ok 26 /file/build-attribute-list-for-copy 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/move_async/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/move_async/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/move_async/.dirs/system-config1:/tmp/test_file_AC94J3/file/move_async/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/move_async/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/move_async/.dirs/system-data1:/tmp/test_file_AC94J3/file/move_async/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/move_async/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/move_async/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/move_async/.dirs/runtime 946s ok 27 /file/move_async 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/move-async-with-closures/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/move-async-with-closures/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_AC94J3/file/move-async-with-closures/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/move-async-with-closures/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_AC94J3/file/move-async-with-closures/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/move-async-with-closures/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/move-async-with-closures/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/move-async-with-closures/.dirs/runtime 946s ok 28 /file/move-async-with-closures 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/query-zero-length-content-type/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/query-zero-length-content-type/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_AC94J3/file/query-zero-length-content-type/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/query-zero-length-content-type/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_AC94J3/file/query-zero-length-content-type/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/query-zero-length-content-type/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/query-zero-length-content-type/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/query-zero-length-content-type/.dirs/runtime 946s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 946s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 946s ok 29 /file/query-zero-length-content-type 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/runtime 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/data/applications 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/config 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/config 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/config 946s ok 30 /file/query-default-handler-file 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/runtime 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/data/applications 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/config 946s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_AC94J3/file/query-default-handler-file/.dirs/config to /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/config 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/config 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/config 946s ok 31 /file/query-default-handler-file-async 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/runtime 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/data/applications 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/config 946s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_AC94J3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/config 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/config 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/config 946s ok 32 /file/query-default-handler-uri 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/runtime 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/data/applications 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/config 946s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_AC94J3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/config 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/config 946s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AC94J3/file/query-default-handler-uri-async/.dirs/config 946s ok 33 /file/query-default-handler-uri-async 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/enumerator-cancellation/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/enumerator-cancellation/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_AC94J3/file/enumerator-cancellation/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/enumerator-cancellation/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_AC94J3/file/enumerator-cancellation/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/enumerator-cancellation/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/enumerator-cancellation/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/enumerator-cancellation/.dirs/runtime 946s ok 34 /file/enumerator-cancellation 946s # Start of async-create-delete tests 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/async-create-delete/0/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/async-create-delete/0/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_AC94J3/file/async-create-delete/0/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/async-create-delete/0/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_AC94J3/file/async-create-delete/0/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/async-create-delete/0/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/async-create-delete/0/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/async-create-delete/0/.dirs/runtime 946s ok 35 /file/async-create-delete/0 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/async-create-delete/1/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/async-create-delete/1/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_AC94J3/file/async-create-delete/1/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/async-create-delete/1/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_AC94J3/file/async-create-delete/1/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/async-create-delete/1/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/async-create-delete/1/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/async-create-delete/1/.dirs/runtime 946s ok 36 /file/async-create-delete/1 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/async-create-delete/10/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/async-create-delete/10/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_AC94J3/file/async-create-delete/10/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/async-create-delete/10/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_AC94J3/file/async-create-delete/10/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/async-create-delete/10/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/async-create-delete/10/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/async-create-delete/10/.dirs/runtime 946s ok 37 /file/async-create-delete/10 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/async-create-delete/25/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/async-create-delete/25/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_AC94J3/file/async-create-delete/25/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/async-create-delete/25/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_AC94J3/file/async-create-delete/25/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/async-create-delete/25/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/async-create-delete/25/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/async-create-delete/25/.dirs/runtime 946s ok 38 /file/async-create-delete/25 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/async-create-delete/4096/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/async-create-delete/4096/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_AC94J3/file/async-create-delete/4096/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/async-create-delete/4096/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_AC94J3/file/async-create-delete/4096/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/async-create-delete/4096/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/async-create-delete/4096/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/async-create-delete/4096/.dirs/runtime 946s ok 39 /file/async-create-delete/4096 946s # End of async-create-delete tests 946s # Start of replace-symlink tests 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/replace-symlink/using-etag/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/replace-symlink/using-etag/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_AC94J3/file/replace-symlink/using-etag/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/replace-symlink/using-etag/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_AC94J3/file/replace-symlink/using-etag/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/replace-symlink/using-etag/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/replace-symlink/using-etag/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/replace-symlink/using-etag/.dirs/runtime 946s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 946s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 946s # Using temporary directory /tmp/test_file_AC94J3/g_file_replace_symlink_using_etag_0H29J3 948s ok 40 /file/replace-symlink/using-etag 948s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 948s # End of replace-symlink tests 948s # Start of replace tests 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/replace/write-only/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/replace/write-only/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_AC94J3/file/replace/write-only/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/replace/write-only/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_AC94J3/file/replace/write-only/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/replace/write-only/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/replace/write-only/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/replace/write-only/.dirs/runtime 948s # /file/replace/write-only summary: Test various situations for g_file_replace() 948s # Current umask: 2 948s # Test 0, using temporary directory /tmp/test_file_AC94J3/g_file_replace_YQX9J3 948s # Test 1, using temporary directory /tmp/test_file_AC94J3/g_file_replace_HQW9J3 948s # Test 2, using temporary directory /tmp/test_file_AC94J3/g_file_replace_DDT9J3 948s # Test 3, using temporary directory /tmp/test_file_AC94J3/g_file_replace_9IR9J3 948s # Test 4, using temporary directory /tmp/test_file_AC94J3/g_file_replace_DLQ9J3 948s # Test 5, using temporary directory /tmp/test_file_AC94J3/g_file_replace_GDQ9J3 948s # Test 6, using temporary directory /tmp/test_file_AC94J3/g_file_replace_W2M9J3 948s # Test 7, using temporary directory /tmp/test_file_AC94J3/g_file_replace_1QL9J3 949s # Test 8, using temporary directory /tmp/test_file_AC94J3/g_file_replace_FLL9J3 949s # Test 9, using temporary directory /tmp/test_file_AC94J3/g_file_replace_F4L9J3 949s # Test 10, using temporary directory /tmp/test_file_AC94J3/g_file_replace_TNI9J3 949s # Test 11, using temporary directory /tmp/test_file_AC94J3/g_file_replace_GJF9J3 949s # Test 12, using temporary directory /tmp/test_file_AC94J3/g_file_replace_ACF9J3 949s # Test 13, using temporary directory /tmp/test_file_AC94J3/g_file_replace_MWF9J3 949s # Test 14, using temporary directory /tmp/test_file_AC94J3/g_file_replace_ONC9J3 949s # Test 15, using temporary directory /tmp/test_file_AC94J3/g_file_replace_TC98J3 949s # Test 16, using temporary directory /tmp/test_file_AC94J3/g_file_replace_X078J3 949s # Test 17, using temporary directory /tmp/test_file_AC94J3/g_file_replace_TP48J3 949s # Test 18, using temporary directory /tmp/test_file_AC94J3/g_file_replace_SO9JK3 949s # Test 19, using temporary directory /tmp/test_file_AC94J3/g_file_replace_NX6JK3 949s # Test 20, using temporary directory /tmp/test_file_AC94J3/g_file_replace_JQ3JK3 949s # Test 21, using temporary directory /tmp/test_file_AC94J3/g_file_replace_4IZJK3 949s # Test 22, using temporary directory /tmp/test_file_AC94J3/g_file_replace_39XJK3 949s # Test 23, using temporary directory /tmp/test_file_AC94J3/g_file_replace_FFYJK3 949s # Test 24, using temporary directory /tmp/test_file_AC94J3/g_file_replace_DQVJK3 949s # Test 25, using temporary directory /tmp/test_file_AC94J3/g_file_replace_7PQJK3 949s # Test 26, using temporary directory /tmp/test_file_AC94J3/g_file_replace_EBRJK3 949s # Test 27, using temporary directory /tmp/test_file_AC94J3/g_file_replace_23QJK3 949s # Test 28, using temporary directory /tmp/test_file_AC94J3/g_file_replace_TINJK3 949s # Test 29, using temporary directory /tmp/test_file_AC94J3/g_file_replace_ZGKJK3 949s # Test 30, using temporary directory /tmp/test_file_AC94J3/g_file_replace_IBKJK3 949s # Test 31, using temporary directory /tmp/test_file_AC94J3/g_file_replace_2VKJK3 949s # Test 32, using temporary directory /tmp/test_file_AC94J3/g_file_replace_B6HJK3 949s # Test 33, using temporary directory /tmp/test_file_AC94J3/g_file_replace_Y4FJK3 949s # Test 34, using temporary directory /tmp/test_file_AC94J3/g_file_replace_TYFJK3 949s # Test 35, using temporary directory /tmp/test_file_AC94J3/g_file_replace_3ZEJK3 949s # Test 36, using temporary directory /tmp/test_file_AC94J3/g_file_replace_W6BJK3 949s # Test 37, using temporary directory /tmp/test_file_AC94J3/g_file_replace_H58IK3 949s # Test 38, using temporary directory /tmp/test_file_AC94J3/g_file_replace_4O5IK3 949s # Test 39, using temporary directory /tmp/test_file_AC94J3/g_file_replace_ZC1IK3 949s # Test 40, using temporary directory /tmp/test_file_AC94J3/g_file_replace_8RZIK3 949s # Test 41, using temporary directory /tmp/test_file_AC94J3/g_file_replace_3QLIK3 949s # Test 42, using temporary directory /tmp/test_file_AC94J3/g_file_replace_O56HK3 949s # Test 43, using temporary directory /tmp/test_file_AC94J3/g_file_replace_Y9SHK3 949s # Test 44, using temporary directory /tmp/test_file_AC94J3/g_file_replace_3BQHK3 949s # Test 45, using temporary directory /tmp/test_file_AC94J3/g_file_replace_FBPHK3 949s # Test 46, using temporary directory /tmp/test_file_AC94J3/g_file_replace_BSMHK3 949s # Test 47, using temporary directory /tmp/test_file_AC94J3/g_file_replace_NXMHK3 949s # Test 48, using temporary directory /tmp/test_file_AC94J3/g_file_replace_K2JHK3 949s # We do not have CAP_DAC_OVERRIDE or equivalent 949s ok 41 /file/replace/write-only 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/replace/read-write/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/replace/read-write/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_AC94J3/file/replace/read-write/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/replace/read-write/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_AC94J3/file/replace/read-write/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/replace/read-write/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/replace/read-write/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/replace/read-write/.dirs/runtime 949s # /file/replace/read-write summary: Test various situations for g_file_replace() 949s # Current umask: 2 949s # Test 0, using temporary directory /tmp/test_file_AC94J3/g_file_replace_7SIHK3 949s # Test 1, using temporary directory /tmp/test_file_AC94J3/g_file_replace_BEJHK3 949s # Test 2, using temporary directory /tmp/test_file_AC94J3/g_file_replace_04GHK3 949s # Test 3, using temporary directory /tmp/test_file_AC94J3/g_file_replace_DT8GK3 949s # Test 4, using temporary directory /tmp/test_file_AC94J3/g_file_replace_1M8GK3 949s # Test 5, using temporary directory /tmp/test_file_AC94J3/g_file_replace_268GK3 949s # Test 6, using temporary directory /tmp/test_file_AC94J3/g_file_replace_DWZGK3 949s # Test 7, using temporary directory /tmp/test_file_AC94J3/g_file_replace_48SGK3 949s # Test 8, using temporary directory /tmp/test_file_AC94J3/g_file_replace_IBSGK3 949s # Test 9, using temporary directory /tmp/test_file_AC94J3/g_file_replace_72RGK3 949s # Test 10, using temporary directory /tmp/test_file_AC94J3/g_file_replace_M8LGK3 949s # Test 11, using temporary directory /tmp/test_file_AC94J3/g_file_replace_PNHGK3 949s # Test 12, using temporary directory /tmp/test_file_AC94J3/g_file_replace_CGHGK3 949s # Test 13, using temporary directory /tmp/test_file_AC94J3/g_file_replace_EGGGK3 949s # Test 14, using temporary directory /tmp/test_file_AC94J3/g_file_replace_EICGK3 949s # Test 15, using temporary directory /tmp/test_file_AC94J3/g_file_replace_7W9FK3 949s # Test 16, using temporary directory /tmp/test_file_AC94J3/g_file_replace_507FK3 949s # Test 17, using temporary directory /tmp/test_file_AC94J3/g_file_replace_GG4FK3 949s # Test 18, using temporary directory /tmp/test_file_AC94J3/g_file_replace_H32FK3 949s # Test 19, using temporary directory /tmp/test_file_AC94J3/g_file_replace_44XFK3 949s # Test 20, using temporary directory /tmp/test_file_AC94J3/g_file_replace_XQUFK3 949s # Test 21, using temporary directory /tmp/test_file_AC94J3/g_file_replace_W4RFK3 949s # Test 22, using temporary directory /tmp/test_file_AC94J3/g_file_replace_DMOFK3 949s # Test 23, using temporary directory /tmp/test_file_AC94J3/g_file_replace_M7OFK3 949s # Test 24, using temporary directory /tmp/test_file_AC94J3/g_file_replace_2NLFK3 949s # Test 25, using temporary directory /tmp/test_file_AC94J3/g_file_replace_WAJFK3 949s # Test 26, using temporary directory /tmp/test_file_AC94J3/g_file_replace_DKJFK3 949s # Test 27, using temporary directory /tmp/test_file_AC94J3/g_file_replace_5DJFK3 949s # Test 28, using temporary directory /tmp/test_file_AC94J3/g_file_replace_P1EFK3 949s # Test 29, using temporary directory /tmp/test_file_AC94J3/g_file_replace_7WBFK3 949s # Test 30, using temporary directory /tmp/test_file_AC94J3/g_file_replace_1KCFK3 949s # Test 31, using temporary directory /tmp/test_file_AC94J3/g_file_replace_F9BFK3 949s # Test 32, using temporary directory /tmp/test_file_AC94J3/g_file_replace_708EK3 949s # Test 33, using temporary directory /tmp/test_file_AC94J3/g_file_replace_WR6EK3 949s # Test 34, using temporary directory /tmp/test_file_AC94J3/g_file_replace_WU5EK3 949s # Test 35, using temporary directory /tmp/test_file_AC94J3/g_file_replace_3M5EK3 949s # Test 36, using temporary directory /tmp/test_file_AC94J3/g_file_replace_D03EK3 949s # Test 37, using temporary directory /tmp/test_file_AC94J3/g_file_replace_632EK3 949s # Test 38, using temporary directory /tmp/test_file_AC94J3/g_file_replace_0GZEK3 949s # Test 39, using temporary directory /tmp/test_file_AC94J3/g_file_replace_L3WEK3 949s # Test 40, using temporary directory /tmp/test_file_AC94J3/g_file_replace_GNUEK3 949s # Test 41, using temporary directory /tmp/test_file_AC94J3/g_file_replace_LMREK3 949s # Test 42, using temporary directory /tmp/test_file_AC94J3/g_file_replace_9DQEK3 949s # Test 43, using temporary directory /tmp/test_file_AC94J3/g_file_replace_P8UPK3 949s # Test 44, using temporary directory /tmp/test_file_AC94J3/g_file_replace_PITPK3 949s # Test 45, using temporary directory /tmp/test_file_AC94J3/g_file_replace_KCTPK3 949s # Test 46, using temporary directory /tmp/test_file_AC94J3/g_file_replace_6YPPK3 949s # Test 47, using temporary directory /tmp/test_file_AC94J3/g_file_replace_GSPPK3 949s # Test 48, using temporary directory /tmp/test_file_AC94J3/g_file_replace_0OMPK3 949s # We do not have CAP_DAC_OVERRIDE or equivalent 949s ok 42 /file/replace/read-write 949s # End of replace tests 949s # Start of copy tests 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/copy/progress/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/copy/progress/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/copy/progress/.dirs/system-config1:/tmp/test_file_AC94J3/file/copy/progress/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/copy/progress/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/copy/progress/.dirs/system-data1:/tmp/test_file_AC94J3/file/copy/progress/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/copy/progress/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/copy/progress/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/copy/progress/.dirs/runtime 949s ok 43 /file/copy/progress 949s # End of copy tests 949s # Start of writev tests 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/no-bytes-written/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/no-bytes-written/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/no-bytes-written/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/no-bytes-written/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/no-bytes-written/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/no-bytes-written/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/no-bytes-written/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/no-bytes-written/.dirs/runtime 949s ok 44 /file/writev/no-bytes-written 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/no-vectors/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/no-vectors/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/no-vectors/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/no-vectors/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/no-vectors/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/no-vectors/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/no-vectors/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/no-vectors/.dirs/runtime 949s ok 45 /file/writev/no-vectors 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/empty-vectors/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/empty-vectors/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/empty-vectors/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/empty-vectors/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/empty-vectors/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/empty-vectors/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/empty-vectors/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/empty-vectors/.dirs/runtime 949s ok 46 /file/writev/empty-vectors 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/too-big-vectors/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/too-big-vectors/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/too-big-vectors/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/too-big-vectors/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/too-big-vectors/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/too-big-vectors/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/too-big-vectors/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/too-big-vectors/.dirs/runtime 949s ok 47 /file/writev/too-big-vectors 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/async/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/async/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/async/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/async/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/async/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/async/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/async/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/async/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/async/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/async/.dirs/runtime 949s ok 48 /file/writev/async 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/async_all/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/async_all/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/async_all/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/async_all/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/async_all/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/async_all/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/async_all/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/async_all/.dirs/runtime 949s ok 49 /file/writev/async_all 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/async_all-empty-vectors/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/async_all-empty-vectors/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/async_all-empty-vectors/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/async_all-empty-vectors/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/async_all-empty-vectors/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/async_all-empty-vectors/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/async_all-empty-vectors/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/async_all-empty-vectors/.dirs/runtime 949s ok 50 /file/writev/async_all-empty-vectors 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/async_all-no-vectors/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/async_all-no-vectors/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/async_all-no-vectors/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/async_all-no-vectors/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/async_all-no-vectors/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/async_all-no-vectors/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/async_all-no-vectors/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/async_all-no-vectors/.dirs/runtime 949s ok 51 /file/writev/async_all-no-vectors 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/async_all-to-big-vectors/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/async_all-to-big-vectors/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/async_all-to-big-vectors/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/async_all-to-big-vectors/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/async_all-to-big-vectors/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/async_all-to-big-vectors/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/async_all-to-big-vectors/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/async_all-to-big-vectors/.dirs/runtime 949s ok 52 /file/writev/async_all-to-big-vectors 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/writev/async_all-cancellation/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/writev/async_all-cancellation/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_AC94J3/file/writev/async_all-cancellation/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/writev/async_all-cancellation/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_AC94J3/file/writev/async_all-cancellation/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/writev/async_all-cancellation/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/writev/async_all-cancellation/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/writev/async_all-cancellation/.dirs/runtime 949s ok 53 /file/writev/async_all-cancellation 949s # End of writev tests 949s # Start of from-uri tests 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/from-uri/ignores-query-string/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/from-uri/ignores-query-string/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_AC94J3/file/from-uri/ignores-query-string/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/from-uri/ignores-query-string/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_AC94J3/file/from-uri/ignores-query-string/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/from-uri/ignores-query-string/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/from-uri/ignores-query-string/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/from-uri/ignores-query-string/.dirs/runtime 949s ok 54 /file/from-uri/ignores-query-string 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AC94J3/file/from-uri/ignores-fragment/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AC94J3/file/from-uri/ignores-fragment/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AC94J3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_AC94J3/file/from-uri/ignores-fragment/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AC94J3/file/from-uri/ignores-fragment/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AC94J3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_AC94J3/file/from-uri/ignores-fragment/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AC94J3/file/from-uri/ignores-fragment/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AC94J3/file/from-uri/ignores-fragment/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AC94J3/file/from-uri/ignores-fragment/.dirs/runtime 949s ok 55 /file/from-uri/ignores-fragment 949s # End of from-uri tests 949s # End of file tests 949s ok - glib/file.test 949s # Running test: glib/mount-operation.test 949s TAP version 14 949s # random seed: R02Sc7b353b14771e0272f3229935e47286c 949s 1..2 949s # Start of mount-operation tests 949s ok 1 /mount-operation/construction 949s ok 2 /mount-operation/properties 949s # End of mount-operation tests 949s ok - glib/mount-operation.test 949s # Running test: glib/hostutils.test 949s TAP version 14 949s # random seed: R02S382fa074376ef47567476f3d19fbc392 949s 1..4 949s # Start of hostutils tests 949s ok 1 /hostutils/hostname_is_non_ascii 949s ok 2 /hostutils/to_ascii 949s ok 3 /hostutils/to_unicode 949s ok 4 /hostutils/is_ip_addr 949s # End of hostutils tests 949s ok - glib/hostutils.test 949s # Running test: glib/messages-low-memory.py.test 949s TAP version 13 949s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 949s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 949s # tmpdir: /tmp/tmprrjuylu_ 949s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 949s # Return code: -6 949s # Output: 949s # 949s # Error: 949s # GLib-Message: 02:15:08.877: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 949s # GLib-Message: 02:15:08.877: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 949s # ../../../glib/gprintf.c:351: failed to allocate memory 949s 1..1 949s ok - glib/messages-low-memory.py.test 949s # Running test: glib/utils-unisolated.test 949s TAP version 14 949s # random seed: R02S1da78773836c3fc622ac7956a1c4049b 949s 1..1 949s # Start of utils tests 949s ok 1 /utils/xdgdirs 949s # End of utils tests 949s ok - glib/utils-unisolated.test 949s # Running test: glib/rec-mutex.test 949s TAP version 14 949s # random seed: R02S8270329fbff58e1a18e3143467cd4000 949s 1..29 949s # Start of thread tests 949s ok 1 /thread/rec-mutex1 949s ok 2 /thread/rec-mutex2 949s ok 3 /thread/rec-mutex3 949s ok 4 /thread/rec-mutex4 949s # Start of rec-mutex tests 949s # Start of perf tests 949s # Start of uncontended tests 949s # max perf: 1.000000 mips 949s ok 5 /thread/rec-mutex/perf/uncontended/depth1 949s # max perf: inf mips 949s ok 6 /thread/rec-mutex/perf/uncontended/depth2 949s # max perf: inf mips 949s ok 7 /thread/rec-mutex/perf/uncontended/depth3 949s # max perf: inf mips 949s ok 8 /thread/rec-mutex/perf/uncontended/depth4 949s # max perf: 1.000000 mips 949s ok 9 /thread/rec-mutex/perf/uncontended/depth5 949s # End of uncontended tests 949s # Start of contended1 tests 949s # max perf: inf mips 949s ok 10 /thread/rec-mutex/perf/contended1/depth1 949s # max perf: inf mips 949s ok 11 /thread/rec-mutex/perf/contended1/depth2 949s # max perf: inf mips 949s ok 12 /thread/rec-mutex/perf/contended1/depth3 949s # max perf: inf mips 949s ok 13 /thread/rec-mutex/perf/contended1/depth4 949s # max perf: 2.000000 mips 949s ok 14 /thread/rec-mutex/perf/contended1/depth5 949s # End of contended1 tests 949s # Start of contended2 tests 949s # max perf: 3.000000 mips 949s ok 15 /thread/rec-mutex/perf/contended2/depth1 949s # max perf: 3.000000 mips 949s ok 16 /thread/rec-mutex/perf/contended2/depth2 949s # max perf: inf mips 949s ok 17 /thread/rec-mutex/perf/contended2/depth3 949s # max perf: 3.000000 mips 949s ok 18 /thread/rec-mutex/perf/contended2/depth4 949s # max perf: 3.000000 mips 949s ok 19 /thread/rec-mutex/perf/contended2/depth5 949s # End of contended2 tests 949s # Start of contended3 tests 949s # max perf: inf mips 949s ok 20 /thread/rec-mutex/perf/contended3/depth1 949s # max perf: inf mips 949s ok 21 /thread/rec-mutex/perf/contended3/depth2 949s # max perf: inf mips 949s ok 22 /thread/rec-mutex/perf/contended3/depth3 949s # max perf: inf mips 949s ok 23 /thread/rec-mutex/perf/contended3/depth4 949s # max perf: 4.000000 mips 949s ok 24 /thread/rec-mutex/perf/contended3/depth5 949s # End of contended3 tests 949s # Start of contended4 tests 949s # max perf: 5.000000 mips 949s ok 25 /thread/rec-mutex/perf/contended4/depth1 949s # max perf: inf mips 949s ok 26 /thread/rec-mutex/perf/contended4/depth2 949s # max perf: inf mips 949s ok 27 /thread/rec-mutex/perf/contended4/depth3 949s # max perf: inf mips 949s ok 28 /thread/rec-mutex/perf/contended4/depth4 949s # max perf: 5.000000 mips 949s ok 29 /thread/rec-mutex/perf/contended4/depth5 949s # End of contended4 tests 949s # End of perf tests 949s # End of rec-mutex tests 949s # End of thread tests 949s ok - glib/rec-mutex.test 949s # Running test: glib/shell.test 949s TAP version 14 949s # random seed: R02S60df2cf877cf7b41eb8824ff19834876 949s 1..52 949s # Start of shell tests 949s # Start of cmdline tests 949s test cmdline: foo bar 949s ok 1 /shell/cmdline/0 949s test cmdline: foo 'bar' 949s ok 2 /shell/cmdline/1 949s test cmdline: foo "bar" 949s ok 3 /shell/cmdline/2 949s test cmdline: foo '' 'bar' 949s ok 4 /shell/cmdline/3 949s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 949s ok 5 /shell/cmdline/4 949s test cmdline: foo blah foo bar baz 949s ok 6 /shell/cmdline/5 949s test cmdline: foo ' spaces more spaces lots of spaces in this ' 949s ok 7 /shell/cmdline/6 949s test cmdline: foo \ 949s bar 949s ok 8 /shell/cmdline/7 949s test cmdline: foo '' '' 949s ok 9 /shell/cmdline/8 949s test cmdline: foo \" la la la 949s ok 10 /shell/cmdline/9 949s test cmdline: foo \ foo woo woo\ 949s ok 11 /shell/cmdline/10 949s test cmdline: foo "yada yada \$\"" 949s ok 12 /shell/cmdline/11 949s test cmdline: foo "c:\\" 949s ok 13 /shell/cmdline/12 949s test cmdline: foo # bla bla bla 949s bar 949s ok 14 /shell/cmdline/13 949s test cmdline: foo a#b 949s ok 15 /shell/cmdline/14 949s test cmdline: #foo 949s ok 16 /shell/cmdline/15 949s test cmdline: foo bar \ 949s ok 17 /shell/cmdline/16 949s test cmdline: foo 'bar baz 949s ok 18 /shell/cmdline/17 949s test cmdline: foo '"bar" baz 949s ok 19 /shell/cmdline/18 949s test cmdline: 949s ok 20 /shell/cmdline/19 949s test cmdline: 949s ok 21 /shell/cmdline/20 949s test cmdline: # foo bar 949s ok 22 /shell/cmdline/21 949s test cmdline: # 949s ok 23 /shell/cmdline/22 949s test cmdline: foo '/bar/summer'\''09 tours.pdf' 949s ok 24 /shell/cmdline/23 949s # End of cmdline tests 949s # Start of quote tests 949s ok 25 /shell/quote/0 949s ok 26 /shell/quote/1 949s ok 27 /shell/quote/2 949s ok 28 /shell/quote/3 949s ok 29 /shell/quote/4 949s ok 30 /shell/quote/5 949s ok 31 /shell/quote/6 949s # End of quote tests 949s # Start of unquote tests 949s ok 32 /shell/unquote/0 949s ok 33 /shell/unquote/1 949s ok 34 /shell/unquote/2 949s ok 35 /shell/unquote/3 949s ok 36 /shell/unquote/4 949s ok 37 /shell/unquote/5 949s ok 38 /shell/unquote/6 949s ok 39 /shell/unquote/7 949s ok 40 /shell/unquote/8 949s ok 41 /shell/unquote/9 949s ok 42 /shell/unquote/10 949s ok 43 /shell/unquote/11 949s ok 44 /shell/unquote/12 949s ok 45 /shell/unquote/13 949s ok 46 /shell/unquote/14 949s ok 47 /shell/unquote/15 949s ok 48 /shell/unquote/16 949s ok 49 /shell/unquote/17 949s ok 50 /shell/unquote/18 949s ok 51 /shell/unquote/19 949s ok 52 /shell/unquote/20 949s # End of unquote tests 949s # End of shell tests 949s ok - glib/shell.test 949s # Running test: glib/pathbuf.test 949s TAP version 14 949s # random seed: R02Sc88d6406d9212a739e789116a9f394eb 949s 1..3 949s # Start of pathbuf tests 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/init/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/init/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_HLCMK3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_HLCMK3/pathbuf/init/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/init/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_HLCMK3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_HLCMK3/pathbuf/init/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/init/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/init/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_HLCMK3/pathbuf/init/.dirs/runtime 949s # Initializing empty path buf 949s # Initializing with empty path 949s # Initializing with full path 949s # Initializing with no path 949s # Allocating GPathBuf on the heap 949s ok 1 /pathbuf/init 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/push-pop/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/push-pop/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_HLCMK3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_HLCMK3/pathbuf/push-pop/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/push-pop/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_HLCMK3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_HLCMK3/pathbuf/push-pop/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/push-pop/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/push-pop/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_HLCMK3/pathbuf/push-pop/.dirs/runtime 949s # Pushing relative path component 949s # Pushing absolute path component 949s # Popping a path component 949s # Can't pop the last element of a path buffer 949s ok 2 /pathbuf/push-pop 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/filename-extension/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/filename-extension/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_HLCMK3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_HLCMK3/pathbuf/filename-extension/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/filename-extension/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_HLCMK3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_HLCMK3/pathbuf/filename-extension/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/filename-extension/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_HLCMK3/pathbuf/filename-extension/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_HLCMK3/pathbuf/filename-extension/.dirs/runtime 949s ok 3 /pathbuf/filename-extension 949s # End of pathbuf tests 949s ok - glib/pathbuf.test 949s # Running test: glib/private.test 949s TAP version 14 949s # random seed: R02S0babd1f667359506b3162d7da87842c6 949s 1..8 949s # Start of thread tests 949s ok 1 /thread/private1 950s ok 2 /thread/private2 950s # slow test /thread/private2 executed in 1.10 secs 950s ok 3 /thread/private3 950s ok 4 /thread/staticprivate1 950s ok 5 /thread/staticprivate2 950s ok 6 /thread/staticprivate3 951s # Executing: glib/private.test 951s ok - glib/private.test 951s ok 7 /thread/staticprivate4 951s # slow test /thread/staticprivate4 executed in 1.10 secs 951s ok 8 /thread/staticprivate5 951s # End of thread tests 951s # Running test: glib/closure-refcount.test 951s TAP version 14 951s # random seed: R02S4ea6a929cde197bd3bc2599d9015eb94 951s 1..1 951s # Start of closure tests 951s # Init 0xc11331230dc0 951s # Yielding from main thread 951s # Yielding from main thread 951s # Yielding from main thread 951s # Yielding from main thread 951s # Yielding from main thread 952s # Yielding from thread1 952s # Yielding from main thread 952s # Yielding from main thread 952s # Yielding from main thread 952s # Yielding from thread2 952s # Yielding from main thread 952s # Stopping 952s # Stopped 952s ok 1 /closure/refcount 952s # End of closure tests 952s TAP version 14 952s # random seed: R02S4529b45e760eddb4a1244711b40f6bc4 952s 1..1 952s # Start of permission tests 952s ok 1 /permission/simple 952s # End of permission tests 952s TAP version 14 952s # random seed: R02S6252930be7d8709b1c9cbba885dc5d48 952s 1..1 952s # Start of filenamecompleter tests 952s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_UCNBK3/filenamecompleter/basic/.dirs/home 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_UCNBK3/filenamecompleter/basic/.dirs/cache 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_UCNBK3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_UCNBK3/filenamecompleter/basic/.dirs/system-config2 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_UCNBK3/filenamecompleter/basic/.dirs/config 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_UCNBK3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_UCNBK3/filenamecompleter/basic/.dirs/system-data2 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_UCNBK3/filenamecompleter/basic/.dirs/data 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_UCNBK3/filenamecompleter/basic/.dirs/state 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_UCNBK3/filenamecompleter/basic/.dirs/runtime 952s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 952s ok 1 /filenamecompleter/basic 952s # End of filenamecompleter tests 952s TAP version 14 952s # random seed: R02S2358bc1dfebeaf05c5abca00eed566b7 952s 1..2 952s # Start of union-info tests 952s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_W7FBK3/union-info/basic/.dirs/home 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_W7FBK3/union-info/basic/.dirs/cache 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_W7FBK3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_W7FBK3/union-info/basic/.dirs/system-config2 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_W7FBK3/union-info/basic/.dirs/config 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_W7FBK3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_W7FBK3/union-info/basic/.dirs/system-data2 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_W7FBK3/union-info/basic/.dirs/data 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_W7FBK3/union-info/basic/.dirs/state 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_W7FBK3/union-info/basic/.dirs/runtime 952s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 952s # /union-info/basic summary: Test basic properties of GIUnionInfo 952s ok 1 /union-info/basic 952s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_W7FBK3/union-info/methods/.dirs/home 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_W7FBK3/union-info/methods/.dirs/cache 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_W7FBK3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_W7FBK3/union-info/methods/.dirs/system-config2 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_W7FBK3/union-info/methods/.dirs/config 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_W7FBK3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_W7FBK3/union-info/methods/.dirs/system-data2 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_W7FBK3/union-info/methods/.dirs/data 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_W7FBK3/union-info/methods/.dirs/state 952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_W7FBK3/union-info/methods/.dirs/runtime 952s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 952s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 952s ok 2 /union-info/methods 952s # End of union-info tests 952s TAP version 14 952s # random seed: R02Sefcb14b51060aa81911b12beda7391b0 952s 1..2 952s # Start of unix-fd tests 952s ok 1 /unix-fd/fd-list 952s ok 2 /unix-fd/scm 952s # End of unix-fd tests 952s TAP version 14 952s # random seed: R02S888ceda8a844c195b4286839804d433f 952s 1..1 952s # Start of gobject tests 952s # Start of refcount tests 952s # init 0xc3aa1d43bda0 952s # 952s # init 0xc3aa1d43beb0 952s # 952s ok - glib/closure-refcount.test 952s # Running test: glib/permission.test 952s ok - glib/permission.test 952s # Running test: glib/filenamecompleter.test 952s ok - glib/filenamecompleter.test 952s # Running test: glib/union-info.test 952s ok - glib/union-info.test 952s # Running test: glib/unix-fd.test 952s ok - glib/unix-fd.test 952s # Running test: glib/objects-refcount1.test 956s # Executing: glib/objects-refcount1.test 956s # dispose 0xc3aa1d43bda0! 956s # 956s # dispose 0xc3aa1d43beb0! 956s # 956s ok 1 /gobject/refcount/object-basics 956s # slow test /gobject/refcount/object-basics executed in 5.00 secs 956s # End of refcount tests 956s # End of gobject tests 956s ok - glib/objects-refcount1.test 956s # Running test: glib/network-monitor.test 956s TAP version 14 956s # random seed: R02Sff368f679acdf6f74a468d4b98f78335 956s 1..4 956s # Start of network-monitor tests 956s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 956s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 956s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 956s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 956s ok 1 /network-monitor/default 957s ok - glib/network-monitor.test 957s # Running test: glib/gthash.test 957s ok - glib/gthash.test 957s # Running test: glib/gdbus-proxy-unique-name.test 957s ok - glib/gdbus-proxy-unique-name.test 957s # Running test: glib/binding.test 957s ok - glib/binding.test 957s # Running test: glib/registered-type-info.test 957s ok - glib/registered-type-info.test 957s # Running test: glib/debugcontroller.test 957s ok 2 /network-monitor/remove_default 957s ok 3 /network-monitor/add_networks 957s ok 4 /network-monitor/remove_networks 957s # End of network-monitor tests 957s TAP version 14 957s # random seed: R02S110fa2a86699317169ede15afb3d5fa1 957s 1..1 957s # Start of gthash tests 957s ok 1 /gthash/build-retrieve 957s # End of gthash tests 957s TAP version 14 957s # random seed: R02S0059f41539d282a35de7b9a0461145d1 957s 1..1 957s # Start of gdbus tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_GAGAK3/gdbus/proxy-unique-name/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_GAGAK3/gdbus/proxy-unique-name/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_GAGAK3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_GAGAK3/gdbus/proxy-unique-name/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_GAGAK3/gdbus/proxy-unique-name/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_GAGAK3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_GAGAK3/gdbus/proxy-unique-name/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_GAGAK3/gdbus/proxy-unique-name/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_GAGAK3/gdbus/proxy-unique-name/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_GAGAK3/gdbus/proxy-unique-name/.dirs/runtime 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s ok 1 /gdbus/proxy-unique-name 957s # End of gdbus tests 957s TAP version 14 957s # random seed: R02S9f79214a650259bddd1e324b86b9e30c 957s 1..19 957s # Start of binding tests 957s ok 1 /binding/default 957s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 957s ok 2 /binding/canonicalisation 957s ok 3 /binding/bidirectional 957s ok 4 /binding/transform 957s ok 5 /binding/transform-default 957s ok 6 /binding/transform-closure 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 957s ok 7 /binding/chain 957s ok 8 /binding/sync-create 957s ok 9 /binding/invert-boolean 957s ok 10 /binding/same-object 957s ok 11 /binding/unbind 957s ok 12 /binding/unbind-weak 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 957s ok 13 /binding/unbind-multiple 957s ok 14 /binding/fail 957s ok 15 /binding/interface 957s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 957s ok 16 /binding/concurrent-unbind 957s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 957s ok 17 /binding/concurrent-finalizing 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 957s ok 18 /binding/dispose-source 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 957s ok 19 /binding/dispose-target 957s # End of binding tests 957s TAP version 14 957s # random seed: R02S95a659f3aadf25914307374cc1cd5ec6 957s 1..1 957s # Start of registered-type-info tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_FQWJK3/registered-type-info/boxed/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_FQWJK3/registered-type-info/boxed/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_FQWJK3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_FQWJK3/registered-type-info/boxed/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_FQWJK3/registered-type-info/boxed/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_FQWJK3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_FQWJK3/registered-type-info/boxed/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_FQWJK3/registered-type-info/boxed/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_FQWJK3/registered-type-info/boxed/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_FQWJK3/registered-type-info/boxed/.dirs/runtime 957s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 957s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 957s # Expecting CClosure to not be boxed 957s # Expecting TypeCValue to not be boxed 957s # Expecting InitiallyUnownedClass to not be boxed 957s # Expecting BookmarkFile to be boxed 957s # Expecting Closure to be boxed 957s # Expecting Object to not be boxed 957s ok 1 /registered-type-info/boxed 957s # End of registered-type-info tests 957s TAP version 14 957s # random seed: R02S7bc8b6962bf5b7f60355cc2ed2dba88c 957s 1..3 957s # Start of debug-controller tests 957s # Start of dbus tests 957s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 957s # GLib-GIO-DEBUG: Debug output enabled 957s # GLib-GIO-DEBUG: Debug output disabled 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s ok 1 /debug-controller/dbus/basic 957s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s ok - glib/debugcontroller.test 957s # Running test: glib/atomic-c-17.test 957s ok - glib/atomic-c-17.test 957s # Running test: glib/portal-support-flatpak-none.test 957s ok - glib/portal-support-flatpak-none.test 957s # Running test: glib/struct-info.test 957s ok - glib/struct-info.test 957s # Running test: glib/gdbus-connection-slow.test 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s ok 2 /debug-controller/dbus/duplicate 957s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 957s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 957s # End of dbus tests 957s # End of debug-controller tests 957s TAP version 14 957s # random seed: R02S7b37dec18eeda1f83aa82ae917d75974 957s 1..2 957s # Start of atomic tests 957s ok 1 /atomic/types 957s ok 2 /atomic/threaded 957s # End of atomic tests 957s TAP version 14 957s # random seed: R02S2861cef213f953ca9b39841de809a9e1 957s 1..1 957s # Start of portal-support tests 957s # Start of flatpak tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/runtime 957s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_ISQHK3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 957s ok 1 /portal-support/flatpak/none 957s # End of flatpak tests 957s # End of portal-support tests 957s TAP version 14 957s # random seed: R02S2dfcf0007e6850141d4f90261406ec56 957s 1..4 957s # Start of struct-info tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_11KHK3/struct-info/field-iterators/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_11KHK3/struct-info/field-iterators/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_11KHK3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_11KHK3/struct-info/field-iterators/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_11KHK3/struct-info/field-iterators/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_11KHK3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_11KHK3/struct-info/field-iterators/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_11KHK3/struct-info/field-iterators/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_11KHK3/struct-info/field-iterators/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_11KHK3/struct-info/field-iterators/.dirs/runtime 957s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 957s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 957s ok 1 /struct-info/field-iterators 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_11KHK3/struct-info/sizeof-gvalue/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_11KHK3/struct-info/sizeof-gvalue/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_11KHK3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_11KHK3/struct-info/sizeof-gvalue/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_11KHK3/struct-info/sizeof-gvalue/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_11KHK3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_11KHK3/struct-info/sizeof-gvalue/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_11KHK3/struct-info/sizeof-gvalue/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_11KHK3/struct-info/sizeof-gvalue/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_11KHK3/struct-info/sizeof-gvalue/.dirs/runtime 957s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 957s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 957s ok 2 /struct-info/sizeof-gvalue 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_11KHK3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_11KHK3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_11KHK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_11KHK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_11KHK3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_11KHK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_11KHK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_11KHK3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_11KHK3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_11KHK3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 957s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 957s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 957s ok 3 /struct-info/is-pointer-for-struct-method-arg 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_11KHK3/struct-info/boxed/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_11KHK3/struct-info/boxed/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_11KHK3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_11KHK3/struct-info/boxed/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_11KHK3/struct-info/boxed/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_11KHK3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_11KHK3/struct-info/boxed/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_11KHK3/struct-info/boxed/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_11KHK3/struct-info/boxed/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_11KHK3/struct-info/boxed/.dirs/runtime 957s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 957s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 957s ok 4 /struct-info/boxed 957s # End of struct-info tests 957s TAP version 14 957s # random seed: R02S72561b7ef192eda4df9615a8920f1628 957s 1..2 957s # Start of gdbus tests 957s # Start of connection tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/flush/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/flush/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/flush/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/flush/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/flush/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/flush/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/flush/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/flush/.dirs/runtime 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s ok 1 /gdbus/connection/flush 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/large_message/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/large_message/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/large_message/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/large_message/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/large_message/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/large_message/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/large_message/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_MBEHK3/gdbus/connection/large_message/.dirs/runtime 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 957s ok 2 /gdbus/connection/large_message 957s # End of connection tests 957s # End of gdbus tests 957s ok - glib/gdbus-connection-slow.test 957s # Running test: glib/atomic-c-11.test 957s TAP version 14 957s # random seed: R02Sda34400a924064234b64aab046596168 957s 1..2 957s # Start of atomic tests 957s ok 1 /atomic/types 957s ok 2 /atomic/threaded 957s # End of atomic tests 957s ok - glib/atomic-c-11.test 957s # Running test: glib/types.test 957s TAP version 14 957s # random seed: R02S499a231a57930fe399665f5641e4027a 957s 1..1 957s # Start of types tests 957s ok 1 /types/basic_types 957s # End of types tests 957s ok - glib/types.test 957s # Running test: glib/keyfile.test 957s TAP version 14 957s # random seed: R02S280e566b2f458dd5b45bc75107910c9d 957s 1..36 957s # Start of keyfile tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/line-ends/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/line-ends/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/line-ends/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/line-ends/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/line-ends/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/line-ends/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/line-ends/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/line-ends/.dirs/runtime 957s ok 1 /keyfile/line-ends 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/whitespace/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/whitespace/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/whitespace/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/whitespace/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/whitespace/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/whitespace/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/whitespace/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/whitespace/.dirs/runtime 957s ok 2 /keyfile/whitespace 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/comments/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/comments/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/comments/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/comments/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/comments/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/comments/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/comments/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/comments/.dirs/runtime 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 957s ok 3 /keyfile/comments 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/listing/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/listing/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/listing/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/listing/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/listing/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/listing/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/listing/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/listing/.dirs/runtime 957s ok 4 /keyfile/listing 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/string/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/string/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/string/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/string/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/string/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/string/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/string/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/string/.dirs/runtime 957s ok 5 /keyfile/string 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/boolean/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/boolean/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/boolean/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/boolean/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/boolean/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/boolean/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/boolean/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/boolean/.dirs/runtime 957s ok 6 /keyfile/boolean 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/number/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/number/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/number/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/number/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/number/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/number/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/number/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/number/.dirs/runtime 957s ok 7 /keyfile/number 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/locale-string/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/locale-string/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/.dirs/runtime 957s ok 8 /keyfile/locale-string 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/lists/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/lists/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/lists/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/lists/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/lists/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/lists/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/lists/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/lists/.dirs/runtime 957s ok 9 /keyfile/lists 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/lists-set-get/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/lists-set-get/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/lists-set-get/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/lists-set-get/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/lists-set-get/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/lists-set-get/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/lists-set-get/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/lists-set-get/.dirs/runtime 957s ok 10 /keyfile/lists-set-get 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/group-remove/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/group-remove/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/group-remove/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/group-remove/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/group-remove/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/group-remove/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/group-remove/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/group-remove/.dirs/runtime 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 957s ok 11 /keyfile/group-remove 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/key-remove/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/key-remove/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/key-remove/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/key-remove/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/key-remove/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/key-remove/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/key-remove/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/key-remove/.dirs/runtime 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 957s ok 12 /keyfile/key-remove 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/groups/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/groups/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/groups/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/groups/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/groups/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/groups/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/groups/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/groups/.dirs/runtime 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 957s ok 13 /keyfile/groups 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-keys/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-keys/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/duplicate-keys/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-keys/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/duplicate-keys/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-keys/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-keys/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-keys/.dirs/runtime 957s ok 14 /keyfile/duplicate-keys 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups/.dirs/runtime 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 957s ok 15 /keyfile/duplicate-groups 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups2/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups2/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups2/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups2/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups2/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups2/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups2/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/duplicate-groups2/.dirs/runtime 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 957s ok 16 /keyfile/duplicate-groups2 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/group-names/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/group-names/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/group-names/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/group-names/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/group-names/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/group-names/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/group-names/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/group-names/.dirs/runtime 957s ok 17 /keyfile/group-names 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/key-names/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/key-names/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/key-names/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/key-names/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/key-names/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/key-names/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/key-names/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/key-names/.dirs/runtime 957s ok 18 /keyfile/key-names 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/reload/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/reload/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/reload/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/reload/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/reload/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/reload/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/reload/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/reload/.dirs/runtime 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 957s ok 19 /keyfile/reload 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/int64/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/int64/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/int64/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/int64/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/int64/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/int64/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/int64/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/int64/.dirs/runtime 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 957s ok 20 /keyfile/int64 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/load/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/load/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/load/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/load/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/load/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/load/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/load/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/load/.dirs/runtime 957s ok 21 /keyfile/load 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/save/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/save/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/save/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/save/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/save/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/save/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/save/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/save/.dirs/runtime 957s ok 22 /keyfile/save 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/load-fail/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/load-fail/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/load-fail/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/load-fail/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/load-fail/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/load-fail/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/load-fail/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/load-fail/.dirs/runtime 957s ok 23 /keyfile/load-fail 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/non-utf8/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/non-utf8/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/non-utf8/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/non-utf8/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/non-utf8/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/non-utf8/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/non-utf8/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/non-utf8/.dirs/runtime 957s ok 24 /keyfile/non-utf8 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/page-boundary/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/page-boundary/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/page-boundary/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/page-boundary/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/page-boundary/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/page-boundary/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/page-boundary/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/page-boundary/.dirs/runtime 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 957s ok 25 /keyfile/page-boundary 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/ref/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/ref/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/ref/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/ref/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/ref/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/ref/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/ref/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/ref/.dirs/runtime 957s ok 26 /keyfile/ref 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/replace-value/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/replace-value/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/replace-value/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/replace-value/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/replace-value/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/replace-value/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/replace-value/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/replace-value/.dirs/runtime 957s ok 27 /keyfile/replace-value 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/list-separator/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/list-separator/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/list-separator/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/list-separator/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/list-separator/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/list-separator/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/list-separator/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/list-separator/.dirs/runtime 957s ok 28 /keyfile/list-separator 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/empty-string/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/empty-string/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/empty-string/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/empty-string/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/empty-string/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/empty-string/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/empty-string/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/empty-string/.dirs/runtime 957s ok 29 /keyfile/empty-string 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/limbo/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/limbo/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/limbo/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/limbo/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/limbo/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/limbo/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/limbo/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/limbo/.dirs/runtime 957s ok 30 /keyfile/limbo 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/utf8/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/utf8/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/utf8/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/utf8/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/utf8/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/utf8/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/utf8/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/utf8/.dirs/runtime 957s # Testing invalid encoding ‘non-UTF-8’ 957s # Testing invalid encoding ‘UTF’ 957s # Testing invalid encoding ‘UTF-9’ 957s ok 31 /keyfile/utf8 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/roundtrip/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/roundtrip/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/roundtrip/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/roundtrip/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/roundtrip/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/roundtrip/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/roundtrip/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/roundtrip/.dirs/runtime 957s ok 32 /keyfile/roundtrip 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/bytes/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/bytes/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/bytes/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/bytes/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/bytes/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/bytes/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/bytes/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/bytes/.dirs/runtime 957s ok 33 /keyfile/bytes 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/get-locale/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/get-locale/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/get-locale/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/get-locale/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/get-locale/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/get-locale/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/get-locale/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/get-locale/.dirs/runtime 957s ok 34 /keyfile/get-locale 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/free-when-not-last-ref/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/free-when-not-last-ref/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/free-when-not-last-ref/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/free-when-not-last-ref/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/free-when-not-last-ref/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/free-when-not-last-ref/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/free-when-not-last-ref/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/free-when-not-last-ref/.dirs/runtime 957s ok 35 /keyfile/free-when-not-last-ref 957s # Start of locale-string tests 957s ok - glib/keyfile.test 957s # Running test: glib/file-thumbnail.test 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/multiple-loads/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/multiple-loads/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_JFRCK3/keyfile/locale-string/multiple-loads/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/multiple-loads/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_JFRCK3/keyfile/locale-string/multiple-loads/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/multiple-loads/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/multiple-loads/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JFRCK3/keyfile/locale-string/multiple-loads/.dirs/runtime 957s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 957s ok 36 /keyfile/locale-string/multiple-loads 957s # End of locale-string tests 957s # End of keyfile tests 957s TAP version 14 957s # random seed: R02Sbd5676214783a0ca4650fd5c7b5a5872 957s 1..7 957s # Start of file-thumbnail tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/runtime 957s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 957s ok 1 /file-thumbnail/fail 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/runtime 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 957s ok - glib/file-thumbnail.test 957s # Running test: glib/utils-c-89.test 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 957s ok 2 /file-thumbnail/size-priority 957s # Start of valid tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/runtime 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 957s ok 3 /file-thumbnail/valid/normal 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/runtime 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 957s ok 4 /file-thumbnail/valid/large 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/runtime 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 957s ok 5 /file-thumbnail/valid/x-large 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/runtime 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 957s ok 6 /file-thumbnail/valid/xx-large 957s # End of valid tests 957s # Start of unknown tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/runtime 957s # Created test thumbnail at /tmp/test_file-thumbnail_NPECK3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 957s ok 7 /file-thumbnail/unknown/super-large 957s # End of unknown tests 957s # End of file-thumbnail tests 957s TAP version 14 957s # random seed: R02Sb7da2264b798ac55181e36539262c6a2 957s 1..41 957s # Start of utils tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/language-names/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/language-names/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/language-names/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/language-names/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/language-names/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/language-names/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/language-names/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/language-names/.dirs/runtime 957s ok 1 /utils/language-names 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/locale-variants/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/locale-variants/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/locale-variants/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/locale-variants/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/locale-variants/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/locale-variants/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/locale-variants/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/locale-variants/.dirs/runtime 957s # Testing locale ‘en’ 957s # Testing locale ‘sr@latin’ 957s # Testing locale ‘fr_BE’ 957s # Testing locale ‘sr_SR@latin’ 957s # Testing locale ‘sr_SR@latin.UTF-8’ 957s # Testing locale ‘sr@latin_invalid’ 957s # Testing locale ‘sr.UTF-8@latin’ 957s # Testing locale ‘sr.UTF-8_latin’ 957s # Testing locale ‘sr.UTF-8@latin_invalid’ 957s ok 2 /utils/locale-variants 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/version/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/version/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/version/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/version/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/version/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/version/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/version/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/version/.dirs/runtime 957s ok 3 /utils/version 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/appname/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/appname/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/appname/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/appname/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/appname/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/appname/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/appname/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/appname/.dirs/runtime 957s ok 4 /utils/appname 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/prgname-thread-safety/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/prgname-thread-safety/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/prgname-thread-safety/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/prgname-thread-safety/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/prgname-thread-safety/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/prgname-thread-safety/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/prgname-thread-safety/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/prgname-thread-safety/.dirs/runtime 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 957s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 957s ok 5 /utils/prgname-thread-safety 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/tmpdir/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/tmpdir/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/tmpdir/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/tmpdir/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/tmpdir/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/tmpdir/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/tmpdir/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/tmpdir/.dirs/runtime 957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 957s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 957s Unable to clean up temporary directory /tmp/test_utils-c-89_ZD4BK3/utils/tmpdir: No such file or directory 957s ok 6 /utils/tmpdir 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/basic_bits/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/basic_bits/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/basic_bits/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/basic_bits/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/basic_bits/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/basic_bits/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/basic_bits/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/basic_bits/.dirs/runtime 957s ok 7 /utils/basic_bits 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/bits/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/bits/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/bits/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/bits/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/bits/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/bits/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/bits/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/bits/.dirs/runtime 957s ok 8 /utils/bits 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/swap/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/swap/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/swap/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/swap/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/swap/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/swap/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/swap/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/swap/.dirs/runtime 957s ok 9 /utils/swap 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/find-program/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/find-program/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/find-program/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/find-program/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/find-program/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/find-program/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/find-program/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/find-program/.dirs/runtime 957s ok 10 /utils/find-program 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/find-program-for-path/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/find-program-for-path/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/find-program-for-path/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/find-program-for-path/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/find-program-for-path/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/find-program-for-path/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/find-program-for-path/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/find-program-for-path/.dirs/runtime 957s ok 11 /utils/find-program-for-path 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/debug/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/debug/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/debug/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/debug/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/debug/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/debug/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/debug/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/debug/.dirs/runtime 957s Unable to clean up temporary directory /tmp/test_utils-c-89_ZD4BK3/utils/debug: No such file or directory 957s ok 12 /utils/debug 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/codeset/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/codeset/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/codeset/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/codeset/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/codeset/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/codeset/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/codeset/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/codeset/.dirs/runtime 957s ok 13 /utils/codeset 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/codeset2/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/codeset2/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/codeset2/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/codeset2/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/codeset2/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/codeset2/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/codeset2/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/codeset2/.dirs/runtime 957s Unable to clean up temporary directory /tmp/test_utils-c-89_ZD4BK3/utils/codeset2: No such file or directory 957s ok 14 /utils/codeset2 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/console-charset/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/console-charset/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/console-charset/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/console-charset/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/console-charset/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/console-charset/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/console-charset/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/console-charset/.dirs/runtime 957s ok 15 /utils/console-charset 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/gettext/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/gettext/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/gettext/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/gettext/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/gettext/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/gettext/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/gettext/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/gettext/.dirs/runtime 957s ok 16 /utils/gettext 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/username/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/username/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/username/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/username/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/username/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/username/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/username/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/username/.dirs/runtime 957s ok 17 /utils/username 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/realname/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/realname/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/realname/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/realname/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/realname/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/realname/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/realname/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/realname/.dirs/runtime 957s ok 18 /utils/realname 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/hostname/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/hostname/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/hostname/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/hostname/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/hostname/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/hostname/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/hostname/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/hostname/.dirs/runtime 957s ok 19 /utils/hostname 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/os-info/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/os-info/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/os-info/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/os-info/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/os-info/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/os-info/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/os-info/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/os-info/.dirs/runtime 957s # NAME: Ubuntu 957s ok 20 /utils/os-info 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/.dirs/runtime 957s ok 21 /utils/clear-pointer 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer-cast/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer-cast/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer-cast/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer-cast/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer-cast/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer-cast/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer-cast/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer-cast/.dirs/runtime 957s ok 22 /utils/clear-pointer-cast 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/take-pointer/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/take-pointer/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/take-pointer/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/take-pointer/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/take-pointer/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/take-pointer/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/take-pointer/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/take-pointer/.dirs/runtime 957s ok 23 /utils/take-pointer 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-source/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-source/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-source/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-source/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-source/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-source/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-source/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/clear-source/.dirs/runtime 957s ok 24 /utils/clear-source 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/misc-mem/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/misc-mem/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/misc-mem/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/misc-mem/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/misc-mem/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/misc-mem/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/misc-mem/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/misc-mem/.dirs/runtime 957s ok 25 /utils/misc-mem 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/.dirs/runtime 957s # /utils/aligned-mem summary: Aligned memory allocator 957s # Alignment must not be zero 957s # Alignment must be a power of two 957s # Alignment must be a multiple of sizeof(void*) 957s ok 26 /utils/aligned-mem 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/free-sized/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/free-sized/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/free-sized/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/free-sized/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/free-sized/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/free-sized/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/free-sized/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/free-sized/.dirs/runtime 957s # /utils/free-sized summary: Check that g_free_sized() works 957s ok 27 /utils/free-sized 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/nullify/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/nullify/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/nullify/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/nullify/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/nullify/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/nullify/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/nullify/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/nullify/.dirs/runtime 957s ok 28 /utils/nullify 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/atexit/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/atexit/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/atexit/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/atexit/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/atexit/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/atexit/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/atexit/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/atexit/.dirs/runtime 957s Unable to clean up temporary directory /tmp/test_utils-c-89_ZD4BK3/utils/atexit: No such file or directory 957s ok 29 /utils/atexit 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/check-setuid/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/check-setuid/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/check-setuid/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/check-setuid/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/check-setuid/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/check-setuid/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/check-setuid/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/check-setuid/.dirs/runtime 957s ok 30 /utils/check-setuid 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/int-limits/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/int-limits/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/int-limits/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/int-limits/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/int-limits/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/int-limits/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/int-limits/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/int-limits/.dirs/runtime 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 957s ok 31 /utils/int-limits 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-list/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-list/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-list/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-list/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-list/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-list/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-list/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/clear-list/.dirs/runtime 957s ok 32 /utils/clear-list 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-slist/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-slist/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-slist/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-slist/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-slist/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-slist/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-slist/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/clear-slist/.dirs/runtime 957s ok 33 /utils/clear-slist 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/steal-handle-id/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/steal-handle-id/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/steal-handle-id/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/steal-handle-id/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/steal-handle-id/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/steal-handle-id/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/steal-handle-id/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/steal-handle-id/.dirs/runtime 957s ok 34 /utils/steal-handle-id 957s # Start of user-special-dirs tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/desktop/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/desktop/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/desktop/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/desktop/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/desktop/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/desktop/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/desktop/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/desktop/.dirs/runtime 957s ok 35 /utils/user-special-dirs/desktop 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 957s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 957s Unable to clean up temporary directory /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/load-unlocked: No such file or directory 957s ok 36 /utils/user-special-dirs/load-unlocked 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 957s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 957s Unable to clean up temporary directory /tmp/test_utils-c-89_ZD4BK3/utils/user-special-dirs/reload-leaks: No such file or directory 957s ok 37 /utils/user-special-dirs/reload-leaks 957s # End of user-special-dirs tests 957s # Start of clear-pointer tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/side-effects/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/side-effects/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/side-effects/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/side-effects/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/side-effects/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/side-effects/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/side-effects/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/clear-pointer/side-effects/.dirs/runtime 957s ok 38 /utils/clear-pointer/side-effects 957s # End of clear-pointer tests 957s # Start of aligned-mem tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/alignment/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/alignment/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/alignment/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/alignment/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/alignment/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/alignment/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/alignment/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/alignment/.dirs/runtime 957s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 957s ok 39 /utils/aligned-mem/alignment 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/zeroed/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/zeroed/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/zeroed/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/zeroed/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/zeroed/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/zeroed/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/zeroed/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/zeroed/.dirs/runtime 957s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 957s ok 40 /utils/aligned-mem/zeroed 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/free-sized/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/free-sized/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/free-sized/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/free-sized/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/free-sized/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/free-sized/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/free-sized/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_ZD4BK3/utils/aligned-mem/free-sized/.dirs/runtime 957s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 957s ok 41 /utils/aligned-mem/free-sized 957s # Start of subprocess tests 957s # End of subprocess tests 957s # End of aligned-mem tests 957s # End of utils tests 957s ok - glib/utils-c-89.test 957s # Running test: glib/gdbus-server-auth.test 957s TAP version 14 957s # random seed: R02Sd30383e8c6ff9f793877a682a375a714 957s 1..9 957s # Start of gdbus tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/.dirs/runtime 957s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-HNOAK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 957s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-HNOAK3/dbus-StTopGwR 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 34759 957s ok 1 /gdbus/server-auth 957s # Start of server-auth tests 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/abstract/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/abstract/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/abstract/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/abstract/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/abstract/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/abstract/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/abstract/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/abstract/.dirs/runtime 957s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-BUDAK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 957s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-BUDAK3/dbus-wG0OGhfX 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 957s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 957s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 34759 957s ok 2 /gdbus/server-auth/abstract 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/tcp/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/tcp/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/tcp/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/tcp/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/tcp/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/tcp/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/tcp/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/tcp/.dirs/runtime 957s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 957s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/.dirs/runtime 957s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-JP29J3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 957s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-JP29J3/dbus-pEaA6meO 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 34759 957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 957s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 34759 957s ok 4 /gdbus/server-auth/anonymous 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/.dirs/runtime 957s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-88L9J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 957s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-88L9J3/dbus-kWgxIcFo 957s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 957s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 957s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 34759 958s ok 5 /gdbus/server-auth/external 958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/.dirs/home 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/.dirs/cache 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/.dirs/system-config2 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/.dirs/config 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/.dirs/system-data2 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/.dirs/data 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/.dirs/state 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/.dirs/runtime 958s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-1TB9J3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 958s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 958s # Start of anonymous tests 958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/tcp/.dirs/home 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/tcp/.dirs/config 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/tcp/.dirs/data 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/tcp/.dirs/state 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 958s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 958s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 958s # End of anonymous tests 958s # Start of external tests 958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/require-same-user/.dirs/home 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/require-same-user/.dirs/cache 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/require-same-user/.dirs/config 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/require-same-user/.dirs/data 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/require-same-user/.dirs/state 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 958s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-OCA9J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 958s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6TOAK3/gdbus-server-auth-OCA9J3/dbus-GFeJ4Ehy 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 34759 958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 958s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 958s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 958s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=34759,uid=1000,gid=1000 958s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 34759 958s ok 8 /gdbus/server-auth/external/require-same-user 958s # End of external tests 958s # Start of sha1 tests 958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/tcp/.dirs/home 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/tcp/.dirs/cache 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/tcp/.dirs/config 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/tcp/.dirs/data 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/tcp/.dirs/state 958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6TOAK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 958s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 958s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 958s # End of sha1 tests 958s # End of server-auth tests 958s # End of gdbus tests 958s ok - glib/gdbus-server-auth.test 958s # Running test: glib/markup-escape.test 958s TAP version 14 958s # random seed: R02S1ffd258807c3bb3b353f00d81ff55484 958s 1..41 958s # Start of markup tests 958s ok 1 /markup/format 958s # Start of escape-text tests 958s ok 2 /markup/escape-text/0 958s ok 3 /markup/escape-text/1 958s ok 4 /markup/escape-text/2 958s ok 5 /markup/escape-text/3 958s ok 6 /markup/escape-text/4 958s ok 7 /markup/escape-text/5 958s ok 8 /markup/escape-text/6 958s ok 9 /markup/escape-text/7 958s ok 10 /markup/escape-text/8 958s ok 11 /markup/escape-text/9 958s ok 12 /markup/escape-text/10 958s ok 13 /markup/escape-text/11 958s ok 14 /markup/escape-text/12 958s ok 15 /markup/escape-text/13 958s ok 16 /markup/escape-text/14 958s ok 17 /markup/escape-text/15 958s ok 18 /markup/escape-text/16 958s ok 19 /markup/escape-text/17 958s ok 20 /markup/escape-text/18 958s ok 21 /markup/escape-text/19 958s ok 22 /markup/escape-text/20 958s ok 23 /markup/escape-text/21 958s ok 24 /markup/escape-text/22 958s # End of escape-text tests 958s # Start of escape-unichar tests 958s ok 25 /markup/escape-unichar/0 958s ok 26 /markup/escape-unichar/1 958s ok 27 /markup/escape-unichar/2 958s ok 28 /markup/escape-unichar/3 958s ok 29 /markup/escape-unichar/4 958s ok 30 /markup/escape-unichar/5 958s ok 31 /markup/escape-unichar/6 958s ok 32 /markup/escape-unichar/7 958s ok 33 /markup/escape-unichar/8 958s ok 34 /markup/escape-unichar/9 958s ok 35 /markup/escape-unichar/10 958s ok 36 /markup/escape-unichar/11 958s ok 37 /markup/escape-unichar/12 958s ok 38 /markup/escape-unichar/13 958s ok 39 /markup/escape-unichar/14 958s ok 40 /markup/escape-unichar/15 958s ok 41 /markup/escape-unichar/16 958s # End of escape-unichar tests 958s # End of markup tests 958s ok - glib/markup-escape.test 958s # Running test: glib/mkenums.py.test 958s TAP version 13 958s ok 1 __main__.TestMkenums.test_available_in 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpe3wsiw96 958s # rspfile: False 958s # /tmp/tmpe3wsiw96/tmp46fqsdk0.h: 958s # typedef enum { 958s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 958s # } GDBusServerFlags; 958s # 958s # /tmp/tmpe3wsiw96/tmp29layfg8.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe3wsiw96/tmp29layfg8.template', '/tmp/tmpe3wsiw96/tmp46fqsdk0.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-production 958s # filename: /tmp/tmpe3wsiw96/tmp46fqsdk0.h 958s # basename: tmp46fqsdk0.h 958s # enumeration-production 958s # EnumName: GDBusServerFlags 958s # enum_name: g_dbus_server_flags 958s # ENUMNAME: G_DBUS_SERVER_FLAGS 958s # ENUMSHORT: DBUS_SERVER_FLAGS 958s # ENUMPREFIX: G 958s # enumsince: 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # value-header 958s # EnumName: GDBusServerFlags 958s # enum_name: g_dbus_server_flags 958s # ENUMNAME: G_DBUS_SERVER_FLAGS 958s # ENUMSHORT: DBUS_SERVER_FLAGS 958s # ENUMPREFIX: G 958s # enumsince: 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # value-production 958s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 958s # valuenick: user 958s # valuenum: 4 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # value-tail 958s # EnumName: GDBusServerFlags 958s # enum_name: g_dbus_server_flags 958s # ENUMNAME: G_DBUS_SERVER_FLAGS 958s # ENUMSHORT: DBUS_SERVER_FLAGS 958s # ENUMPREFIX: G 958s # enumsince: 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s ok 2 __main__.TestMkenums.test_comma_in_enum_value 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmp4k9jdn3n 958s # rspfile: False 958s # /tmp/tmp4k9jdn3n/tmp65ai7ftv.h: 958s # typedef enum { 958s # ENUM_VALUE_WITH_COMMA = ',', 958s # } TestCommaEnum; 958s # 958s # /tmp/tmp4k9jdn3n/tmp0degnjkx.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4k9jdn3n/tmp0degnjkx.template', '/tmp/tmp4k9jdn3n/tmp65ai7ftv.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-production 958s # filename: /tmp/tmp4k9jdn3n/tmp65ai7ftv.h 958s # basename: tmp65ai7ftv.h 958s # enumeration-production 958s # EnumName: TestCommaEnum 958s # enum_name: test_comma_enum 958s # ENUMNAME: TEST_COMMA_ENUM 958s # ENUMSHORT: COMMA_ENUM 958s # ENUMPREFIX: TEST 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-header 958s # EnumName: TestCommaEnum 958s # enum_name: test_comma_enum 958s # ENUMNAME: TEST_COMMA_ENUM 958s # ENUMSHORT: COMMA_ENUM 958s # ENUMPREFIX: TEST 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-production 958s # VALUENAME: ENUM_VALUE_WITH_COMMA 958s # valuenick: comma 958s # valuenum: 44 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-tail 958s # EnumName: TestCommaEnum 958s # enum_name: test_comma_enum 958s # ENUMNAME: TEST_COMMA_ENUM 958s # ENUMSHORT: COMMA_ENUM 958s # ENUMPREFIX: TEST 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s ok 3 __main__.TestMkenums.test_deprecated_in 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpyyw5w0lw 958s # rspfile: False 958s # /tmp/tmpyyw5w0lw/tmpx8hqj4h9.h: 958s # typedef enum { 958s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 958s # } GDBusServerFlags; 958s # 958s # /tmp/tmpyyw5w0lw/tmpmbrt2pds.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyyw5w0lw/tmpmbrt2pds.template', '/tmp/tmpyyw5w0lw/tmpx8hqj4h9.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-production 958s # filename: /tmp/tmpyyw5w0lw/tmpx8hqj4h9.h 958s # basename: tmpx8hqj4h9.h 958s # enumeration-production 958s # EnumName: GDBusServerFlags 958s # enum_name: g_dbus_server_flags 958s # ENUMNAME: G_DBUS_SERVER_FLAGS 958s # ENUMSHORT: DBUS_SERVER_FLAGS 958s # ENUMPREFIX: G 958s # enumsince: 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # value-header 958s # EnumName: GDBusServerFlags 958s # enum_name: g_dbus_server_flags 958s # ENUMNAME: G_DBUS_SERVER_FLAGS 958s # ENUMSHORT: DBUS_SERVER_FLAGS 958s # ENUMPREFIX: G 958s # enumsince: 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # value-production 958s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 958s # valuenick: user 958s # valuenum: 4 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # value-tail 958s # EnumName: GDBusServerFlags 958s # enum_name: g_dbus_server_flags 958s # ENUMNAME: G_DBUS_SERVER_FLAGS 958s # ENUMSHORT: DBUS_SERVER_FLAGS 958s # ENUMPREFIX: G 958s # enumsince: 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s ok 4 __main__.TestMkenums.test_deprecated_in_for 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpt75nomcy 958s # rspfile: False 958s # /tmp/tmpt75nomcy/tmpi22i2kmq.h: 958s # typedef enum { 958s # 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) 958s # } GDBusServerFlags; 958s # 958s # /tmp/tmpt75nomcy/tmpye8q6nst.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt75nomcy/tmpye8q6nst.template', '/tmp/tmpt75nomcy/tmpi22i2kmq.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-production 958s # filename: /tmp/tmpt75nomcy/tmpi22i2kmq.h 958s # basename: tmpi22i2kmq.h 958s # enumeration-production 958s # EnumName: GDBusServerFlags 958s # enum_name: g_dbus_server_flags 958s # ENUMNAME: G_DBUS_SERVER_FLAGS 958s # ENUMSHORT: DBUS_SERVER_FLAGS 958s # ENUMPREFIX: G 958s # enumsince: 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # value-header 958s # EnumName: GDBusServerFlags 958s # enum_name: g_dbus_server_flags 958s # ENUMNAME: G_DBUS_SERVER_FLAGS 958s # ENUMSHORT: DBUS_SERVER_FLAGS 958s # ENUMPREFIX: G 958s # enumsince: 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # value-production 958s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 958s # valuenick: user 958s # valuenum: 4 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # value-tail 958s # EnumName: GDBusServerFlags 958s # enum_name: g_dbus_server_flags 958s # ENUMNAME: G_DBUS_SERVER_FLAGS 958s # ENUMSHORT: DBUS_SERVER_FLAGS 958s # ENUMPREFIX: G 958s # enumsince: 958s # type: flags 958s # Type: Flags 958s # TYPE: FLAGS 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s ok 5 __main__.TestMkenums.test_empty_header 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmprern7pvl 958s # rspfile: False 958s # /tmp/tmprern7pvl/tmpx4wg3yes.h: 958s # /tmp/tmprern7pvl/tmpevrdmhtl.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprern7pvl/tmpevrdmhtl.template', '/tmp/tmprern7pvl/tmpx4wg3yes.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s ok 6 __main__.TestMkenums.test_empty_template 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpz8rsqseb 958s # rspfile: False 958s # /tmp/tmpz8rsqseb/tmpcm_i3w5o.template: 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz8rsqseb/tmpcm_i3w5o.template'] 958s # Return code: 0 958s # Output: 958s # /* 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. */ 958s # 958s # 958s # /* Generated data ends here */ 958s # Error: 958s ok 7 __main__.TestMkenums.test_enum_name 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpw4wa76cd 958s # rspfile: False 958s # /tmp/tmpw4wa76cd/tmp24x2dwtn.h: 958s # typedef enum _SomeEnumIdentifier { 958s # ENUM_VALUE 958s # } SomeEnumIdentifier; 958s # 958s # /tmp/tmpw4wa76cd/tmpw_dasxmq.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpw4wa76cd/tmpw_dasxmq.template', '/tmp/tmpw4wa76cd/tmp24x2dwtn.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-production 958s # filename: /tmp/tmpw4wa76cd/tmp24x2dwtn.h 958s # basename: tmp24x2dwtn.h 958s # enumeration-production 958s # EnumName: SomeEnumIdentifier 958s # enum_name: some_enum_identifier 958s # ENUMNAME: SOME_ENUM_IDENTIFIER 958s # ENUMSHORT: ENUM_IDENTIFIER 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-header 958s # EnumName: SomeEnumIdentifier 958s # enum_name: some_enum_identifier 958s # ENUMNAME: SOME_ENUM_IDENTIFIER 958s # ENUMSHORT: ENUM_IDENTIFIER 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-production 958s # VALUENAME: ENUM_VALUE 958s # valuenick: value 958s # valuenum: 0 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-tail 958s # EnumName: SomeEnumIdentifier 958s # enum_name: some_enum_identifier 958s # ENUMNAME: SOME_ENUM_IDENTIFIER 958s # ENUMSHORT: ENUM_IDENTIFIER 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s ok 8 __main__.TestMkenums.test_enum_private_public 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpkztpaqat 958s # rspfile: False 958s # /tmp/tmpkztpaqat/tmpn1d752q4.h: 958s # typedef enum { 958s # ENUM_VALUE_PUBLIC1, 958s # /*< private >*/ 958s # ENUM_VALUE_PRIVATE, 958s # } SomeEnumA 958s # 958s # /tmp/tmpkztpaqat/tmpbphv7dh_.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkztpaqat/tmpbphv7dh_.template', '/tmp/tmpkztpaqat/tmpn1d752q4.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-production 958s # filename: /tmp/tmpkztpaqat/tmpn1d752q4.h 958s # basename: tmpn1d752q4.h 958s # enumeration-production 958s # EnumName: SomeEnumA 958s # enum_name: some_enum_a 958s # ENUMNAME: SOME_ENUM_A 958s # ENUMSHORT: ENUM_A 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-header 958s # EnumName: SomeEnumA 958s # enum_name: some_enum_a 958s # ENUMNAME: SOME_ENUM_A 958s # ENUMSHORT: ENUM_A 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-production 958s # VALUENAME: ENUM_VALUE_PUBLIC1 958s # valuenick: public1 958s # valuenum: 0 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-tail 958s # EnumName: SomeEnumA 958s # enum_name: some_enum_a 958s # ENUMNAME: SOME_ENUM_A 958s # ENUMSHORT: ENUM_A 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s # 958s # /tmp/tmpkztpaqat/tmpddl_powg.h: 958s # typedef enum { 958s # /*< private >*/ 958s # ENUM_VALUE_PRIVATE, 958s # /*< public >*/ 958s # ENUM_VALUE_PUBLIC2, 958s # } SomeEnumB; 958s # 958s # /tmp/tmpkztpaqat/tmp2r3itq6d.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkztpaqat/tmp2r3itq6d.template', '/tmp/tmpkztpaqat/tmpddl_powg.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-production 958s # filename: /tmp/tmpkztpaqat/tmpddl_powg.h 958s # basename: tmpddl_powg.h 958s # enumeration-production 958s # EnumName: SomeEnumB 958s # enum_name: some_enum_b 958s # ENUMNAME: SOME_ENUM_B 958s # ENUMSHORT: ENUM_B 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-header 958s # EnumName: SomeEnumB 958s # enum_name: some_enum_b 958s # ENUMNAME: SOME_ENUM_B 958s # ENUMSHORT: ENUM_B 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-production 958s # VALUENAME: ENUM_VALUE_PUBLIC2 958s # valuenick: public2 958s # valuenum: 1 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-tail 958s # EnumName: SomeEnumB 958s # enum_name: some_enum_b 958s # ENUMNAME: SOME_ENUM_B 958s # ENUMSHORT: ENUM_B 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpl50ms_m_ 958s # rspfile: False 958s # /tmp/tmpl50ms_m_/tmpxlp4ck4q.h: 958s # typedef enum { 958s # /*< private >*/ 958s # ENUM_VALUE_PRIVATE = 5, 958s # /*< public >*/ 958s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 958s # } TestSymbolicEnum; 958s # 958s # /tmp/tmpl50ms_m_/tmpqwkozmd9.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpl50ms_m_/tmpqwkozmd9.template', '/tmp/tmpl50ms_m_/tmpxlp4ck4q.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-production 958s # filename: /tmp/tmpl50ms_m_/tmpxlp4ck4q.h 958s # basename: tmpxlp4ck4q.h 958s # enumeration-production 958s # EnumName: TestSymbolicEnum 958s # enum_name: test_symbolic_enum 958s # ENUMNAME: TEST_SYMBOLIC_ENUM 958s # ENUMSHORT: SYMBOLIC_ENUM 958s # ENUMPREFIX: TEST 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-header 958s # EnumName: TestSymbolicEnum 958s # enum_name: test_symbolic_enum 958s # ENUMNAME: TEST_SYMBOLIC_ENUM 958s # ENUMSHORT: SYMBOLIC_ENUM 958s # ENUMPREFIX: TEST 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-production 958s # VALUENAME: ENUM_VALUE_PUBLIC 958s # valuenick: public 958s # valuenum: 7 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-tail 958s # EnumName: TestSymbolicEnum 958s # enum_name: test_symbolic_enum 958s # ENUMNAME: TEST_SYMBOLIC_ENUM 958s # ENUMSHORT: SYMBOLIC_ENUM 958s # ENUMPREFIX: TEST 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpmrkxypc7 958s # rspfile: False 958s # /tmp/tmpmrkxypc7/tmpy_p99hts.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-tail ***/ 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmrkxypc7/tmpy_p99hts.template'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # filename: @filename@ 958s # basename: @basename@ 958s # file-tail 958s # filename: @filename@ 958s # basename: @basename@ 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s # WARNING: @filename@ used in file-header section. 958s # WARNING: @basename@ used in file-header section. 958s # WARNING: @filename@ used in file-tail section. 958s # WARNING: @basename@ used in file-tail section. 958s ok 11 __main__.TestMkenums.test_help 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpif1ybocd 958s # rspfile: False 958s # Running: ['/usr/bin/glib-mkenums', '--help'] 958s # Return code: 0 958s # Output: 958s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 958s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 958s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 958s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 958s # [--comments COMMENT_TMPL] [--template TEMPLATE] 958s # [--output OUTPUT] [--version] 958s # [args ...] 958s # 958s # positional arguments: 958s # args One or more input files, or a single argument 958s # @rspfile_path pointing to a file that contains the 958s # actual arguments 958s # 958s # options: 958s # -h, --help show this help message and exit 958s # --identifier-prefix IDPREFIX 958s # Identifier prefix 958s # --symbol-prefix SYMPREFIX 958s # Symbol prefix 958s # --fhead FHEAD Output file header 958s # --ftail FTAIL Output file footer 958s # --fprod FPROD Put out TEXT every time a new input file is being 958s # processed. 958s # --eprod EPROD Per enum text, produced prior to value iterations 958s # --vhead VHEAD Value header, produced before iterating over enum 958s # values 958s # --vprod VPROD Value text, produced for each enum value. 958s # --vtail VTAIL Value tail, produced after iterating over enum values 958s # --comments COMMENT_TMPL 958s # Comment structure 958s # --template TEMPLATE Template file 958s # --output OUTPUT 958s # --version, -v Print version information 958s # 958s # Production text substitutions: 958s # @EnumName@ PrefixTheXEnum 958s # @enum_name@ prefix_the_xenum 958s # @ENUMNAME@ PREFIX_THE_XENUM 958s # @ENUMSHORT@ THE_XENUM 958s # @ENUMPREFIX@ PREFIX 958s # @enumsince@ the user-provided since value given 958s # @VALUENAME@ PREFIX_THE_XVALUE 958s # @valuenick@ the-xvalue 958s # @valuenum@ the integer value (limited support, Since: 2.26) 958s # @type@ either enum or flags 958s # @Type@ either Enum or Flags 958s # @TYPE@ either ENUM or FLAGS 958s # @filename@ name of current input file 958s # @basename@ base name of the current input file (Since: 2.22) 958s # Error: 958s ok 12 __main__.TestMkenums.test_no_args 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpmmpps2eq 958s # rspfile: False 958s # Running: ['/usr/bin/glib-mkenums'] 958s # Return code: 0 958s # Output: 958s # /* 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. */ 958s # 958s # 958s # /* Generated data ends here */ 958s # Error: 958s ok 13 __main__.TestMkenums.test_no_headers 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmptcjx90ox 958s # rspfile: False 958s # /tmp/tmptcjx90ox/tmpea3c2qkd.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptcjx90ox/tmpea3c2qkd.template'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s ok 14 __main__.TestMkenums.test_no_nick 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpsgwpbww5 958s # rspfile: False 958s # /tmp/tmpsgwpbww5/tmpugouzd_9.h: 958s # typedef enum { 958s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 958s # } GeglSamplerType; 958s # 958s # /tmp/tmpsgwpbww5/tmpujkgse9n.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsgwpbww5/tmpujkgse9n.template', '/tmp/tmpsgwpbww5/tmpugouzd_9.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-production 958s # filename: /tmp/tmpsgwpbww5/tmpugouzd_9.h 958s # basename: tmpugouzd_9.h 958s # enumeration-production 958s # EnumName: GeglSamplerType 958s # enum_name: gegl_sampler_type 958s # ENUMNAME: GEGL_SAMPLER_TYPE 958s # ENUMSHORT: SAMPLER_TYPE 958s # ENUMPREFIX: GEGL 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-header 958s # EnumName: GeglSamplerType 958s # enum_name: gegl_sampler_type 958s # ENUMNAME: GEGL_SAMPLER_TYPE 958s # ENUMSHORT: SAMPLER_TYPE 958s # ENUMPREFIX: GEGL 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-production 958s # VALUENAME: GEGL_SAMPLER_NEAREST 958s # valuenick: nearest 958s # valuenum: 0 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-tail 958s # EnumName: GeglSamplerType 958s # enum_name: gegl_sampler_type 958s # ENUMNAME: GEGL_SAMPLER_TYPE 958s # ENUMSHORT: SAMPLER_TYPE 958s # ENUMPREFIX: GEGL 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s ok 15 __main__.TestMkenums.test_non_utf8_encoding 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmp5za2bcbx 958s # rspfile: False 958s # /tmp/tmp5za2bcbx/tmprte4kklg.h: 958s # /* Copyright © La Peña */ 958s # typedef enum { 958s # ENUM_VALUE 958s # } SomeEnumIdentifier; 958s # 958s # /tmp/tmp5za2bcbx/tmpeot467iy.template: 958s # /*** BEGIN file-header ***/ 958s # file-header 958s # /*** END file-header ***/ 958s # 958s # /*** BEGIN file-production ***/ 958s # file-production 958s # filename: @filename@ 958s # basename: @basename@ 958s # /*** END file-production ***/ 958s # 958s # /*** BEGIN enumeration-production ***/ 958s # enumeration-production 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END enumeration-production ***/ 958s # 958s # /*** BEGIN value-header ***/ 958s # value-header 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-header ***/ 958s # 958s # /*** BEGIN value-production ***/ 958s # value-production 958s # VALUENAME: @VALUENAME@ 958s # valuenick: @valuenick@ 958s # valuenum: @valuenum@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-production ***/ 958s # 958s # /*** BEGIN value-tail ***/ 958s # value-tail 958s # EnumName: @EnumName@ 958s # enum_name: @enum_name@ 958s # ENUMNAME: @ENUMNAME@ 958s # ENUMSHORT: @ENUMSHORT@ 958s # ENUMPREFIX: @ENUMPREFIX@ 958s # enumsince: @enumsince@ 958s # type: @type@ 958s # Type: @Type@ 958s # TYPE: @TYPE@ 958s # /*** END value-tail ***/ 958s # 958s # /*** BEGIN comment ***/ 958s # comment 958s # comment: @comment@ 958s # /*** END comment ***/ 958s # 958s # /*** BEGIN file-tail ***/ 958s # file-tail 958s # /*** END file-tail ***/ 958s # 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5za2bcbx/tmpeot467iy.template', '/tmp/tmp5za2bcbx/tmprte4kklg.h'] 958s # Return code: 0 958s # Output: 958s # comment 958s # 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. 958s # 958s # 958s # file-header 958s # file-production 958s # filename: /tmp/tmp5za2bcbx/tmprte4kklg.h 958s # basename: tmprte4kklg.h 958s # enumeration-production 958s # EnumName: SomeEnumIdentifier 958s # enum_name: some_enum_identifier 958s # ENUMNAME: SOME_ENUM_IDENTIFIER 958s # ENUMSHORT: ENUM_IDENTIFIER 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-header 958s # EnumName: SomeEnumIdentifier 958s # enum_name: some_enum_identifier 958s # ENUMNAME: SOME_ENUM_IDENTIFIER 958s # ENUMSHORT: ENUM_IDENTIFIER 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-production 958s # VALUENAME: ENUM_VALUE 958s # valuenick: value 958s # valuenum: 0 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # value-tail 958s # EnumName: SomeEnumIdentifier 958s # enum_name: some_enum_identifier 958s # ENUMNAME: SOME_ENUM_IDENTIFIER 958s # ENUMSHORT: ENUM_IDENTIFIER 958s # ENUMPREFIX: SOME 958s # enumsince: 958s # type: enum 958s # Type: Enum 958s # TYPE: ENUM 958s # file-tail 958s # 958s # comment 958s # comment: Generated data ends here 958s # Error: 958s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 958s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 958s ok 16 __main__.TestMkenums.test_reproducible 958s # glib-mkenums: /usr/bin/glib-mkenums 958s # tmpdir: /tmp/tmpk51yuymc 958s # rspfile: False 958s # /tmp/tmpk51yuymc/tmpl_6ttlmx.template: template 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpk51yuymc/tmpl_6ttlmx.template', '/tmp/tmpk51yuymc/tmprkqulmjw1.h', '/tmp/tmpk51yuymc/tmpwsfe7db32.h'] 958s # Return code: 0 958s # Output: 958s # /* 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. */ 958s # 958s # 958s # /* Generated data ends here */ 958s # Error: 958s # 958s # /tmp/tmpk51yuymc/tmph22x8l2t.template: template 958s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpk51yuymc/tmph22x8l2t.template', '/tmp/tmpk51yuymc/tmpwsfe7db32.h', '/tmp/tmpk51yuymc/tmprkqulmjw1.h'] 958s # Return code: 0 958s # Output: 958s # /* 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. */ 958s # 958s # 958s # /* Generated data ends here */ 958s # Error: 959s ok 17 __main__.TestMkenums.test_since 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpds4lnnnu 959s # rspfile: False 959s # /tmp/tmpds4lnnnu/tmpnr1p1trf.h: 959s # typedef enum { /*< since=1.0 >*/ 959s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 959s # } QmiWmsMessageProtocol; 959s # 959s # /tmp/tmpds4lnnnu/tmpqg_3ze6d.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpds4lnnnu/tmpqg_3ze6d.template', '/tmp/tmpds4lnnnu/tmpnr1p1trf.h'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmpds4lnnnu/tmpnr1p1trf.h 959s # basename: tmpnr1p1trf.h 959s # enumeration-production 959s # EnumName: QmiWmsMessageProtocol 959s # enum_name: qmi_wms_message_protocol 959s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 959s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 959s # ENUMPREFIX: QMI 959s # enumsince: 1.0 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-header 959s # EnumName: QmiWmsMessageProtocol 959s # enum_name: qmi_wms_message_protocol 959s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 959s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 959s # ENUMPREFIX: QMI 959s # enumsince: 1.0 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-production 959s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 959s # valuenick: cdma 959s # valuenum: 0 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-tail 959s # EnumName: QmiWmsMessageProtocol 959s # enum_name: qmi_wms_message_protocol 959s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 959s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 959s # ENUMPREFIX: QMI 959s # enumsince: 1.0 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 18 __main__.TestMkenums.test_with_double_quotes 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpr4m7e5d2 959s # rspfile: False 959s # /tmp/tmpr4m7e5d2/tmpch0qjumv.h: 959s # typedef enum { 959s # FOO_VALUE /*< nick="eek, a comma" >*/ 959s # } Foo; 959s # 959s # /tmp/tmpr4m7e5d2/tmpsf6p8d3m.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpr4m7e5d2/tmpsf6p8d3m.template', '/tmp/tmpr4m7e5d2/tmpch0qjumv.h'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmpr4m7e5d2/tmpch0qjumv.h 959s # basename: tmpch0qjumv.h 959s # enumeration-production 959s # EnumName: Foo 959s # enum_name: foo_ 959s # ENUMNAME: FOO_ 959s # ENUMSHORT: 959s # ENUMPREFIX: FOO 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-header 959s # EnumName: Foo 959s # enum_name: foo_ 959s # ENUMNAME: FOO_ 959s # ENUMSHORT: 959s # ENUMPREFIX: FOO 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-production 959s # VALUENAME: FOO_VALUE 959s # valuenick: eek, a comma 959s # valuenum: 0 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-tail 959s # EnumName: Foo 959s # enum_name: foo_ 959s # ENUMNAME: FOO_ 959s # ENUMSHORT: 959s # ENUMPREFIX: FOO 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 19 __main__.TestRspMkenums.test_available_in 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpon1vqw3o 959s # rspfile: True 959s # /tmp/tmpon1vqw3o/tmp5t_gcyer.h: 959s # typedef enum { 959s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 959s # } GDBusServerFlags; 959s # 959s # /tmp/tmpon1vqw3o/tmpmxjzt04x.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmpon1vqw3o/tmpmxjzt04x.template /tmp/tmpon1vqw3o/tmp5t_gcyer.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpon1vqw3o/tmp2eemzoqj'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmpon1vqw3o/tmp5t_gcyer.h 959s # basename: tmp5t_gcyer.h 959s # enumeration-production 959s # EnumName: GDBusServerFlags 959s # enum_name: g_dbus_server_flags 959s # ENUMNAME: G_DBUS_SERVER_FLAGS 959s # ENUMSHORT: DBUS_SERVER_FLAGS 959s # ENUMPREFIX: G 959s # enumsince: 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # value-header 959s # EnumName: GDBusServerFlags 959s # enum_name: g_dbus_server_flags 959s # ENUMNAME: G_DBUS_SERVER_FLAGS 959s # ENUMSHORT: DBUS_SERVER_FLAGS 959s # ENUMPREFIX: G 959s # enumsince: 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # value-production 959s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 959s # valuenick: user 959s # valuenum: 4 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # value-tail 959s # EnumName: GDBusServerFlags 959s # enum_name: g_dbus_server_flags 959s # ENUMNAME: G_DBUS_SERVER_FLAGS 959s # ENUMSHORT: DBUS_SERVER_FLAGS 959s # ENUMPREFIX: G 959s # enumsince: 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpg41jkx8z 959s # rspfile: True 959s # /tmp/tmpg41jkx8z/tmprolua0de.h: 959s # typedef enum { 959s # ENUM_VALUE_WITH_COMMA = ',', 959s # } TestCommaEnum; 959s # 959s # /tmp/tmpg41jkx8z/tmp_ygnhwkb.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmpg41jkx8z/tmp_ygnhwkb.template /tmp/tmpg41jkx8z/tmprolua0de.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpg41jkx8z/tmpo99c2f73'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmpg41jkx8z/tmprolua0de.h 959s # basename: tmprolua0de.h 959s # enumeration-production 959s # EnumName: TestCommaEnum 959s # enum_name: test_comma_enum 959s # ENUMNAME: TEST_COMMA_ENUM 959s # ENUMSHORT: COMMA_ENUM 959s # ENUMPREFIX: TEST 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-header 959s # EnumName: TestCommaEnum 959s # enum_name: test_comma_enum 959s # ENUMNAME: TEST_COMMA_ENUM 959s # ENUMSHORT: COMMA_ENUM 959s # ENUMPREFIX: TEST 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-production 959s # VALUENAME: ENUM_VALUE_WITH_COMMA 959s # valuenick: comma 959s # valuenum: 44 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-tail 959s # EnumName: TestCommaEnum 959s # enum_name: test_comma_enum 959s # ENUMNAME: TEST_COMMA_ENUM 959s # ENUMSHORT: COMMA_ENUM 959s # ENUMPREFIX: TEST 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 21 __main__.TestRspMkenums.test_deprecated_in 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmprtwomj_y 959s # rspfile: True 959s # /tmp/tmprtwomj_y/tmp5dcigsoe.h: 959s # typedef enum { 959s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 959s # } GDBusServerFlags; 959s # 959s # /tmp/tmprtwomj_y/tmp3p5t9hff.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmprtwomj_y/tmp3p5t9hff.template /tmp/tmprtwomj_y/tmp5dcigsoe.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprtwomj_y/tmp0_ith6fe'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmprtwomj_y/tmp5dcigsoe.h 959s # basename: tmp5dcigsoe.h 959s # enumeration-production 959s # EnumName: GDBusServerFlags 959s # enum_name: g_dbus_server_flags 959s # ENUMNAME: G_DBUS_SERVER_FLAGS 959s # ENUMSHORT: DBUS_SERVER_FLAGS 959s # ENUMPREFIX: G 959s # enumsince: 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # value-header 959s # EnumName: GDBusServerFlags 959s # enum_name: g_dbus_server_flags 959s # ENUMNAME: G_DBUS_SERVER_FLAGS 959s # ENUMSHORT: DBUS_SERVER_FLAGS 959s # ENUMPREFIX: G 959s # enumsince: 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # value-production 959s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 959s # valuenick: user 959s # valuenum: 4 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # value-tail 959s # EnumName: GDBusServerFlags 959s # enum_name: g_dbus_server_flags 959s # ENUMNAME: G_DBUS_SERVER_FLAGS 959s # ENUMSHORT: DBUS_SERVER_FLAGS 959s # ENUMPREFIX: G 959s # enumsince: 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpyo8s259s 959s # rspfile: True 959s # /tmp/tmpyo8s259s/tmp67pxg570.h: 959s # typedef enum { 959s # 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) 959s # } GDBusServerFlags; 959s # 959s # /tmp/tmpyo8s259s/tmpdujnm08x.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmpyo8s259s/tmpdujnm08x.template /tmp/tmpyo8s259s/tmp67pxg570.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyo8s259s/tmptetq1inb'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmpyo8s259s/tmp67pxg570.h 959s # basename: tmp67pxg570.h 959s # enumeration-production 959s # EnumName: GDBusServerFlags 959s # enum_name: g_dbus_server_flags 959s # ENUMNAME: G_DBUS_SERVER_FLAGS 959s # ENUMSHORT: DBUS_SERVER_FLAGS 959s # ENUMPREFIX: G 959s # enumsince: 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # value-header 959s # EnumName: GDBusServerFlags 959s # enum_name: g_dbus_server_flags 959s # ENUMNAME: G_DBUS_SERVER_FLAGS 959s # ENUMSHORT: DBUS_SERVER_FLAGS 959s # ENUMPREFIX: G 959s # enumsince: 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # value-production 959s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 959s # valuenick: user 959s # valuenum: 4 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # value-tail 959s # EnumName: GDBusServerFlags 959s # enum_name: g_dbus_server_flags 959s # ENUMNAME: G_DBUS_SERVER_FLAGS 959s # ENUMSHORT: DBUS_SERVER_FLAGS 959s # ENUMPREFIX: G 959s # enumsince: 959s # type: flags 959s # Type: Flags 959s # TYPE: FLAGS 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 23 __main__.TestRspMkenums.test_empty_header 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpogkn805l 959s # rspfile: True 959s # /tmp/tmpogkn805l/tmp4t0sevu_.h: 959s # /tmp/tmpogkn805l/tmpowd3w2p3.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmpogkn805l/tmpowd3w2p3.template /tmp/tmpogkn805l/tmp4t0sevu_.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpogkn805l/tmp2i1gkn5d'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 24 __main__.TestRspMkenums.test_empty_template 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpe0cisezd 959s # rspfile: True 959s # /tmp/tmpe0cisezd/tmpf5tk6rai.template: 959s # Response file contains: --template /tmp/tmpe0cisezd/tmpf5tk6rai.template 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe0cisezd/tmp7_5858n2'] 959s # Return code: 0 959s # Output: 959s # /* 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. */ 959s # 959s # 959s # /* Generated data ends here */ 959s # Error: 959s ok 25 __main__.TestRspMkenums.test_enum_name 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpn0ln8fq9 959s # rspfile: True 959s # /tmp/tmpn0ln8fq9/tmp_xeo423y.h: 959s # typedef enum _SomeEnumIdentifier { 959s # ENUM_VALUE 959s # } SomeEnumIdentifier; 959s # 959s # /tmp/tmpn0ln8fq9/tmpfhd0nfv9.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmpn0ln8fq9/tmpfhd0nfv9.template /tmp/tmpn0ln8fq9/tmp_xeo423y.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn0ln8fq9/tmphl8sods2'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmpn0ln8fq9/tmp_xeo423y.h 959s # basename: tmp_xeo423y.h 959s # enumeration-production 959s # EnumName: SomeEnumIdentifier 959s # enum_name: some_enum_identifier 959s # ENUMNAME: SOME_ENUM_IDENTIFIER 959s # ENUMSHORT: ENUM_IDENTIFIER 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-header 959s # EnumName: SomeEnumIdentifier 959s # enum_name: some_enum_identifier 959s # ENUMNAME: SOME_ENUM_IDENTIFIER 959s # ENUMSHORT: ENUM_IDENTIFIER 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-production 959s # VALUENAME: ENUM_VALUE 959s # valuenick: value 959s # valuenum: 0 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-tail 959s # EnumName: SomeEnumIdentifier 959s # enum_name: some_enum_identifier 959s # ENUMNAME: SOME_ENUM_IDENTIFIER 959s # ENUMSHORT: ENUM_IDENTIFIER 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 26 __main__.TestRspMkenums.test_enum_private_public 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpumdc9c58 959s # rspfile: True 959s # /tmp/tmpumdc9c58/tmpm4fduugf.h: 959s # typedef enum { 959s # ENUM_VALUE_PUBLIC1, 959s # /*< private >*/ 959s # ENUM_VALUE_PRIVATE, 959s # } SomeEnumA 959s # 959s # /tmp/tmpumdc9c58/tmph6bruzu3.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmpumdc9c58/tmph6bruzu3.template /tmp/tmpumdc9c58/tmpm4fduugf.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpumdc9c58/tmp8xpqkcws'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmpumdc9c58/tmpm4fduugf.h 959s # basename: tmpm4fduugf.h 959s # enumeration-production 959s # EnumName: SomeEnumA 959s # enum_name: some_enum_a 959s # ENUMNAME: SOME_ENUM_A 959s # ENUMSHORT: ENUM_A 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-header 959s # EnumName: SomeEnumA 959s # enum_name: some_enum_a 959s # ENUMNAME: SOME_ENUM_A 959s # ENUMSHORT: ENUM_A 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-production 959s # VALUENAME: ENUM_VALUE_PUBLIC1 959s # valuenick: public1 959s # valuenum: 0 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-tail 959s # EnumName: SomeEnumA 959s # enum_name: some_enum_a 959s # ENUMNAME: SOME_ENUM_A 959s # ENUMSHORT: ENUM_A 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s # 959s # /tmp/tmpumdc9c58/tmplmq0bdvk.h: 959s # typedef enum { 959s # /*< private >*/ 959s # ENUM_VALUE_PRIVATE, 959s # /*< public >*/ 959s # ENUM_VALUE_PUBLIC2, 959s # } SomeEnumB; 959s # 959s # /tmp/tmpumdc9c58/tmpfokt4zv8.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmpumdc9c58/tmpfokt4zv8.template /tmp/tmpumdc9c58/tmplmq0bdvk.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpumdc9c58/tmptzeooht9'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmpumdc9c58/tmplmq0bdvk.h 959s # basename: tmplmq0bdvk.h 959s # enumeration-production 959s # EnumName: SomeEnumB 959s # enum_name: some_enum_b 959s # ENUMNAME: SOME_ENUM_B 959s # ENUMSHORT: ENUM_B 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-header 959s # EnumName: SomeEnumB 959s # enum_name: some_enum_b 959s # ENUMNAME: SOME_ENUM_B 959s # ENUMSHORT: ENUM_B 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-production 959s # VALUENAME: ENUM_VALUE_PUBLIC2 959s # valuenick: public2 959s # valuenum: 1 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-tail 959s # EnumName: SomeEnumB 959s # enum_name: some_enum_b 959s # ENUMNAME: SOME_ENUM_B 959s # ENUMSHORT: ENUM_B 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpdgfcfs4o 959s # rspfile: True 959s # /tmp/tmpdgfcfs4o/tmpov4cb9y_.h: 959s # typedef enum { 959s # /*< private >*/ 959s # ENUM_VALUE_PRIVATE = 5, 959s # /*< public >*/ 959s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 959s # } TestSymbolicEnum; 959s # 959s # /tmp/tmpdgfcfs4o/tmpbly8_7al.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmpdgfcfs4o/tmpbly8_7al.template /tmp/tmpdgfcfs4o/tmpov4cb9y_.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdgfcfs4o/tmpb3g1db1z'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmpdgfcfs4o/tmpov4cb9y_.h 959s # basename: tmpov4cb9y_.h 959s # enumeration-production 959s # EnumName: TestSymbolicEnum 959s # enum_name: test_symbolic_enum 959s # ENUMNAME: TEST_SYMBOLIC_ENUM 959s # ENUMSHORT: SYMBOLIC_ENUM 959s # ENUMPREFIX: TEST 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-header 959s # EnumName: TestSymbolicEnum 959s # enum_name: test_symbolic_enum 959s # ENUMNAME: TEST_SYMBOLIC_ENUM 959s # ENUMSHORT: SYMBOLIC_ENUM 959s # ENUMPREFIX: TEST 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-production 959s # VALUENAME: ENUM_VALUE_PUBLIC 959s # valuenick: public 959s # valuenum: 7 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-tail 959s # EnumName: TestSymbolicEnum 959s # enum_name: test_symbolic_enum 959s # ENUMNAME: TEST_SYMBOLIC_ENUM 959s # ENUMSHORT: SYMBOLIC_ENUM 959s # ENUMPREFIX: TEST 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpxbe_lak3 959s # rspfile: True 959s # /tmp/tmpxbe_lak3/tmp0b3avnke.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-tail ***/ 959s # Response file contains: --template /tmp/tmpxbe_lak3/tmp0b3avnke.template 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxbe_lak3/tmpx3vc7ihv'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # filename: @filename@ 959s # basename: @basename@ 959s # file-tail 959s # filename: @filename@ 959s # basename: @basename@ 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s # WARNING: @filename@ used in file-header section. 959s # WARNING: @basename@ used in file-header section. 959s # WARNING: @filename@ used in file-tail section. 959s # WARNING: @basename@ used in file-tail section. 959s ok 29 __main__.TestRspMkenums.test_help 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpewqwc77f 959s # rspfile: True 959s # Response file contains: --help 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpewqwc77f/tmpz37m3hwe'] 959s # Return code: 0 959s # Output: 959s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 959s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 959s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 959s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 959s # [--comments COMMENT_TMPL] [--template TEMPLATE] 959s # [--output OUTPUT] [--version] 959s # [args ...] 959s # 959s # positional arguments: 959s # args One or more input files, or a single argument 959s # @rspfile_path pointing to a file that contains the 959s # actual arguments 959s # 959s # options: 959s # -h, --help show this help message and exit 959s # --identifier-prefix IDPREFIX 959s # Identifier prefix 959s # --symbol-prefix SYMPREFIX 959s # Symbol prefix 959s # --fhead FHEAD Output file header 959s # --ftail FTAIL Output file footer 959s # --fprod FPROD Put out TEXT every time a new input file is being 959s # processed. 959s # --eprod EPROD Per enum text, produced prior to value iterations 959s # --vhead VHEAD Value header, produced before iterating over enum 959s # values 959s # --vprod VPROD Value text, produced for each enum value. 959s # --vtail VTAIL Value tail, produced after iterating over enum values 959s # --comments COMMENT_TMPL 959s # Comment structure 959s # --template TEMPLATE Template file 959s # --output OUTPUT 959s # --version, -v Print version information 959s # 959s # Production text substitutions: 959s # @EnumName@ PrefixTheXEnum 959s # @enum_name@ prefix_the_xenum 959s # @ENUMNAME@ PREFIX_THE_XENUM 959s # @ENUMSHORT@ THE_XENUM 959s # @ENUMPREFIX@ PREFIX 959s # @enumsince@ the user-provided since value given 959s # @VALUENAME@ PREFIX_THE_XVALUE 959s # @valuenick@ the-xvalue 959s # @valuenum@ the integer value (limited support, Since: 2.26) 959s # @type@ either enum or flags 959s # @Type@ either Enum or Flags 959s # @TYPE@ either ENUM or FLAGS 959s # @filename@ name of current input file 959s # @basename@ base name of the current input file (Since: 2.22) 959s # Error: 959s ok 30 __main__.TestRspMkenums.test_no_args 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmp3viaf0cq 959s # rspfile: True 959s # Response file contains: 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3viaf0cq/tmpxinyo5sp'] 959s # Return code: 0 959s # Output: 959s # /* 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. */ 959s # 959s # 959s # /* Generated data ends here */ 959s # Error: 959s ok 31 __main__.TestRspMkenums.test_no_headers 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpw0zur6jx 959s # rspfile: True 959s # /tmp/tmpw0zur6jx/tmpqmk1bakt.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmpw0zur6jx/tmpqmk1bakt.template 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw0zur6jx/tmpa43m5vlg'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 32 __main__.TestRspMkenums.test_no_nick 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmp1touag3o 959s # rspfile: True 959s # /tmp/tmp1touag3o/tmp1tq7rwpo.h: 959s # typedef enum { 959s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 959s # } GeglSamplerType; 959s # 959s # /tmp/tmp1touag3o/tmpjcu8cfuy.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmp1touag3o/tmpjcu8cfuy.template /tmp/tmp1touag3o/tmp1tq7rwpo.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1touag3o/tmp2jylze0t'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmp1touag3o/tmp1tq7rwpo.h 959s # basename: tmp1tq7rwpo.h 959s # enumeration-production 959s # EnumName: GeglSamplerType 959s # enum_name: gegl_sampler_type 959s # ENUMNAME: GEGL_SAMPLER_TYPE 959s # ENUMSHORT: SAMPLER_TYPE 959s # ENUMPREFIX: GEGL 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-header 959s # EnumName: GeglSamplerType 959s # enum_name: gegl_sampler_type 959s # ENUMNAME: GEGL_SAMPLER_TYPE 959s # ENUMSHORT: SAMPLER_TYPE 959s # ENUMPREFIX: GEGL 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-production 959s # VALUENAME: GEGL_SAMPLER_NEAREST 959s # valuenick: nearest 959s # valuenum: 0 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-tail 959s # EnumName: GeglSamplerType 959s # enum_name: gegl_sampler_type 959s # ENUMNAME: GEGL_SAMPLER_TYPE 959s # ENUMSHORT: SAMPLER_TYPE 959s # ENUMPREFIX: GEGL 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpsru_2md5 959s # rspfile: True 959s # /tmp/tmpsru_2md5/tmpfqg9_wgj.h: 959s # /* Copyright © La Peña */ 959s # typedef enum { 959s # ENUM_VALUE 959s # } SomeEnumIdentifier; 959s # 959s # /tmp/tmpsru_2md5/tmpi38ymwh2.template: 959s # /*** BEGIN file-header ***/ 959s # file-header 959s # /*** END file-header ***/ 959s # 959s # /*** BEGIN file-production ***/ 959s # file-production 959s # filename: @filename@ 959s # basename: @basename@ 959s # /*** END file-production ***/ 959s # 959s # /*** BEGIN enumeration-production ***/ 959s # enumeration-production 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END enumeration-production ***/ 959s # 959s # /*** BEGIN value-header ***/ 959s # value-header 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-header ***/ 959s # 959s # /*** BEGIN value-production ***/ 959s # value-production 959s # VALUENAME: @VALUENAME@ 959s # valuenick: @valuenick@ 959s # valuenum: @valuenum@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-production ***/ 959s # 959s # /*** BEGIN value-tail ***/ 959s # value-tail 959s # EnumName: @EnumName@ 959s # enum_name: @enum_name@ 959s # ENUMNAME: @ENUMNAME@ 959s # ENUMSHORT: @ENUMSHORT@ 959s # ENUMPREFIX: @ENUMPREFIX@ 959s # enumsince: @enumsince@ 959s # type: @type@ 959s # Type: @Type@ 959s # TYPE: @TYPE@ 959s # /*** END value-tail ***/ 959s # 959s # /*** BEGIN comment ***/ 959s # comment 959s # comment: @comment@ 959s # /*** END comment ***/ 959s # 959s # /*** BEGIN file-tail ***/ 959s # file-tail 959s # /*** END file-tail ***/ 959s # 959s # Response file contains: --template /tmp/tmpsru_2md5/tmpi38ymwh2.template /tmp/tmpsru_2md5/tmpfqg9_wgj.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsru_2md5/tmppv07jznt'] 959s # Return code: 0 959s # Output: 959s # comment 959s # 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. 959s # 959s # 959s # file-header 959s # file-production 959s # filename: /tmp/tmpsru_2md5/tmpfqg9_wgj.h 959s # basename: tmpfqg9_wgj.h 959s # enumeration-production 959s # EnumName: SomeEnumIdentifier 959s # enum_name: some_enum_identifier 959s # ENUMNAME: SOME_ENUM_IDENTIFIER 959s # ENUMSHORT: ENUM_IDENTIFIER 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-header 959s # EnumName: SomeEnumIdentifier 959s # enum_name: some_enum_identifier 959s # ENUMNAME: SOME_ENUM_IDENTIFIER 959s # ENUMSHORT: ENUM_IDENTIFIER 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-production 959s # VALUENAME: ENUM_VALUE 959s # valuenick: value 959s # valuenum: 0 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # value-tail 959s # EnumName: SomeEnumIdentifier 959s # enum_name: some_enum_identifier 959s # ENUMNAME: SOME_ENUM_IDENTIFIER 959s # ENUMSHORT: ENUM_IDENTIFIER 959s # ENUMPREFIX: SOME 959s # enumsince: 959s # type: enum 959s # Type: Enum 959s # TYPE: ENUM 959s # file-tail 959s # 959s # comment 959s # comment: Generated data ends here 959s # Error: 959s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 959s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 959s ok 34 __main__.TestRspMkenums.test_reproducible 959s # glib-mkenums: /usr/bin/glib-mkenums 959s # tmpdir: /tmp/tmpzpi4m9tx 959s # rspfile: True 959s # /tmp/tmpzpi4m9tx/tmp15c7pxmy.template: template 959s # Response file contains: --template /tmp/tmpzpi4m9tx/tmp15c7pxmy.template /tmp/tmpzpi4m9tx/tmp5v7sfuu11.h /tmp/tmpzpi4m9tx/tmpvwex04w72.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzpi4m9tx/tmpahcfqpy4'] 959s # Return code: 0 959s # Output: 959s # /* 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. */ 959s # 959s # 959s # /* Generated data ends here */ 959s # Error: 959s # 959s # /tmp/tmpzpi4m9tx/tmphktm4ekp.template: template 959s # Response file contains: --template /tmp/tmpzpi4m9tx/tmphktm4ekp.template /tmp/tmpzpi4m9tx/tmpvwex04w72.h /tmp/tmpzpi4m9tx/tmp5v7sfuu11.h 959s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzpi4m9tx/tmp_h1oa_j7'] 959s # Return code: 0 959s # Output: 959s # /* 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. */ 959s # 959s # 959s # /* Generated data ends here */ 959s # Error: 960s ok 35 __main__.TestRspMkenums.test_since 960s # glib-mkenums: /usr/bin/glib-mkenums 960s # tmpdir: /tmp/tmpa8znzv_6 960s # rspfile: True 960s # /tmp/tmpa8znzv_6/tmp19vsew_8.h: 960s # typedef enum { /*< since=1.0 >*/ 960s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 960s # } QmiWmsMessageProtocol; 960s # 960s # /tmp/tmpa8znzv_6/tmp55qs121r.template: 960s # /*** BEGIN file-header ***/ 960s # file-header 960s # /*** END file-header ***/ 960s # 960s # /*** BEGIN file-production ***/ 960s # file-production 960s # filename: @filename@ 960s # basename: @basename@ 960s # /*** END file-production ***/ 960s # 960s # /*** BEGIN enumeration-production ***/ 960s # enumeration-production 960s # EnumName: @EnumName@ 960s # enum_name: @enum_name@ 960s # ENUMNAME: @ENUMNAME@ 960s # ENUMSHORT: @ENUMSHORT@ 960s # ENUMPREFIX: @ENUMPREFIX@ 960s # enumsince: @enumsince@ 960s # type: @type@ 960s # Type: @Type@ 960s # TYPE: @TYPE@ 960s # /*** END enumeration-production ***/ 960s # 960s # /*** BEGIN value-header ***/ 960s # value-header 960s # EnumName: @EnumName@ 960s # enum_name: @enum_name@ 960s # ENUMNAME: @ENUMNAME@ 960s # ENUMSHORT: @ENUMSHORT@ 960s # ENUMPREFIX: @ENUMPREFIX@ 960s # enumsince: @enumsince@ 960s # type: @type@ 960s # Type: @Type@ 960s # TYPE: @TYPE@ 960s # /*** END value-header ***/ 960s # 960s # /*** BEGIN value-production ***/ 960s # value-production 960s # VALUENAME: @VALUENAME@ 960s # valuenick: @valuenick@ 960s # valuenum: @valuenum@ 960s # type: @type@ 960s # Type: @Type@ 960s # TYPE: @TYPE@ 960s # /*** END value-production ***/ 960s # 960s # /*** BEGIN value-tail ***/ 960s # value-tail 960s # EnumName: @EnumName@ 960s # enum_name: @enum_name@ 960s # ENUMNAME: @ENUMNAME@ 960s # ENUMSHORT: @ENUMSHORT@ 960s # ENUMPREFIX: @ENUMPREFIX@ 960s # enumsince: @enumsince@ 960s # type: @type@ 960s # Type: @Type@ 960s # TYPE: @TYPE@ 960s # /*** END value-tail ***/ 960s # 960s # /*** BEGIN comment ***/ 960s # comment 960s # comment: @comment@ 960s # /*** END comment ***/ 960s # 960s # /*** BEGIN file-tail ***/ 960s # file-tail 960s # /*** END file-tail ***/ 960s # 960s # Response file contains: --template /tmp/tmpa8znzv_6/tmp55qs121r.template /tmp/tmpa8znzv_6/tmp19vsew_8.h 960s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpa8znzv_6/tmpt8rj3v7i'] 960s # Return code: 0 960s # Output: 960s # comment 960s # 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. 960s # 960s # 960s # file-header 960s # file-production 960s # filename: /tmp/tmpa8znzv_6/tmp19vsew_8.h 960s # basename: tmp19vsew_8.h 960s # enumeration-production 960s # EnumName: QmiWmsMessageProtocol 960s # enum_name: qmi_wms_message_protocol 960s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 960s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 960s # ENUMPREFIX: QMI 960s # enumsince: 1.0 960s # type: enum 960s # Type: Enum 960s # TYPE: ENUM 960s # value-header 960s # EnumName: QmiWmsMessageProtocol 960s # enum_name: qmi_wms_message_protocol 960s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 960s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 960s # ENUMPREFIX: QMI 960s # enumsince: 1.0 960s # type: enum 960s # Type: Enum 960s # TYPE: ENUM 960s # value-production 960s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 960s # valuenick: cdma 960s # valuenum: 0 960s # type: enum 960s # Type: Enum 960s # TYPE: ENUM 960s # value-tail 960s # EnumName: QmiWmsMessageProtocol 960s # enum_name: qmi_wms_message_protocol 960s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 960s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 960s # ENUMPREFIX: QMI 960s # enumsince: 1.0 960s # type: enum 960s # Type: Enum 960s # TYPE: ENUM 960s # file-tail 960s # 960s # comment 960s # comment: Generated data ends here 960s # Error: 960s ok 36 __main__.TestRspMkenums.test_with_double_quotes 960s # glib-mkenums: /usr/bin/glib-mkenums 960s # tmpdir: /tmp/tmpcu1_mlkv 960s # rspfile: True 960s # /tmp/tmpcu1_mlkv/tmpsp2s4xvn.h: 960s # typedef enum { 960s # FOO_VALUE /*< nick="eek, a comma" >*/ 960s # } Foo; 960s # 960s # /tmp/tmpcu1_mlkv/tmp06t0kmr2.template: 960s # /*** BEGIN file-header ***/ 960s # file-header 960s # /*** END file-header ***/ 960s # 960s # /*** BEGIN file-production ***/ 960s # file-production 960s # filename: @filename@ 960s # basename: @basename@ 960s # /*** END file-production ***/ 960s # 960s # /*** BEGIN enumeration-production ***/ 960s # enumeration-production 960s # EnumName: @EnumName@ 960s # enum_name: @enum_name@ 960s # ENUMNAME: @ENUMNAME@ 960s # ENUMSHORT: @ENUMSHORT@ 960s # ENUMPREFIX: @ENUMPREFIX@ 960s # enumsince: @enumsince@ 960s # type: @type@ 960s # Type: @Type@ 960s # TYPE: @TYPE@ 960s # /*** END enumeration-production ***/ 960s # 960s # /*** BEGIN value-header ***/ 960s # value-header 960s # EnumName: @EnumName@ 960s # enum_name: @enum_name@ 960s # ENUMNAME: @ENUMNAME@ 960s # ENUMSHORT: @ENUMSHORT@ 960s # ENUMPREFIX: @ENUMPREFIX@ 960s # enumsince: @enumsince@ 960s # type: @type@ 960s # Type: @Type@ 960s # TYPE: @TYPE@ 960s # /*** END value-header ***/ 960s # 960s # /*** BEGIN value-production ***/ 960s # value-production 960s # VALUENAME: @VALUENAME@ 960s # valuenick: @valuenick@ 960s # valuenum: @valuenum@ 960s # type: @type@ 960s # Type: @Type@ 960s # TYPE: @TYPE@ 960s # /*** END value-production ***/ 960s # 960s # /*** BEGIN value-tail ***/ 960s # value-tail 960s # EnumName: @EnumName@ 960s # enum_name: @enum_name@ 960s # ENUMNAME: @ENUMNAME@ 960s # ENUMSHORT: @ENUMSHORT@ 960s # ENUMPREFIX: @ENUMPREFIX@ 960s # enumsince: @enumsince@ 960s # type: @type@ 960s # Type: @Type@ 960s # TYPE: @TYPE@ 960s # /*** END value-tail ***/ 960s # 960s # /*** BEGIN comment ***/ 960s # comment 960s # comment: @comment@ 960s # /*** END comment ***/ 960s # 960s # /*** BEGIN file-tail ***/ 960s # file-tail 960s # /*** END file-tail ***/ 960s # 960s # Response file contains: --template /tmp/tmpcu1_mlkv/tmp06t0kmr2.template /tmp/tmpcu1_mlkv/tmpsp2s4xvn.h 960s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcu1_mlkv/tmp10kj94_n'] 960s # Return code: 0 960s # Output: 960s # comment 960s # 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. 960s # 960s # 960s # file-header 960s # file-production 960s # filename: /tmp/tmpcu1_mlkv/tmpsp2s4xvn.h 960s # basename: tmpsp2s4xvn.h 960s # enumeration-production 960s # EnumName: Foo 960s # enum_name: foo_ 960s # ENUMNAME: FOO_ 960s # ENUMSHORT: 960s # ENUMPREFIX: FOO 960s # enumsince: 960s # type: enum 960s # Type: Enum 960s # TYPE: ENUM 960s # value-header 960s # EnumName: Foo 960s # enum_name: foo_ 960s # ENUMNAME: FOO_ 960s # ENUMSHORT: 960s # ENUMPREFIX: FOO 960s # enumsince: 960s # type: enum 960s # Type: Enum 960s # TYPE: ENUM 960s # value-production 960s # VALUENAME: FOO_VALUE 960s # valuenick: eek, a comma 960s # valuenum: 0 960s # type: enum 960s # Type: Enum 960s # TYPE: ENUM 960s # value-tail 960s # EnumName: Foo 960s # enum_name: foo_ 960s # ENUMNAME: FOO_ 960s # ENUMSHORT: 960s # ENUMPREFIX: FOO 960s # enumsince: 960s # type: enum 960s # Type: Enum 960s # TYPE: ENUM 960s # file-tail 960s # 960s # comment 960s # comment: Generated data ends here 960s # Error: 960s 1..36 960s ok - glib/mkenums.py.test 960s # Running test: glib/cxx-11.test 960s TAP version 14 960s # random seed: R02S97bd1784f471c476edf5639078e56f5d 960s 1..2 960s # Start of gtask tests 960s # 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. 960s ok 1 /gtask/name 960s # Start of name tests 960s # 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. 960s ok 2 /gtask/name/macro-wrapper 960s # End of name tests 960s # End of gtask tests 960s ok - glib/cxx-11.test 960s # Running test: glib/checksum.test 960s TAP version 14 960s # random seed: R02S23509ebb47d462e992af458098b64f61 960s 1..1851 960s # Start of checksum tests 960s ok 1 /checksum/unsupported 960s # Start of MD5 tests 960s ok 2 /checksum/MD5/0 960s ok 3 /checksum/MD5/1 960s ok 4 /checksum/MD5/2 960s ok 5 /checksum/MD5/3 960s ok 6 /checksum/MD5/4 960s ok 7 /checksum/MD5/5 960s ok 8 /checksum/MD5/6 960s ok 9 /checksum/MD5/7 960s ok 10 /checksum/MD5/8 960s ok 11 /checksum/MD5/9 960s ok 12 /checksum/MD5/10 960s ok 13 /checksum/MD5/11 960s ok 14 /checksum/MD5/12 960s ok 15 /checksum/MD5/13 960s ok 16 /checksum/MD5/14 960s ok 17 /checksum/MD5/15 960s ok 18 /checksum/MD5/16 960s ok 19 /checksum/MD5/17 960s ok 20 /checksum/MD5/18 960s ok 21 /checksum/MD5/19 960s ok 22 /checksum/MD5/20 960s ok 23 /checksum/MD5/21 960s ok 24 /checksum/MD5/22 960s ok 25 /checksum/MD5/23 960s ok 26 /checksum/MD5/24 960s ok 27 /checksum/MD5/25 960s ok 28 /checksum/MD5/26 960s ok 29 /checksum/MD5/27 960s ok 30 /checksum/MD5/28 960s ok 31 /checksum/MD5/29 960s ok 32 /checksum/MD5/30 960s ok 33 /checksum/MD5/31 960s ok 34 /checksum/MD5/32 960s ok 35 /checksum/MD5/33 960s ok 36 /checksum/MD5/34 960s ok 37 /checksum/MD5/35 960s ok 38 /checksum/MD5/36 960s ok 39 /checksum/MD5/37 960s ok 40 /checksum/MD5/38 960s ok 41 /checksum/MD5/39 960s ok 42 /checksum/MD5/40 960s ok 43 /checksum/MD5/41 960s ok 44 /checksum/MD5/42 960s ok 45 /checksum/MD5/43 960s ok 46 /checksum/MD5/44 960s ok 47 /checksum/MD5/45 960s ok 48 /checksum/MD5/46 960s ok 49 /checksum/MD5/47 960s ok 50 /checksum/MD5/48 960s ok 51 /checksum/MD5/49 960s ok 52 /checksum/MD5/50 960s ok 53 /checksum/MD5/51 960s ok 54 /checksum/MD5/52 960s ok 55 /checksum/MD5/53 960s ok 56 /checksum/MD5/54 960s ok 57 /checksum/MD5/55 960s ok 58 /checksum/MD5/56 960s ok 59 /checksum/MD5/57 960s ok 60 /checksum/MD5/58 960s ok 61 /checksum/MD5/59 960s ok 62 /checksum/MD5/60 960s ok 63 /checksum/MD5/61 960s ok 64 /checksum/MD5/62 960s ok 65 /checksum/MD5/63 960s ok 66 /checksum/MD5/64 960s ok 67 /checksum/MD5/65 960s ok 68 /checksum/MD5/66 960s ok 69 /checksum/MD5/67 960s ok 70 /checksum/MD5/68 960s ok 71 /checksum/MD5/69 960s ok 72 /checksum/MD5/70 960s ok 73 /checksum/MD5/71 960s ok 74 /checksum/MD5/72 960s ok 75 /checksum/MD5/73 960s ok 76 /checksum/MD5/74 960s ok 77 /checksum/MD5/75 960s ok 78 /checksum/MD5/76 960s ok 79 /checksum/MD5/77 960s ok 80 /checksum/MD5/78 960s ok 81 /checksum/MD5/79 960s ok 82 /checksum/MD5/80 960s ok 83 /checksum/MD5/81 960s ok 84 /checksum/MD5/82 960s ok 85 /checksum/MD5/83 960s ok 86 /checksum/MD5/84 960s ok 87 /checksum/MD5/85 960s ok 88 /checksum/MD5/86 960s ok 89 /checksum/MD5/87 960s ok 90 /checksum/MD5/88 960s ok 91 /checksum/MD5/89 960s ok 92 /checksum/MD5/90 960s ok 93 /checksum/MD5/91 960s ok 94 /checksum/MD5/92 960s ok 95 /checksum/MD5/93 960s ok 96 /checksum/MD5/94 960s ok 97 /checksum/MD5/95 960s ok 98 /checksum/MD5/96 960s ok 99 /checksum/MD5/97 960s ok 100 /checksum/MD5/98 960s ok 101 /checksum/MD5/99 960s ok 102 /checksum/MD5/100 960s ok 103 /checksum/MD5/101 960s ok 104 /checksum/MD5/102 960s ok 105 /checksum/MD5/103 960s ok 106 /checksum/MD5/104 960s ok 107 /checksum/MD5/105 960s ok 108 /checksum/MD5/106 960s ok 109 /checksum/MD5/107 960s ok 110 /checksum/MD5/108 960s ok 111 /checksum/MD5/109 960s ok 112 /checksum/MD5/110 960s ok 113 /checksum/MD5/111 960s ok 114 /checksum/MD5/112 960s ok 115 /checksum/MD5/113 960s ok 116 /checksum/MD5/114 960s ok 117 /checksum/MD5/115 960s ok 118 /checksum/MD5/116 960s ok 119 /checksum/MD5/117 960s ok 120 /checksum/MD5/118 960s ok 121 /checksum/MD5/119 960s ok 122 /checksum/MD5/120 960s ok 123 /checksum/MD5/121 960s ok 124 /checksum/MD5/122 960s ok 125 /checksum/MD5/123 960s ok 126 /checksum/MD5/124 960s ok 127 /checksum/MD5/125 960s ok 128 /checksum/MD5/126 960s ok 129 /checksum/MD5/127 960s ok 130 /checksum/MD5/128 960s ok 131 /checksum/MD5/129 960s ok 132 /checksum/MD5/130 960s ok 133 /checksum/MD5/131 960s ok 134 /checksum/MD5/132 960s ok 135 /checksum/MD5/133 960s ok 136 /checksum/MD5/134 960s ok 137 /checksum/MD5/135 960s ok 138 /checksum/MD5/136 960s ok 139 /checksum/MD5/137 960s ok 140 /checksum/MD5/138 960s ok 141 /checksum/MD5/139 960s ok 142 /checksum/MD5/140 960s ok 143 /checksum/MD5/141 960s ok 144 /checksum/MD5/142 960s ok 145 /checksum/MD5/143 960s ok 146 /checksum/MD5/144 960s ok 147 /checksum/MD5/145 960s ok 148 /checksum/MD5/146 960s ok 149 /checksum/MD5/147 960s ok 150 /checksum/MD5/148 960s ok 151 /checksum/MD5/149 960s ok 152 /checksum/MD5/150 960s ok 153 /checksum/MD5/151 960s ok 154 /checksum/MD5/152 960s ok 155 /checksum/MD5/153 960s ok 156 /checksum/MD5/154 960s ok 157 /checksum/MD5/155 960s ok 158 /checksum/MD5/156 960s ok 159 /checksum/MD5/157 960s ok 160 /checksum/MD5/158 960s ok 161 /checksum/MD5/159 960s ok 162 /checksum/MD5/160 960s ok 163 /checksum/MD5/161 960s ok 164 /checksum/MD5/162 960s ok 165 /checksum/MD5/163 960s ok 166 /checksum/MD5/164 960s ok 167 /checksum/MD5/165 960s ok 168 /checksum/MD5/166 960s ok 169 /checksum/MD5/167 960s ok 170 /checksum/MD5/168 960s ok 171 /checksum/MD5/169 960s ok 172 /checksum/MD5/170 960s ok 173 /checksum/MD5/171 960s ok 174 /checksum/MD5/172 960s ok 175 /checksum/MD5/173 960s ok 176 /checksum/MD5/174 960s ok 177 /checksum/MD5/175 960s ok 178 /checksum/MD5/176 960s ok 179 /checksum/MD5/177 960s ok 180 /checksum/MD5/178 960s ok 181 /checksum/MD5/179 960s ok 182 /checksum/MD5/180 960s ok 183 /checksum/MD5/181 960s ok 184 /checksum/MD5/182 960s ok 185 /checksum/MD5/183 960s ok 186 /checksum/MD5/string 960s ok 187 /checksum/MD5/bytes 960s # Start of reset tests 960s ok 188 /checksum/MD5/reset/0 960s ok 189 /checksum/MD5/reset/1 960s ok 190 /checksum/MD5/reset/2 960s ok 191 /checksum/MD5/reset/3 960s ok 192 /checksum/MD5/reset/4 960s ok 193 /checksum/MD5/reset/5 960s ok 194 /checksum/MD5/reset/6 960s ok 195 /checksum/MD5/reset/7 960s ok 196 /checksum/MD5/reset/8 960s ok 197 /checksum/MD5/reset/9 960s ok 198 /checksum/MD5/reset/10 960s ok 199 /checksum/MD5/reset/11 960s ok 200 /checksum/MD5/reset/12 960s ok 201 /checksum/MD5/reset/13 960s ok 202 /checksum/MD5/reset/14 960s ok 203 /checksum/MD5/reset/15 960s ok 204 /checksum/MD5/reset/16 960s ok 205 /checksum/MD5/reset/17 960s ok 206 /checksum/MD5/reset/18 960s ok 207 /checksum/MD5/reset/19 960s ok 208 /checksum/MD5/reset/20 960s ok 209 /checksum/MD5/reset/21 960s ok 210 /checksum/MD5/reset/22 960s ok 211 /checksum/MD5/reset/23 960s ok 212 /checksum/MD5/reset/24 960s ok 213 /checksum/MD5/reset/25 960s ok 214 /checksum/MD5/reset/26 960s ok 215 /checksum/MD5/reset/27 960s ok 216 /checksum/MD5/reset/28 960s ok 217 /checksum/MD5/reset/29 960s ok 218 /checksum/MD5/reset/30 960s ok 219 /checksum/MD5/reset/31 960s ok 220 /checksum/MD5/reset/32 960s ok 221 /checksum/MD5/reset/33 960s ok 222 /checksum/MD5/reset/34 960s ok 223 /checksum/MD5/reset/35 960s ok 224 /checksum/MD5/reset/36 960s ok 225 /checksum/MD5/reset/37 960s ok 226 /checksum/MD5/reset/38 960s ok 227 /checksum/MD5/reset/39 960s ok 228 /checksum/MD5/reset/40 960s ok 229 /checksum/MD5/reset/41 960s ok 230 /checksum/MD5/reset/42 960s ok 231 /checksum/MD5/reset/43 960s ok 232 /checksum/MD5/reset/44 960s ok 233 /checksum/MD5/reset/45 960s ok 234 /checksum/MD5/reset/46 960s ok 235 /checksum/MD5/reset/47 960s ok 236 /checksum/MD5/reset/48 960s ok 237 /checksum/MD5/reset/49 960s ok 238 /checksum/MD5/reset/50 960s ok 239 /checksum/MD5/reset/51 960s ok 240 /checksum/MD5/reset/52 960s ok 241 /checksum/MD5/reset/53 960s ok 242 /checksum/MD5/reset/54 960s ok 243 /checksum/MD5/reset/55 960s ok 244 /checksum/MD5/reset/56 960s ok 245 /checksum/MD5/reset/57 960s ok 246 /checksum/MD5/reset/58 960s ok 247 /checksum/MD5/reset/59 960s ok 248 /checksum/MD5/reset/60 960s ok 249 /checksum/MD5/reset/61 960s ok 250 /checksum/MD5/reset/62 960s ok 251 /checksum/MD5/reset/63 960s ok 252 /checksum/MD5/reset/64 960s ok 253 /checksum/MD5/reset/65 960s ok 254 /checksum/MD5/reset/66 960s ok 255 /checksum/MD5/reset/67 960s ok 256 /checksum/MD5/reset/68 960s ok 257 /checksum/MD5/reset/69 960s ok 258 /checksum/MD5/reset/70 960s ok 259 /checksum/MD5/reset/71 960s ok 260 /checksum/MD5/reset/72 960s ok 261 /checksum/MD5/reset/73 960s ok 262 /checksum/MD5/reset/74 960s ok 263 /checksum/MD5/reset/75 960s ok 264 /checksum/MD5/reset/76 960s ok 265 /checksum/MD5/reset/77 960s ok 266 /checksum/MD5/reset/78 960s ok 267 /checksum/MD5/reset/79 960s ok 268 /checksum/MD5/reset/80 960s ok 269 /checksum/MD5/reset/81 960s ok 270 /checksum/MD5/reset/82 960s ok 271 /checksum/MD5/reset/83 960s ok 272 /checksum/MD5/reset/84 960s ok 273 /checksum/MD5/reset/85 960s ok 274 /checksum/MD5/reset/86 960s ok 275 /checksum/MD5/reset/87 960s ok 276 /checksum/MD5/reset/88 960s ok 277 /checksum/MD5/reset/89 960s ok 278 /checksum/MD5/reset/90 960s ok 279 /checksum/MD5/reset/91 960s ok 280 /checksum/MD5/reset/92 960s ok 281 /checksum/MD5/reset/93 960s ok 282 /checksum/MD5/reset/94 960s ok 283 /checksum/MD5/reset/95 960s ok 284 /checksum/MD5/reset/96 960s ok 285 /checksum/MD5/reset/97 960s ok 286 /checksum/MD5/reset/98 960s ok 287 /checksum/MD5/reset/99 960s ok 288 /checksum/MD5/reset/100 960s ok 289 /checksum/MD5/reset/101 960s ok 290 /checksum/MD5/reset/102 960s ok 291 /checksum/MD5/reset/103 960s ok 292 /checksum/MD5/reset/104 960s ok 293 /checksum/MD5/reset/105 960s ok 294 /checksum/MD5/reset/106 960s ok 295 /checksum/MD5/reset/107 960s ok 296 /checksum/MD5/reset/108 960s ok 297 /checksum/MD5/reset/109 960s ok 298 /checksum/MD5/reset/110 960s ok 299 /checksum/MD5/reset/111 960s ok 300 /checksum/MD5/reset/112 960s ok 301 /checksum/MD5/reset/113 960s ok 302 /checksum/MD5/reset/114 960s ok 303 /checksum/MD5/reset/115 960s ok 304 /checksum/MD5/reset/116 960s ok 305 /checksum/MD5/reset/117 960s ok 306 /checksum/MD5/reset/118 960s ok 307 /checksum/MD5/reset/119 960s ok 308 /checksum/MD5/reset/120 960s ok 309 /checksum/MD5/reset/121 960s ok 310 /checksum/MD5/reset/122 960s ok 311 /checksum/MD5/reset/123 960s ok 312 /checksum/MD5/reset/124 960s ok 313 /checksum/MD5/reset/125 960s ok 314 /checksum/MD5/reset/126 960s ok 315 /checksum/MD5/reset/127 960s ok 316 /checksum/MD5/reset/128 960s ok 317 /checksum/MD5/reset/129 960s ok 318 /checksum/MD5/reset/130 960s ok 319 /checksum/MD5/reset/131 960s ok 320 /checksum/MD5/reset/132 960s ok 321 /checksum/MD5/reset/133 960s ok 322 /checksum/MD5/reset/134 960s ok 323 /checksum/MD5/reset/135 960s ok 324 /checksum/MD5/reset/136 960s ok 325 /checksum/MD5/reset/137 960s ok 326 /checksum/MD5/reset/138 960s ok 327 /checksum/MD5/reset/139 960s ok 328 /checksum/MD5/reset/140 960s ok 329 /checksum/MD5/reset/141 960s ok 330 /checksum/MD5/reset/142 960s ok 331 /checksum/MD5/reset/143 960s ok 332 /checksum/MD5/reset/144 960s ok 333 /checksum/MD5/reset/145 960s ok 334 /checksum/MD5/reset/146 960s ok 335 /checksum/MD5/reset/147 960s ok 336 /checksum/MD5/reset/148 960s ok 337 /checksum/MD5/reset/149 960s ok 338 /checksum/MD5/reset/150 960s ok 339 /checksum/MD5/reset/151 960s ok 340 /checksum/MD5/reset/152 960s ok 341 /checksum/MD5/reset/153 960s ok 342 /checksum/MD5/reset/154 960s ok 343 /checksum/MD5/reset/155 960s ok 344 /checksum/MD5/reset/156 960s ok 345 /checksum/MD5/reset/157 960s ok 346 /checksum/MD5/reset/158 960s ok 347 /checksum/MD5/reset/159 960s ok 348 /checksum/MD5/reset/160 960s ok 349 /checksum/MD5/reset/161 960s ok 350 /checksum/MD5/reset/162 960s ok 351 /checksum/MD5/reset/163 960s ok 352 /checksum/MD5/reset/164 960s ok 353 /checksum/MD5/reset/165 960s ok 354 /checksum/MD5/reset/166 960s ok 355 /checksum/MD5/reset/167 960s ok 356 /checksum/MD5/reset/168 960s ok 357 /checksum/MD5/reset/169 960s ok 358 /checksum/MD5/reset/170 960s ok 359 /checksum/MD5/reset/171 960s ok 360 /checksum/MD5/reset/172 960s ok 361 /checksum/MD5/reset/173 960s ok 362 /checksum/MD5/reset/174 960s ok 363 /checksum/MD5/reset/175 960s ok 364 /checksum/MD5/reset/176 960s ok 365 /checksum/MD5/reset/177 960s ok 366 /checksum/MD5/reset/178 960s ok 367 /checksum/MD5/reset/179 960s ok 368 /checksum/MD5/reset/180 960s ok 369 /checksum/MD5/reset/181 960s ok 370 /checksum/MD5/reset/182 960s ok 371 /checksum/MD5/reset/183 960s # End of reset tests 960s # End of MD5 tests 960s # Start of SHA1 tests 960s ok 372 /checksum/SHA1/0 960s ok 373 /checksum/SHA1/1 960s ok 374 /checksum/SHA1/2 960s ok 375 /checksum/SHA1/3 960s ok 376 /checksum/SHA1/4 960s ok 377 /checksum/SHA1/5 960s ok 378 /checksum/SHA1/6 960s ok 379 /checksum/SHA1/7 960s ok 380 /checksum/SHA1/8 960s ok 381 /checksum/SHA1/9 960s ok 382 /checksum/SHA1/10 960s ok 383 /checksum/SHA1/11 960s ok 384 /checksum/SHA1/12 960s ok 385 /checksum/SHA1/13 960s ok 386 /checksum/SHA1/14 960s ok 387 /checksum/SHA1/15 960s ok 388 /checksum/SHA1/16 960s ok 389 /checksum/SHA1/17 960s ok 390 /checksum/SHA1/18 960s ok 391 /checksum/SHA1/19 960s ok 392 /checksum/SHA1/20 960s ok 393 /checksum/SHA1/21 960s ok 394 /checksum/SHA1/22 960s ok 395 /checksum/SHA1/23 960s ok 396 /checksum/SHA1/24 960s ok 397 /checksum/SHA1/25 960s ok 398 /checksum/SHA1/26 960s ok 399 /checksum/SHA1/27 960s ok 400 /checksum/SHA1/28 960s ok 401 /checksum/SHA1/29 960s ok 402 /checksum/SHA1/30 960s ok 403 /checksum/SHA1/31 960s ok 404 /checksum/SHA1/32 960s ok 405 /checksum/SHA1/33 960s ok 406 /checksum/SHA1/34 960s ok 407 /checksum/SHA1/35 960s ok 408 /checksum/SHA1/36 960s ok 409 /checksum/SHA1/37 960s ok 410 /checksum/SHA1/38 960s ok 411 /checksum/SHA1/39 960s ok 412 /checksum/SHA1/40 960s ok 413 /checksum/SHA1/41 960s ok 414 /checksum/SHA1/42 960s ok 415 /checksum/SHA1/43 960s ok 416 /checksum/SHA1/44 960s ok 417 /checksum/SHA1/45 960s ok 418 /checksum/SHA1/46 960s ok 419 /checksum/SHA1/47 960s ok 420 /checksum/SHA1/48 960s ok 421 /checksum/SHA1/49 960s ok 422 /checksum/SHA1/50 960s ok 423 /checksum/SHA1/51 960s ok 424 /checksum/SHA1/52 960s ok 425 /checksum/SHA1/53 960s ok 426 /checksum/SHA1/54 960s ok 427 /checksum/SHA1/55 960s ok 428 /checksum/SHA1/56 960s ok 429 /checksum/SHA1/57 960s ok 430 /checksum/SHA1/58 960s ok 431 /checksum/SHA1/59 960s ok 432 /checksum/SHA1/60 960s ok 433 /checksum/SHA1/61 960s ok 434 /checksum/SHA1/62 960s ok 435 /checksum/SHA1/63 960s ok 436 /checksum/SHA1/64 960s ok 437 /checksum/SHA1/65 960s ok 438 /checksum/SHA1/66 960s ok 439 /checksum/SHA1/67 960s ok 440 /checksum/SHA1/68 960s ok 441 /checksum/SHA1/69 960s ok 442 /checksum/SHA1/70 960s ok 443 /checksum/SHA1/71 960s ok 444 /checksum/SHA1/72 960s ok 445 /checksum/SHA1/73 960s ok 446 /checksum/SHA1/74 960s ok 447 /checksum/SHA1/75 960s ok 448 /checksum/SHA1/76 960s ok 449 /checksum/SHA1/77 960s ok 450 /checksum/SHA1/78 960s ok 451 /checksum/SHA1/79 960s ok 452 /checksum/SHA1/80 960s ok 453 /checksum/SHA1/81 960s ok 454 /checksum/SHA1/82 960s ok 455 /checksum/SHA1/83 960s ok 456 /checksum/SHA1/84 960s ok 457 /checksum/SHA1/85 960s ok 458 /checksum/SHA1/86 960s ok 459 /checksum/SHA1/87 960s ok 460 /checksum/SHA1/88 960s ok 461 /checksum/SHA1/89 960s ok 462 /checksum/SHA1/90 960s ok 463 /checksum/SHA1/91 960s ok 464 /checksum/SHA1/92 960s ok 465 /checksum/SHA1/93 960s ok 466 /checksum/SHA1/94 960s ok 467 /checksum/SHA1/95 960s ok 468 /checksum/SHA1/96 960s ok 469 /checksum/SHA1/97 960s ok 470 /checksum/SHA1/98 960s ok 471 /checksum/SHA1/99 960s ok 472 /checksum/SHA1/100 960s ok 473 /checksum/SHA1/101 960s ok 474 /checksum/SHA1/102 960s ok 475 /checksum/SHA1/103 960s ok 476 /checksum/SHA1/104 960s ok 477 /checksum/SHA1/105 960s ok 478 /checksum/SHA1/106 960s ok 479 /checksum/SHA1/107 960s ok 480 /checksum/SHA1/108 960s ok 481 /checksum/SHA1/109 960s ok 482 /checksum/SHA1/110 960s ok 483 /checksum/SHA1/111 960s ok 484 /checksum/SHA1/112 960s ok 485 /checksum/SHA1/113 960s ok 486 /checksum/SHA1/114 960s ok 487 /checksum/SHA1/115 960s ok 488 /checksum/SHA1/116 960s ok 489 /checksum/SHA1/117 960s ok 490 /checksum/SHA1/118 960s ok 491 /checksum/SHA1/119 960s ok 492 /checksum/SHA1/120 960s ok 493 /checksum/SHA1/121 960s ok 494 /checksum/SHA1/122 960s ok 495 /checksum/SHA1/123 960s ok 496 /checksum/SHA1/124 960s ok 497 /checksum/SHA1/125 960s ok 498 /checksum/SHA1/126 960s ok 499 /checksum/SHA1/127 960s ok 500 /checksum/SHA1/128 960s ok 501 /checksum/SHA1/129 960s ok 502 /checksum/SHA1/130 960s ok 503 /checksum/SHA1/131 960s ok 504 /checksum/SHA1/132 960s ok 505 /checksum/SHA1/133 960s ok 506 /checksum/SHA1/134 960s ok 507 /checksum/SHA1/135 960s ok 508 /checksum/SHA1/136 960s ok 509 /checksum/SHA1/137 960s ok 510 /checksum/SHA1/138 960s ok 511 /checksum/SHA1/139 960s ok 512 /checksum/SHA1/140 960s ok 513 /checksum/SHA1/141 960s ok 514 /checksum/SHA1/142 960s ok 515 /checksum/SHA1/143 960s ok 516 /checksum/SHA1/144 960s ok 517 /checksum/SHA1/145 960s ok 518 /checksum/SHA1/146 960s ok 519 /checksum/SHA1/147 960s ok 520 /checksum/SHA1/148 960s ok 521 /checksum/SHA1/149 960s ok 522 /checksum/SHA1/150 960s ok 523 /checksum/SHA1/151 960s ok 524 /checksum/SHA1/152 960s ok 525 /checksum/SHA1/153 960s ok 526 /checksum/SHA1/154 960s ok 527 /checksum/SHA1/155 960s ok 528 /checksum/SHA1/156 960s ok 529 /checksum/SHA1/157 960s ok 530 /checksum/SHA1/158 960s ok 531 /checksum/SHA1/159 960s ok 532 /checksum/SHA1/160 960s ok 533 /checksum/SHA1/161 960s ok 534 /checksum/SHA1/162 960s ok 535 /checksum/SHA1/163 960s ok 536 /checksum/SHA1/164 960s ok 537 /checksum/SHA1/165 960s ok 538 /checksum/SHA1/166 960s ok 539 /checksum/SHA1/167 960s ok 540 /checksum/SHA1/168 960s ok 541 /checksum/SHA1/169 960s ok 542 /checksum/SHA1/170 960s ok 543 /checksum/SHA1/171 960s ok 544 /checksum/SHA1/172 960s ok 545 /checksum/SHA1/173 960s ok 546 /checksum/SHA1/174 960s ok 547 /checksum/SHA1/175 960s ok 548 /checksum/SHA1/176 960s ok 549 /checksum/SHA1/177 960s ok 550 /checksum/SHA1/178 960s ok 551 /checksum/SHA1/179 960s ok 552 /checksum/SHA1/180 960s ok 553 /checksum/SHA1/181 960s ok 554 /checksum/SHA1/182 960s ok 555 /checksum/SHA1/183 960s ok 556 /checksum/SHA1/string 960s ok 557 /checksum/SHA1/bytes 960s # Start of reset tests 960s ok 558 /checksum/SHA1/reset/0 960s ok 559 /checksum/SHA1/reset/1 960s ok 560 /checksum/SHA1/reset/2 960s ok 561 /checksum/SHA1/reset/3 960s ok 562 /checksum/SHA1/reset/4 960s ok 563 /checksum/SHA1/reset/5 960s ok 564 /checksum/SHA1/reset/6 960s ok 565 /checksum/SHA1/reset/7 960s ok 566 /checksum/SHA1/reset/8 960s ok 567 /checksum/SHA1/reset/9 960s ok 568 /checksum/SHA1/reset/10 960s ok 569 /checksum/SHA1/reset/11 960s ok 570 /checksum/SHA1/reset/12 960s ok 571 /checksum/SHA1/reset/13 960s ok 572 /checksum/SHA1/reset/14 960s ok 573 /checksum/SHA1/reset/15 960s ok 574 /checksum/SHA1/reset/16 960s ok 575 /checksum/SHA1/reset/17 960s ok 576 /checksum/SHA1/reset/18 960s ok 577 /checksum/SHA1/reset/19 960s ok 578 /checksum/SHA1/reset/20 960s ok 579 /checksum/SHA1/reset/21 960s ok 580 /checksum/SHA1/reset/22 960s ok 581 /checksum/SHA1/reset/23 960s ok 582 /checksum/SHA1/reset/24 960s ok 583 /checksum/SHA1/reset/25 960s ok 584 /checksum/SHA1/reset/26 960s ok 585 /checksum/SHA1/reset/27 960s ok 586 /checksum/SHA1/reset/28 960s ok 587 /checksum/SHA1/reset/29 960s ok 588 /checksum/SHA1/reset/30 960s ok 589 /checksum/SHA1/reset/31 960s ok 590 /checksum/SHA1/reset/32 960s ok 591 /checksum/SHA1/reset/33 960s ok 592 /checksum/SHA1/reset/34 960s ok 593 /checksum/SHA1/reset/35 960s ok 594 /checksum/SHA1/reset/36 960s ok 595 /checksum/SHA1/reset/37 960s ok 596 /checksum/SHA1/reset/38 960s ok 597 /checksum/SHA1/reset/39 960s ok 598 /checksum/SHA1/reset/40 960s ok 599 /checksum/SHA1/reset/41 960s ok 600 /checksum/SHA1/reset/42 960s ok 601 /checksum/SHA1/reset/43 960s ok 602 /checksum/SHA1/reset/44 960s ok 603 /checksum/SHA1/reset/45 960s ok 604 /checksum/SHA1/reset/46 960s ok 605 /checksum/SHA1/reset/47 960s ok 606 /checksum/SHA1/reset/48 960s ok 607 /checksum/SHA1/reset/49 960s ok 608 /checksum/SHA1/reset/50 960s ok 609 /checksum/SHA1/reset/51 960s ok 610 /checksum/SHA1/reset/52 960s ok 611 /checksum/SHA1/reset/53 960s ok 612 /checksum/SHA1/reset/54 960s ok 613 /checksum/SHA1/reset/55 960s ok 614 /checksum/SHA1/reset/56 960s ok 615 /checksum/SHA1/reset/57 960s ok 616 /checksum/SHA1/reset/58 960s ok 617 /checksum/SHA1/reset/59 960s ok 618 /checksum/SHA1/reset/60 960s ok 619 /checksum/SHA1/reset/61 960s ok 620 /checksum/SHA1/reset/62 960s ok 621 /checksum/SHA1/reset/63 960s ok 622 /checksum/SHA1/reset/64 960s ok 623 /checksum/SHA1/reset/65 960s ok 624 /checksum/SHA1/reset/66 960s ok 625 /checksum/SHA1/reset/67 960s ok 626 /checksum/SHA1/reset/68 960s ok 627 /checksum/SHA1/reset/69 960s ok 628 /checksum/SHA1/reset/70 960s ok 629 /checksum/SHA1/reset/71 960s ok 630 /checksum/SHA1/reset/72 960s ok 631 /checksum/SHA1/reset/73 960s ok 632 /checksum/SHA1/reset/74 960s ok 633 /checksum/SHA1/reset/75 960s ok 634 /checksum/SHA1/reset/76 960s ok 635 /checksum/SHA1/reset/77 960s ok 636 /checksum/SHA1/reset/78 960s ok 637 /checksum/SHA1/reset/79 960s ok 638 /checksum/SHA1/reset/80 960s ok 639 /checksum/SHA1/reset/81 960s ok 640 /checksum/SHA1/reset/82 960s ok 641 /checksum/SHA1/reset/83 960s ok 642 /checksum/SHA1/reset/84 960s ok 643 /checksum/SHA1/reset/85 960s ok 644 /checksum/SHA1/reset/86 960s ok 645 /checksum/SHA1/reset/87 960s ok 646 /checksum/SHA1/reset/88 960s ok 647 /checksum/SHA1/reset/89 960s ok 648 /checksum/SHA1/reset/90 960s ok 649 /checksum/SHA1/reset/91 960s ok 650 /checksum/SHA1/reset/92 960s ok 651 /checksum/SHA1/reset/93 960s ok 652 /checksum/SHA1/reset/94 960s ok 653 /checksum/SHA1/reset/95 960s ok 654 /checksum/SHA1/reset/96 960s ok 655 /checksum/SHA1/reset/97 960s ok 656 /checksum/SHA1/reset/98 960s ok 657 /checksum/SHA1/reset/99 960s ok 658 /checksum/SHA1/reset/100 960s ok 659 /checksum/SHA1/reset/101 960s ok 660 /checksum/SHA1/reset/102 960s ok 661 /checksum/SHA1/reset/103 960s ok 662 /checksum/SHA1/reset/104 960s ok 663 /checksum/SHA1/reset/105 960s ok 664 /checksum/SHA1/reset/106 960s ok 665 /checksum/SHA1/reset/107 960s ok 666 /checksum/SHA1/reset/108 960s ok 667 /checksum/SHA1/reset/109 960s ok 668 /checksum/SHA1/reset/110 960s ok 669 /checksum/SHA1/reset/111 960s ok 670 /checksum/SHA1/reset/112 960s ok 671 /checksum/SHA1/reset/113 960s ok 672 /checksum/SHA1/reset/114 960s ok 673 /checksum/SHA1/reset/115 960s ok 674 /checksum/SHA1/reset/116 960s ok 675 /checksum/SHA1/reset/117 960s ok 676 /checksum/SHA1/reset/118 960s ok 677 /checksum/SHA1/reset/119 960s ok 678 /checksum/SHA1/reset/120 960s ok 679 /checksum/SHA1/reset/121 960s ok 680 /checksum/SHA1/reset/122 960s ok 681 /checksum/SHA1/reset/123 960s ok 682 /checksum/SHA1/reset/124 960s ok 683 /checksum/SHA1/reset/125 960s ok 684 /checksum/SHA1/reset/126 960s ok 685 /checksum/SHA1/reset/127 960s ok 686 /checksum/SHA1/reset/128 960s ok 687 /checksum/SHA1/reset/129 960s ok 688 /checksum/SHA1/reset/130 960s ok 689 /checksum/SHA1/reset/131 960s ok 690 /checksum/SHA1/reset/132 960s ok 691 /checksum/SHA1/reset/133 960s ok 692 /checksum/SHA1/reset/134 960s ok 693 /checksum/SHA1/reset/135 960s ok 694 /checksum/SHA1/reset/136 960s ok 695 /checksum/SHA1/reset/137 960s ok 696 /checksum/SHA1/reset/138 960s ok 697 /checksum/SHA1/reset/139 960s ok 698 /checksum/SHA1/reset/140 960s ok 699 /checksum/SHA1/reset/141 960s ok 700 /checksum/SHA1/reset/142 960s ok 701 /checksum/SHA1/reset/143 960s ok 702 /checksum/SHA1/reset/144 960s ok 703 /checksum/SHA1/reset/145 960s ok 704 /checksum/SHA1/reset/146 960s ok 705 /checksum/SHA1/reset/147 960s ok 706 /checksum/SHA1/reset/148 960s ok 707 /checksum/SHA1/reset/149 960s ok 708 /checksum/SHA1/reset/150 960s ok 709 /checksum/SHA1/reset/151 960s ok 710 /checksum/SHA1/reset/152 960s ok 711 /checksum/SHA1/reset/153 960s ok 712 /checksum/SHA1/reset/154 960s ok 713 /checksum/SHA1/reset/155 960s ok 714 /checksum/SHA1/reset/156 960s ok 715 /checksum/SHA1/reset/157 960s ok 716 /checksum/SHA1/reset/158 960s ok 717 /checksum/SHA1/reset/159 960s ok 718 /checksum/SHA1/reset/160 960s ok 719 /checksum/SHA1/reset/161 960s ok 720 /checksum/SHA1/reset/162 960s ok 721 /checksum/SHA1/reset/163 960s ok 722 /checksum/SHA1/reset/164 960s ok 723 /checksum/SHA1/reset/165 960s ok 724 /checksum/SHA1/reset/166 960s ok 725 /checksum/SHA1/reset/167 960s ok 726 /checksum/SHA1/reset/168 960s ok 727 /checksum/SHA1/reset/169 960s ok 728 /checksum/SHA1/reset/170 960s ok 729 /checksum/SHA1/reset/171 960s ok 730 /checksum/SHA1/reset/172 960s ok 731 /checksum/SHA1/reset/173 960s ok 732 /checksum/SHA1/reset/174 960s ok 733 /checksum/SHA1/reset/175 960s ok 734 /checksum/SHA1/reset/176 960s ok 735 /checksum/SHA1/reset/177 960s ok 736 /checksum/SHA1/reset/178 960s ok 737 /checksum/SHA1/reset/179 960s ok 738 /checksum/SHA1/reset/180 960s ok 739 /checksum/SHA1/reset/181 960s ok 740 /checksum/SHA1/reset/182 960s ok 741 /checksum/SHA1/reset/183 960s # End of reset tests 960s # End of SHA1 tests 960s # Start of SHA256 tests 960s ok 742 /checksum/SHA256/0 960s ok 743 /checksum/SHA256/1 960s ok 744 /checksum/SHA256/2 960s ok 745 /checksum/SHA256/3 960s ok 746 /checksum/SHA256/4 960s ok 747 /checksum/SHA256/5 960s ok 748 /checksum/SHA256/6 960s ok 749 /checksum/SHA256/7 960s ok 750 /checksum/SHA256/8 960s ok 751 /checksum/SHA256/9 960s ok 752 /checksum/SHA256/10 960s ok 753 /checksum/SHA256/11 960s ok 754 /checksum/SHA256/12 960s ok 755 /checksum/SHA256/13 960s ok 756 /checksum/SHA256/14 960s ok 757 /checksum/SHA256/15 960s ok 758 /checksum/SHA256/16 960s ok 759 /checksum/SHA256/17 960s ok 760 /checksum/SHA256/18 960s ok 761 /checksum/SHA256/19 960s ok 762 /checksum/SHA256/20 960s ok 763 /checksum/SHA256/21 960s ok 764 /checksum/SHA256/22 960s ok 765 /checksum/SHA256/23 960s ok 766 /checksum/SHA256/24 960s ok 767 /checksum/SHA256/25 960s ok 768 /checksum/SHA256/26 960s ok 769 /checksum/SHA256/27 960s ok 770 /checksum/SHA256/28 960s ok 771 /checksum/SHA256/29 960s ok 772 /checksum/SHA256/30 960s ok 773 /checksum/SHA256/31 960s ok 774 /checksum/SHA256/32 960s ok 775 /checksum/SHA256/33 960s ok 776 /checksum/SHA256/34 960s ok 777 /checksum/SHA256/35 960s ok 778 /checksum/SHA256/36 960s ok 779 /checksum/SHA256/37 960s ok 780 /checksum/SHA256/38 960s ok 781 /checksum/SHA256/39 960s ok 782 /checksum/SHA256/40 960s ok 783 /checksum/SHA256/41 960s ok 784 /checksum/SHA256/42 960s ok 785 /checksum/SHA256/43 960s ok 786 /checksum/SHA256/44 960s ok 787 /checksum/SHA256/45 960s ok 788 /checksum/SHA256/46 960s ok 789 /checksum/SHA256/47 960s ok 790 /checksum/SHA256/48 960s ok 791 /checksum/SHA256/49 960s ok 792 /checksum/SHA256/50 960s ok 793 /checksum/SHA256/51 960s ok 794 /checksum/SHA256/52 960s ok 795 /checksum/SHA256/53 960s ok 796 /checksum/SHA256/54 960s ok 797 /checksum/SHA256/55 960s ok 798 /checksum/SHA256/56 960s ok 799 /checksum/SHA256/57 960s ok 800 /checksum/SHA256/58 960s ok 801 /checksum/SHA256/59 960s ok 802 /checksum/SHA256/60 960s ok 803 /checksum/SHA256/61 960s ok 804 /checksum/SHA256/62 960s ok 805 /checksum/SHA256/63 960s ok 806 /checksum/SHA256/64 960s ok 807 /checksum/SHA256/65 960s ok 808 /checksum/SHA256/66 960s ok 809 /checksum/SHA256/67 960s ok 810 /checksum/SHA256/68 960s ok 811 /checksum/SHA256/69 960s ok 812 /checksum/SHA256/70 960s ok 813 /checksum/SHA256/71 960s ok 814 /checksum/SHA256/72 960s ok 815 /checksum/SHA256/73 960s ok 816 /checksum/SHA256/74 960s ok 817 /checksum/SHA256/75 960s ok 818 /checksum/SHA256/76 960s ok 819 /checksum/SHA256/77 960s ok 820 /checksum/SHA256/78 960s ok 821 /checksum/SHA256/79 960s ok 822 /checksum/SHA256/80 960s ok 823 /checksum/SHA256/81 960s ok 824 /checksum/SHA256/82 960s ok 825 /checksum/SHA256/83 960s ok 826 /checksum/SHA256/84 960s ok 827 /checksum/SHA256/85 960s ok 828 /checksum/SHA256/86 960s ok 829 /checksum/SHA256/87 960s ok 830 /checksum/SHA256/88 960s ok 831 /checksum/SHA256/89 960s ok 832 /checksum/SHA256/90 960s ok 833 /checksum/SHA256/91 960s ok 834 /checksum/SHA256/92 960s ok 835 /checksum/SHA256/93 960s ok 836 /checksum/SHA256/94 960s ok 837 /checksum/SHA256/95 960s ok 838 /checksum/SHA256/96 960s ok 839 /checksum/SHA256/97 960s ok 840 /checksum/SHA256/98 960s ok 841 /checksum/SHA256/99 960s ok 842 /checksum/SHA256/100 960s ok 843 /checksum/SHA256/101 960s ok 844 /checksum/SHA256/102 960s ok 845 /checksum/SHA256/103 960s ok 846 /checksum/SHA256/104 960s ok 847 /checksum/SHA256/105 960s ok 848 /checksum/SHA256/106 960s ok 849 /checksum/SHA256/107 960s ok 850 /checksum/SHA256/108 960s ok 851 /checksum/SHA256/109 960s ok 852 /checksum/SHA256/110 960s ok 853 /checksum/SHA256/111 960s ok 854 /checksum/SHA256/112 960s ok 855 /checksum/SHA256/113 960s ok 856 /checksum/SHA256/114 960s ok 857 /checksum/SHA256/115 960s ok 858 /checksum/SHA256/116 960s ok 859 /checksum/SHA256/117 960s ok 860 /checksum/SHA256/118 960s ok 861 /checksum/SHA256/119 960s ok 862 /checksum/SHA256/120 960s ok 863 /checksum/SHA256/121 960s ok 864 /checksum/SHA256/122 960s ok 865 /checksum/SHA256/123 960s ok 866 /checksum/SHA256/124 960s ok 867 /checksum/SHA256/125 960s ok 868 /checksum/SHA256/126 960s ok 869 /checksum/SHA256/127 960s ok 870 /checksum/SHA256/128 960s ok 871 /checksum/SHA256/129 960s ok 872 /checksum/SHA256/130 960s ok 873 /checksum/SHA256/131 960s ok 874 /checksum/SHA256/132 960s ok 875 /checksum/SHA256/133 960s ok 876 /checksum/SHA256/134 960s ok 877 /checksum/SHA256/135 960s ok 878 /checksum/SHA256/136 960s ok 879 /checksum/SHA256/137 960s ok 880 /checksum/SHA256/138 960s ok 881 /checksum/SHA256/139 960s ok 882 /checksum/SHA256/140 960s ok 883 /checksum/SHA256/141 960s ok 884 /checksum/SHA256/142 960s ok 885 /checksum/SHA256/143 960s ok 886 /checksum/SHA256/144 960s ok 887 /checksum/SHA256/145 960s ok 888 /checksum/SHA256/146 960s ok 889 /checksum/SHA256/147 960s ok 890 /checksum/SHA256/148 960s ok 891 /checksum/SHA256/149 960s ok 892 /checksum/SHA256/150 960s ok 893 /checksum/SHA256/151 960s ok 894 /checksum/SHA256/152 960s ok 895 /checksum/SHA256/153 960s ok 896 /checksum/SHA256/154 960s ok 897 /checksum/SHA256/155 960s ok 898 /checksum/SHA256/156 960s ok 899 /checksum/SHA256/157 960s ok 900 /checksum/SHA256/158 960s ok 901 /checksum/SHA256/159 960s ok 902 /checksum/SHA256/160 960s ok 903 /checksum/SHA256/161 960s ok 904 /checksum/SHA256/162 960s ok 905 /checksum/SHA256/163 960s ok 906 /checksum/SHA256/164 960s ok 907 /checksum/SHA256/165 960s ok 908 /checksum/SHA256/166 960s ok 909 /checksum/SHA256/167 960s ok 910 /checksum/SHA256/168 960s ok 911 /checksum/SHA256/169 960s ok 912 /checksum/SHA256/170 960s ok 913 /checksum/SHA256/171 960s ok 914 /checksum/SHA256/172 960s ok 915 /checksum/SHA256/173 960s ok 916 /checksum/SHA256/174 960s ok 917 /checksum/SHA256/175 960s ok 918 /checksum/SHA256/176 960s ok 919 /checksum/SHA256/177 960s ok 920 /checksum/SHA256/178 960s ok 921 /checksum/SHA256/179 960s ok 922 /checksum/SHA256/180 960s ok 923 /checksum/SHA256/181 960s ok 924 /checksum/SHA256/182 960s ok 925 /checksum/SHA256/183 960s ok 926 /checksum/SHA256/string 960s ok 927 /checksum/SHA256/bytes 960s # Start of reset tests 960s ok 928 /checksum/SHA256/reset/0 960s ok 929 /checksum/SHA256/reset/1 960s ok 930 /checksum/SHA256/reset/2 960s ok 931 /checksum/SHA256/reset/3 960s ok 932 /checksum/SHA256/reset/4 960s ok 933 /checksum/SHA256/reset/5 960s ok 934 /checksum/SHA256/reset/6 960s ok 935 /checksum/SHA256/reset/7 960s ok 936 /checksum/SHA256/reset/8 960s ok 937 /checksum/SHA256/reset/9 960s ok 938 /checksum/SHA256/reset/10 960s ok 939 /checksum/SHA256/reset/11 960s ok 940 /checksum/SHA256/reset/12 960s ok 941 /checksum/SHA256/reset/13 960s ok 942 /checksum/SHA256/reset/14 960s ok 943 /checksum/SHA256/reset/15 960s ok 944 /checksum/SHA256/reset/16 960s ok 945 /checksum/SHA256/reset/17 960s ok 946 /checksum/SHA256/reset/18 960s ok 947 /checksum/SHA256/reset/19 960s ok 948 /checksum/SHA256/reset/20 960s ok 949 /checksum/SHA256/reset/21 960s ok 950 /checksum/SHA256/reset/22 960s ok 951 /checksum/SHA256/reset/23 960s ok 952 /checksum/SHA256/reset/24 960s ok 953 /checksum/SHA256/reset/25 960s ok 954 /checksum/SHA256/reset/26 960s ok 955 /checksum/SHA256/reset/27 960s ok 956 /checksum/SHA256/reset/28 960s ok 957 /checksum/SHA256/reset/29 960s ok 958 /checksum/SHA256/reset/30 960s ok 959 /checksum/SHA256/reset/31 960s ok 960 /checksum/SHA256/reset/32 960s ok 961 /checksum/SHA256/reset/33 960s ok 962 /checksum/SHA256/reset/34 960s ok 963 /checksum/SHA256/reset/35 960s ok 964 /checksum/SHA256/reset/36 960s ok 965 /checksum/SHA256/reset/37 960s ok 966 /checksum/SHA256/reset/38 960s ok 967 /checksum/SHA256/reset/39 960s ok 968 /checksum/SHA256/reset/40 960s ok 969 /checksum/SHA256/reset/41 960s ok 970 /checksum/SHA256/reset/42 960s ok 971 /checksum/SHA256/reset/43 960s ok 972 /checksum/SHA256/reset/44 960s ok 973 /checksum/SHA256/reset/45 960s ok 974 /checksum/SHA256/reset/46 960s ok 975 /checksum/SHA256/reset/47 960s ok 976 /checksum/SHA256/reset/48 960s ok 977 /checksum/SHA256/reset/49 960s ok 978 /checksum/SHA256/reset/50 960s ok 979 /checksum/SHA256/reset/51 960s ok 980 /checksum/SHA256/reset/52 960s ok 981 /checksum/SHA256/reset/53 960s ok 982 /checksum/SHA256/reset/54 960s ok 983 /checksum/SHA256/reset/55 960s ok 984 /checksum/SHA256/reset/56 960s ok 985 /checksum/SHA256/reset/57 960s ok 986 /checksum/SHA256/reset/58 960s ok 987 /checksum/SHA256/reset/59 960s ok 988 /checksum/SHA256/reset/60 960s ok 989 /checksum/SHA256/reset/61 960s ok 990 /checksum/SHA256/reset/62 960s ok 991 /checksum/SHA256/reset/63 960s ok 992 /checksum/SHA256/reset/64 960s ok 993 /checksum/SHA256/reset/65 960s ok 994 /checksum/SHA256/reset/66 960s ok 995 /checksum/SHA256/reset/67 960s ok 996 /checksum/SHA256/reset/68 960s ok 997 /checksum/SHA256/reset/69 960s ok 998 /checksum/SHA256/reset/70 960s ok 999 /checksum/SHA256/reset/71 960s ok 1000 /checksum/SHA256/reset/72 960s ok 1001 /checksum/SHA256/reset/73 960s ok 1002 /checksum/SHA256/reset/74 960s ok 1003 /checksum/SHA256/reset/75 960s ok 1004 /checksum/SHA256/reset/76 960s ok 1005 /checksum/SHA256/reset/77 960s ok 1006 /checksum/SHA256/reset/78 960s ok 1007 /checksum/SHA256/reset/79 960s ok 1008 /checksum/SHA256/reset/80 960s ok 1009 /checksum/SHA256/reset/81 960s ok 1010 /checksum/SHA256/reset/82 960s ok 1011 /checksum/SHA256/reset/83 960s ok 1012 /checksum/SHA256/reset/84 960s ok 1013 /checksum/SHA256/reset/85 960s ok 1014 /checksum/SHA256/reset/86 960s ok 1015 /checksum/SHA256/reset/87 960s ok 1016 /checksum/SHA256/reset/88 960s ok 1017 /checksum/SHA256/reset/89 960s ok 1018 /checksum/SHA256/reset/90 960s ok 1019 /checksum/SHA256/reset/91 960s ok 1020 /checksum/SHA256/reset/92 960s ok 1021 /checksum/SHA256/reset/93 960s ok 1022 /checksum/SHA256/reset/94 960s ok 1023 /checksum/SHA256/reset/95 960s ok 1024 /checksum/SHA256/reset/96 960s ok 1025 /checksum/SHA256/reset/97 960s ok 1026 /checksum/SHA256/reset/98 960s ok 1027 /checksum/SHA256/reset/99 960s ok 1028 /checksum/SHA256/reset/100 960s ok 1029 /checksum/SHA256/reset/101 960s ok 1030 /checksum/SHA256/reset/102 960s ok 1031 /checksum/SHA256/reset/103 960s ok 1032 /checksum/SHA256/reset/104 960s ok 1033 /checksum/SHA256/reset/105 960s ok 1034 /checksum/SHA256/reset/106 960s ok 1035 /checksum/SHA256/reset/107 960s ok 1036 /checksum/SHA256/reset/108 960s ok 1037 /checksum/SHA256/reset/109 960s ok 1038 /checksum/SHA256/reset/110 960s ok 1039 /checksum/SHA256/reset/111 960s ok 1040 /checksum/SHA256/reset/112 960s ok 1041 /checksum/SHA256/reset/113 960s ok 1042 /checksum/SHA256/reset/114 960s ok 1043 /checksum/SHA256/reset/115 960s ok 1044 /checksum/SHA256/reset/116 960s ok 1045 /checksum/SHA256/reset/117 960s ok 1046 /checksum/SHA256/reset/118 960s ok 1047 /checksum/SHA256/reset/119 960s ok 1048 /checksum/SHA256/reset/120 960s ok 1049 /checksum/SHA256/reset/121 960s ok 1050 /checksum/SHA256/reset/122 960s ok 1051 /checksum/SHA256/reset/123 960s ok 1052 /checksum/SHA256/reset/124 960s ok 1053 /checksum/SHA256/reset/125 960s ok 1054 /checksum/SHA256/reset/126 960s ok 1055 /checksum/SHA256/reset/127 960s ok 1056 /checksum/SHA256/reset/128 960s ok 1057 /checksum/SHA256/reset/129 960s ok 1058 /checksum/SHA256/reset/130 960s ok 1059 /checksum/SHA256/reset/131 960s ok 1060 /checksum/SHA256/reset/132 960s ok 1061 /checksum/SHA256/reset/133 960s ok 1062 /checksum/SHA256/reset/134 960s ok 1063 /checksum/SHA256/reset/135 960s ok 1064 /checksum/SHA256/reset/136 960s ok 1065 /checksum/SHA256/reset/137 960s ok 1066 /checksum/SHA256/reset/138 960s ok 1067 /checksum/SHA256/reset/139 960s ok 1068 /checksum/SHA256/reset/140 960s ok 1069 /checksum/SHA256/reset/141 960s ok 1070 /checksum/SHA256/reset/142 960s ok 1071 /checksum/SHA256/reset/143 960s ok 1072 /checksum/SHA256/reset/144 960s ok 1073 /checksum/SHA256/reset/145 960s ok 1074 /checksum/SHA256/reset/146 960s ok 1075 /checksum/SHA256/reset/147 960s ok 1076 /checksum/SHA256/reset/148 960s ok 1077 /checksum/SHA256/reset/149 960s ok 1078 /checksum/SHA256/reset/150 960s ok 1079 /checksum/SHA256/reset/151 960s ok 1080 /checksum/SHA256/reset/152 960s ok 1081 /checksum/SHA256/reset/153 960s ok 1082 /checksum/SHA256/reset/154 960s ok 1083 /checksum/SHA256/reset/155 960s ok 1084 /checksum/SHA256/reset/156 960s ok 1085 /checksum/SHA256/reset/157 960s ok 1086 /checksum/SHA256/reset/158 960s ok 1087 /checksum/SHA256/reset/159 960s ok 1088 /checksum/SHA256/reset/160 960s ok 1089 /checksum/SHA256/reset/161 960s ok 1090 /checksum/SHA256/reset/162 960s ok 1091 /checksum/SHA256/reset/163 960s ok 1092 /checksum/SHA256/reset/164 960s ok 1093 /checksum/SHA256/reset/165 960s ok 1094 /checksum/SHA256/reset/166 960s ok 1095 /checksum/SHA256/reset/167 960s ok 1096 /checksum/SHA256/reset/168 960s ok 1097 /checksum/SHA256/reset/169 960s ok 1098 /checksum/SHA256/reset/170 960s ok 1099 /checksum/SHA256/reset/171 960s ok 1100 /checksum/SHA256/reset/172 960s ok 1101 /checksum/SHA256/reset/173 960s ok 1102 /checksum/SHA256/reset/174 960s ok 1103 /checksum/SHA256/reset/175 960s ok 1104 /checksum/SHA256/reset/176 960s ok 1105 /checksum/SHA256/reset/177 960s ok 1106 /checksum/SHA256/reset/178 960s ok 1107 /checksum/SHA256/reset/179 960s ok 1108 /checksum/SHA256/reset/180 960s ok 1109 /checksum/SHA256/reset/181 960s ok 1110 /checksum/SHA256/reset/182 960s ok 1111 /checksum/SHA256/reset/183 960s # End of reset tests 960s # End of SHA256 tests 960s # Start of SHA384 tests 960s ok 1112 /checksum/SHA384/0 960s ok 1113 /checksum/SHA384/1 960s ok 1114 /checksum/SHA384/2 960s ok 1115 /checksum/SHA384/3 960s ok 1116 /checksum/SHA384/4 960s ok 1117 /checksum/SHA384/5 960s ok 1118 /checksum/SHA384/6 960s ok 1119 /checksum/SHA384/7 960s ok 1120 /checksum/SHA384/8 960s ok 1121 /checksum/SHA384/9 960s ok 1122 /checksum/SHA384/10 960s ok 1123 /checksum/SHA384/11 960s ok 1124 /checksum/SHA384/12 960s ok 1125 /checksum/SHA384/13 960s ok 1126 /checksum/SHA384/14 960s ok 1127 /checksum/SHA384/15 960s ok 1128 /checksum/SHA384/16 960s ok 1129 /checksum/SHA384/17 960s ok 1130 /checksum/SHA384/18 960s ok 1131 /checksum/SHA384/19 960s ok 1132 /checksum/SHA384/20 960s ok 1133 /checksum/SHA384/21 960s ok 1134 /checksum/SHA384/22 960s ok 1135 /checksum/SHA384/23 960s ok 1136 /checksum/SHA384/24 960s ok 1137 /checksum/SHA384/25 960s ok 1138 /checksum/SHA384/26 960s ok 1139 /checksum/SHA384/27 960s ok 1140 /checksum/SHA384/28 960s ok 1141 /checksum/SHA384/29 960s ok 1142 /checksum/SHA384/30 960s ok 1143 /checksum/SHA384/31 960s ok 1144 /checksum/SHA384/32 960s ok 1145 /checksum/SHA384/33 960s ok 1146 /checksum/SHA384/34 960s ok 1147 /checksum/SHA384/35 960s ok 1148 /checksum/SHA384/36 960s ok 1149 /checksum/SHA384/37 960s ok 1150 /checksum/SHA384/38 960s ok 1151 /checksum/SHA384/39 960s ok 1152 /checksum/SHA384/40 960s ok 1153 /checksum/SHA384/41 960s ok 1154 /checksum/SHA384/42 960s ok 1155 /checksum/SHA384/43 960s ok 1156 /checksum/SHA384/44 960s ok 1157 /checksum/SHA384/45 960s ok 1158 /checksum/SHA384/46 960s ok 1159 /checksum/SHA384/47 960s ok 1160 /checksum/SHA384/48 960s ok 1161 /checksum/SHA384/49 960s ok 1162 /checksum/SHA384/50 960s ok 1163 /checksum/SHA384/51 960s ok 1164 /checksum/SHA384/52 960s ok 1165 /checksum/SHA384/53 960s ok 1166 /checksum/SHA384/54 960s ok 1167 /checksum/SHA384/55 960s ok 1168 /checksum/SHA384/56 960s ok 1169 /checksum/SHA384/57 960s ok 1170 /checksum/SHA384/58 960s ok 1171 /checksum/SHA384/59 960s ok 1172 /checksum/SHA384/60 960s ok 1173 /checksum/SHA384/61 960s ok 1174 /checksum/SHA384/62 960s ok 1175 /checksum/SHA384/63 960s ok 1176 /checksum/SHA384/64 960s ok 1177 /checksum/SHA384/65 960s ok 1178 /checksum/SHA384/66 960s ok 1179 /checksum/SHA384/67 960s ok 1180 /checksum/SHA384/68 960s ok 1181 /checksum/SHA384/69 960s ok 1182 /checksum/SHA384/70 960s ok 1183 /checksum/SHA384/71 960s ok 1184 /checksum/SHA384/72 960s ok 1185 /checksum/SHA384/73 960s ok 1186 /checksum/SHA384/74 960s ok 1187 /checksum/SHA384/75 960s ok 1188 /checksum/SHA384/76 960s ok 1189 /checksum/SHA384/77 960s ok 1190 /checksum/SHA384/78 960s ok 1191 /checksum/SHA384/79 960s ok 1192 /checksum/SHA384/80 960s ok 1193 /checksum/SHA384/81 960s ok 1194 /checksum/SHA384/82 960s ok 1195 /checksum/SHA384/83 960s ok 1196 /checksum/SHA384/84 960s ok 1197 /checksum/SHA384/85 960s ok 1198 /checksum/SHA384/86 960s ok 1199 /checksum/SHA384/87 960s ok 1200 /checksum/SHA384/88 960s ok 1201 /checksum/SHA384/89 960s ok 1202 /checksum/SHA384/90 960s ok 1203 /checksum/SHA384/91 960s ok 1204 /checksum/SHA384/92 960s ok 1205 /checksum/SHA384/93 960s ok 1206 /checksum/SHA384/94 960s ok 1207 /checksum/SHA384/95 960s ok 1208 /checksum/SHA384/96 960s ok 1209 /checksum/SHA384/97 960s ok 1210 /checksum/SHA384/98 960s ok 1211 /checksum/SHA384/99 960s ok 1212 /checksum/SHA384/100 960s ok 1213 /checksum/SHA384/101 960s ok 1214 /checksum/SHA384/102 960s ok 1215 /checksum/SHA384/103 960s ok 1216 /checksum/SHA384/104 960s ok 1217 /checksum/SHA384/105 960s ok 1218 /checksum/SHA384/106 960s ok 1219 /checksum/SHA384/107 960s ok 1220 /checksum/SHA384/108 960s ok 1221 /checksum/SHA384/109 960s ok 1222 /checksum/SHA384/110 960s ok 1223 /checksum/SHA384/111 960s ok 1224 /checksum/SHA384/112 960s ok 1225 /checksum/SHA384/113 960s ok 1226 /checksum/SHA384/114 960s ok 1227 /checksum/SHA384/115 960s ok 1228 /checksum/SHA384/116 960s ok 1229 /checksum/SHA384/117 960s ok 1230 /checksum/SHA384/118 960s ok 1231 /checksum/SHA384/119 960s ok 1232 /checksum/SHA384/120 960s ok 1233 /checksum/SHA384/121 960s ok 1234 /checksum/SHA384/122 960s ok 1235 /checksum/SHA384/123 960s ok 1236 /checksum/SHA384/124 960s ok 1237 /checksum/SHA384/125 960s ok 1238 /checksum/SHA384/126 960s ok 1239 /checksum/SHA384/127 960s ok 1240 /checksum/SHA384/128 960s ok 1241 /checksum/SHA384/129 960s ok 1242 /checksum/SHA384/130 960s ok 1243 /checksum/SHA384/131 960s ok 1244 /checksum/SHA384/132 960s ok 1245 /checksum/SHA384/133 960s ok 1246 /checksum/SHA384/134 960s ok 1247 /checksum/SHA384/135 960s ok 1248 /checksum/SHA384/136 960s ok 1249 /checksum/SHA384/137 960s ok 1250 /checksum/SHA384/138 960s ok 1251 /checksum/SHA384/139 960s ok 1252 /checksum/SHA384/140 960s ok 1253 /checksum/SHA384/141 960s ok 1254 /checksum/SHA384/142 960s ok 1255 /checksum/SHA384/143 960s ok 1256 /checksum/SHA384/144 960s ok 1257 /checksum/SHA384/145 960s ok 1258 /checksum/SHA384/146 960s ok 1259 /checksum/SHA384/147 960s ok 1260 /checksum/SHA384/148 960s ok 1261 /checksum/SHA384/149 960s ok 1262 /checksum/SHA384/150 960s ok 1263 /checksum/SHA384/151 960s ok 1264 /checksum/SHA384/152 960s ok 1265 /checksum/SHA384/153 960s ok 1266 /checksum/SHA384/154 960s ok 1267 /checksum/SHA384/155 960s ok 1268 /checksum/SHA384/156 960s ok 1269 /checksum/SHA384/157 960s ok 1270 /checksum/SHA384/158 960s ok 1271 /checksum/SHA384/159 960s ok 1272 /checksum/SHA384/160 960s ok 1273 /checksum/SHA384/161 960s ok 1274 /checksum/SHA384/162 960s ok 1275 /checksum/SHA384/163 960s ok 1276 /checksum/SHA384/164 960s ok 1277 /checksum/SHA384/165 960s ok 1278 /checksum/SHA384/166 960s ok 1279 /checksum/SHA384/167 960s ok 1280 /checksum/SHA384/168 960s ok 1281 /checksum/SHA384/169 960s ok 1282 /checksum/SHA384/170 960s ok 1283 /checksum/SHA384/171 960s ok 1284 /checksum/SHA384/172 960s ok 1285 /checksum/SHA384/173 960s ok 1286 /checksum/SHA384/174 960s ok 1287 /checksum/SHA384/175 960s ok 1288 /checksum/SHA384/176 960s ok 1289 /checksum/SHA384/177 960s ok 1290 /checksum/SHA384/178 960s ok 1291 /checksum/SHA384/179 960s ok 1292 /checksum/SHA384/180 960s ok 1293 /checksum/SHA384/181 960s ok 1294 /checksum/SHA384/182 960s ok 1295 /checksum/SHA384/183 960s ok 1296 /checksum/SHA384/string 960s ok 1297 /checksum/SHA384/bytes 960s # Start of reset tests 960s ok 1298 /checksum/SHA384/reset/0 960s ok 1299 /checksum/SHA384/reset/1 960s ok 1300 /checksum/SHA384/reset/2 960s ok 1301 /checksum/SHA384/reset/3 960s ok 1302 /checksum/SHA384/reset/4 960s ok 1303 /checksum/SHA384/reset/5 960s ok 1304 /checksum/SHA384/reset/6 960s ok 1305 /checksum/SHA384/reset/7 960s ok 1306 /checksum/SHA384/reset/8 960s ok 1307 /checksum/SHA384/reset/9 960s ok 1308 /checksum/SHA384/reset/10 960s ok 1309 /checksum/SHA384/reset/11 960s ok 1310 /checksum/SHA384/reset/12 960s ok 1311 /checksum/SHA384/reset/13 960s ok 1312 /checksum/SHA384/reset/14 960s ok 1313 /checksum/SHA384/reset/15 960s ok 1314 /checksum/SHA384/reset/16 960s ok 1315 /checksum/SHA384/reset/17 960s ok 1316 /checksum/SHA384/reset/18 960s ok 1317 /checksum/SHA384/reset/19 960s ok 1318 /checksum/SHA384/reset/20 960s ok 1319 /checksum/SHA384/reset/21 960s ok 1320 /checksum/SHA384/reset/22 960s ok 1321 /checksum/SHA384/reset/23 960s ok 1322 /checksum/SHA384/reset/24 960s ok 1323 /checksum/SHA384/reset/25 960s ok 1324 /checksum/SHA384/reset/26 960s ok 1325 /checksum/SHA384/reset/27 960s ok 1326 /checksum/SHA384/reset/28 960s ok 1327 /checksum/SHA384/reset/29 960s ok 1328 /checksum/SHA384/reset/30 960s ok 1329 /checksum/SHA384/reset/31 960s ok 1330 /checksum/SHA384/reset/32 960s ok 1331 /checksum/SHA384/reset/33 960s ok 1332 /checksum/SHA384/reset/34 960s ok 1333 /checksum/SHA384/reset/35 960s ok 1334 /checksum/SHA384/reset/36 960s ok 1335 /checksum/SHA384/reset/37 960s ok 1336 /checksum/SHA384/reset/38 960s ok 1337 /checksum/SHA384/reset/39 960s ok 1338 /checksum/SHA384/reset/40 960s ok 1339 /checksum/SHA384/reset/41 960s ok 1340 /checksum/SHA384/reset/42 960s ok 1341 /checksum/SHA384/reset/43 960s ok 1342 /checksum/SHA384/reset/44 960s ok 1343 /checksum/SHA384/reset/45 960s ok 1344 /checksum/SHA384/reset/46 960s ok 1345 /checksum/SHA384/reset/47 960s ok 1346 /checksum/SHA384/reset/48 960s ok 1347 /checksum/SHA384/reset/49 960s ok 1348 /checksum/SHA384/reset/50 960s ok 1349 /checksum/SHA384/reset/51 960s ok 1350 /checksum/SHA384/reset/52 960s ok 1351 /checksum/SHA384/reset/53 960s ok 1352 /checksum/SHA384/reset/54 960s ok 1353 /checksum/SHA384/reset/55 960s ok 1354 /checksum/SHA384/reset/56 960s ok 1355 /checksum/SHA384/reset/57 960s ok 1356 /checksum/SHA384/reset/58 960s ok 1357 /checksum/SHA384/reset/59 960s ok 1358 /checksum/SHA384/reset/60 960s ok 1359 /checksum/SHA384/reset/61 960s ok 1360 /checksum/SHA384/reset/62 960s ok 1361 /checksum/SHA384/reset/63 960s ok 1362 /checksum/SHA384/reset/64 960s ok 1363 /checksum/SHA384/reset/65 960s ok 1364 /checksum/SHA384/reset/66 960s ok 1365 /checksum/SHA384/reset/67 960s ok 1366 /checksum/SHA384/reset/68 960s ok 1367 /checksum/SHA384/reset/69 960s ok 1368 /checksum/SHA384/reset/70 960s ok 1369 /checksum/SHA384/reset/71 960s ok 1370 /checksum/SHA384/reset/72 960s ok 1371 /checksum/SHA384/reset/73 960s ok 1372 /checksum/SHA384/reset/74 960s ok 1373 /checksum/SHA384/reset/75 960s ok 1374 /checksum/SHA384/reset/76 960s ok 1375 /checksum/SHA384/reset/77 960s ok 1376 /checksum/SHA384/reset/78 960s ok 1377 /checksum/SHA384/reset/79 960s ok 1378 /checksum/SHA384/reset/80 960s ok 1379 /checksum/SHA384/reset/81 960s ok 1380 /checksum/SHA384/reset/82 960s ok 1381 /checksum/SHA384/reset/83 960s ok 1382 /checksum/SHA384/reset/84 960s ok 1383 /checksum/SHA384/reset/85 960s ok 1384 /checksum/SHA384/reset/86 960s ok 1385 /checksum/SHA384/reset/87 960s ok 1386 /checksum/SHA384/reset/88 960s ok 1387 /checksum/SHA384/reset/89 960s ok 1388 /checksum/SHA384/reset/90 960s ok 1389 /checksum/SHA384/reset/91 960s ok 1390 /checksum/SHA384/reset/92 960s ok 1391 /checksum/SHA384/reset/93 960s ok 1392 /checksum/SHA384/reset/94 960s ok 1393 /checksum/SHA384/reset/95 960s ok 1394 /checksum/SHA384/reset/96 960s ok 1395 /checksum/SHA384/reset/97 960s ok 1396 /checksum/SHA384/reset/98 960s ok 1397 /checksum/SHA384/reset/99 960s ok 1398 /checksum/SHA384/reset/100 960s ok 1399 /checksum/SHA384/reset/101 960s ok 1400 /checksum/SHA384/reset/102 960s ok 1401 /checksum/SHA384/reset/103 960s ok 1402 /checksum/SHA384/reset/104 960s ok 1403 /checksum/SHA384/reset/105 960s ok 1404 /checksum/SHA384/reset/106 960s ok 1405 /checksum/SHA384/reset/107 960s ok 1406 /checksum/SHA384/reset/108 960s ok 1407 /checksum/SHA384/reset/109 960s ok 1408 /checksum/SHA384/reset/110 960s ok 1409 /checksum/SHA384/reset/111 960s ok 1410 /checksum/SHA384/reset/112 960s ok 1411 /checksum/SHA384/reset/113 960s ok 1412 /checksum/SHA384/reset/114 960s ok 1413 /checksum/SHA384/reset/115 960s ok 1414 /checksum/SHA384/reset/116 960s ok 1415 /checksum/SHA384/reset/117 960s ok 1416 /checksum/SHA384/reset/118 960s ok 1417 /checksum/SHA384/reset/119 960s ok 1418 /checksum/SHA384/reset/120 960s ok 1419 /checksum/SHA384/reset/121 960s ok 1420 /checksum/SHA384/reset/122 960s ok 1421 /checksum/SHA384/reset/123 960s ok 1422 /checksum/SHA384/reset/124 960s ok 1423 /checksum/SHA384/reset/125 960s ok 1424 /checksum/SHA384/reset/126 960s ok 1425 /checksum/SHA384/reset/127 960s ok 1426 /checksum/SHA384/reset/128 960s ok 1427 /checksum/SHA384/reset/129 960s ok 1428 /checksum/SHA384/reset/130 960s ok 1429 /checksum/SHA384/reset/131 960s ok 1430 /checksum/SHA384/reset/132 960s ok 1431 /checksum/SHA384/reset/133 960s ok 1432 /checksum/SHA384/reset/134 960s ok 1433 /checksum/SHA384/reset/135 960s ok 1434 /checksum/SHA384/reset/136 960s ok 1435 /checksum/SHA384/reset/137 960s ok 1436 /checksum/SHA384/reset/138 960s ok 1437 /checksum/SHA384/reset/139 960s ok 1438 /checksum/SHA384/reset/140 960s ok 1439 /checksum/SHA384/reset/141 960s ok 1440 /checksum/SHA384/reset/142 960s ok 1441 /checksum/SHA384/reset/143 960s ok 1442 /checksum/SHA384/reset/144 960s ok 1443 /checksum/SHA384/reset/145 960s ok 1444 /checksum/SHA384/reset/146 960s ok 1445 /checksum/SHA384/reset/147 960s ok 1446 /checksum/SHA384/reset/148 960s ok 1447 /checksum/SHA384/reset/149 960s ok 1448 /checksum/SHA384/reset/150 960s ok 1449 /checksum/SHA384/reset/151 960s ok 1450 /checksum/SHA384/reset/152 960s ok 1451 /checksum/SHA384/reset/153 960s ok 1452 /checksum/SHA384/reset/154 960s ok 1453 /checksum/SHA384/reset/155 960s ok 1454 /checksum/SHA384/reset/156 960s ok 1455 /checksum/SHA384/reset/157 960s ok 1456 /checksum/SHA384/reset/158 960s ok 1457 /checksum/SHA384/reset/159 960s ok 1458 /checksum/SHA384/reset/160 960s ok 1459 /checksum/SHA384/reset/161 960s ok 1460 /checksum/SHA384/reset/162 960s ok 1461 /checksum/SHA384/reset/163 960s ok 1462 /checksum/SHA384/reset/164 960s ok 1463 /checksum/SHA384/reset/165 960s ok 1464 /checksum/SHA384/reset/166 960s ok 1465 /checksum/SHA384/reset/167 960s ok 1466 /checksum/SHA384/reset/168 960s ok 1467 /checksum/SHA384/reset/169 960s ok 1468 /checksum/SHA384/reset/170 960s ok 1469 /checksum/SHA384/reset/171 960s ok 1470 /checksum/SHA384/reset/172 960s ok 1471 /checksum/SHA384/reset/173 960s ok 1472 /checksum/SHA384/reset/174 960s ok 1473 /checksum/SHA384/reset/175 960s ok 1474 /checksum/SHA384/reset/176 960s ok 1475 /checksum/SHA384/reset/177 960s ok 1476 /checksum/SHA384/reset/178 960s ok 1477 /checksum/SHA384/reset/179 960s ok 1478 /checksum/SHA384/reset/180 960s ok 1479 /checksum/SHA384/reset/181 960s ok 1480 /checksum/SHA384/reset/182 960s ok 1481 /checksum/SHA384/reset/183 960s # End of reset tests 960s # End of SHA384 tests 960s # Start of SHA512 tests 960s ok 1482 /checksum/SHA512/0 960s ok 1483 /checksum/SHA512/1 960s ok 1484 /checksum/SHA512/2 960s ok 1485 /checksum/SHA512/3 960s ok 1486 /checksum/SHA512/4 960s ok 1487 /checksum/SHA512/5 960s ok 1488 /checksum/SHA512/6 960s ok 1489 /checksum/SHA512/7 960s ok 1490 /checksum/SHA512/8 960s ok 1491 /checksum/SHA512/9 960s ok 1492 /checksum/SHA512/10 960s ok 1493 /checksum/SHA512/11 960s ok 1494 /checksum/SHA512/12 960s ok 1495 /checksum/SHA512/13 960s ok 1496 /checksum/SHA512/14 960s ok 1497 /checksum/SHA512/15 960s ok 1498 /checksum/SHA512/16 960s ok 1499 /checksum/SHA512/17 960s ok 1500 /checksum/SHA512/18 960s ok 1501 /checksum/SHA512/19 960s ok 1502 /checksum/SHA512/20 960s ok 1503 /checksum/SHA512/21 960s ok 1504 /checksum/SHA512/22 960s ok 1505 /checksum/SHA512/23 960s ok 1506 /checksum/SHA512/24 960s ok 1507 /checksum/SHA512/25 960s ok 1508 /checksum/SHA512/26 960s ok 1509 /checksum/SHA512/27 960s ok 1510 /checksum/SHA512/28 960s ok 1511 /checksum/SHA512/29 960s ok 1512 /checksum/SHA512/30 960s ok 1513 /checksum/SHA512/31 960s ok 1514 /checksum/SHA512/32 960s ok 1515 /checksum/SHA512/33 960s ok 1516 /checksum/SHA512/34 960s ok 1517 /checksum/SHA512/35 960s ok 1518 /checksum/SHA512/36 960s ok 1519 /checksum/SHA512/37 960s ok 1520 /checksum/SHA512/38 960s ok 1521 /checksum/SHA512/39 960s ok 1522 /checksum/SHA512/40 960s ok 1523 /checksum/SHA512/41 960s ok 1524 /checksum/SHA512/42 960s ok 1525 /checksum/SHA512/43 960s ok 1526 /checksum/SHA512/44 960s ok 1527 /checksum/SHA512/45 960s ok 1528 /checksum/SHA512/46 960s ok 1529 /checksum/SHA512/47 960s ok 1530 /checksum/SHA512/48 960s ok 1531 /checksum/SHA512/49 960s ok 1532 /checksum/SHA512/50 960s ok 1533 /checksum/SHA512/51 960s ok 1534 /checksum/SHA512/52 960s ok 1535 /checksum/SHA512/53 960s ok 1536 /checksum/SHA512/54 960s ok 1537 /checksum/SHA512/55 960s ok 1538 /checksum/SHA512/56 960s ok 1539 /checksum/SHA512/57 960s ok 1540 /checksum/SHA512/58 960s ok 1541 /checksum/SHA512/59 960s ok 1542 /checksum/SHA512/60 960s ok 1543 /checksum/SHA512/61 960s ok 1544 /checksum/SHA512/62 960s ok 1545 /checksum/SHA512/63 960s ok 1546 /checksum/SHA512/64 960s ok 1547 /checksum/SHA512/65 960s ok 1548 /checksum/SHA512/66 960s ok 1549 /checksum/SHA512/67 960s ok 1550 /checksum/SHA512/68 960s ok 1551 /checksum/SHA512/69 960s ok 1552 /checksum/SHA512/70 960s ok 1553 /checksum/SHA512/71 960s ok 1554 /checksum/SHA512/72 960s ok 1555 /checksum/SHA512/73 960s ok 1556 /checksum/SHA512/74 960s ok 1557 /checksum/SHA512/75 960s ok 1558 /checksum/SHA512/76 960s ok 1559 /checksum/SHA512/77 960s ok 1560 /checksum/SHA512/78 960s ok 1561 /checksum/SHA512/79 960s ok 1562 /checksum/SHA512/80 960s ok 1563 /checksum/SHA512/81 960s ok 1564 /checksum/SHA512/82 960s ok 1565 /checksum/SHA512/83 960s ok 1566 /checksum/SHA512/84 960s ok 1567 /checksum/SHA512/85 960s ok 1568 /checksum/SHA512/86 960s ok 1569 /checksum/SHA512/87 960s ok 1570 /checksum/SHA512/88 960s ok 1571 /checksum/SHA512/89 960s ok 1572 /checksum/SHA512/90 960s ok 1573 /checksum/SHA512/91 960s ok 1574 /checksum/SHA512/92 960s ok 1575 /checksum/SHA512/93 960s ok 1576 /checksum/SHA512/94 960s ok 1577 /checksum/SHA512/95 960s ok 1578 /checksum/SHA512/96 960s ok 1579 /checksum/SHA512/97 960s ok 1580 /checksum/SHA512/98 960s ok 1581 /checksum/SHA512/99 960s ok 1582 /checksum/SHA512/100 960s ok 1583 /checksum/SHA512/101 960s ok 1584 /checksum/SHA512/102 960s ok 1585 /checksum/SHA512/103 960s ok 1586 /checksum/SHA512/104 960s ok 1587 /checksum/SHA512/105 960s ok 1588 /checksum/SHA512/106 960s ok 1589 /checksum/SHA512/107 960s ok 1590 /checksum/SHA512/108 960s ok 1591 /checksum/SHA512/109 960s ok 1592 /checksum/SHA512/110 960s ok 1593 /checksum/SHA512/111 960s ok 1594 /checksum/SHA512/112 960s ok 1595 /checksum/SHA512/113 960s ok 1596 /checksum/SHA512/114 960s ok 1597 /checksum/SHA512/115 960s ok 1598 /checksum/SHA512/116 960s ok 1599 /checksum/SHA512/117 960s ok 1600 /checksum/SHA512/118 960s ok 1601 /checksum/SHA512/119 960s ok 1602 /checksum/SHA512/120 960s ok 1603 /checksum/SHA512/121 960s ok 1604 /checksum/SHA512/122 960s ok 1605 /checksum/SHA512/123 960s ok 1606 /checksum/SHA512/124 960s ok 1607 /checksum/SHA512/125 960s ok 1608 /checksum/SHA512/126 960s ok 1609 /checksum/SHA512/127 960s ok 1610 /checksum/SHA512/128 960s ok 1611 /checksum/SHA512/129 960s ok 1612 /checksum/SHA512/130 960s ok 1613 /checksum/SHA512/131 960s ok 1614 /checksum/SHA512/132 960s ok 1615 /checksum/SHA512/133 960s ok 1616 /checksum/SHA512/134 960s ok 1617 /checksum/SHA512/135 960s ok 1618 /checksum/SHA512/136 960s ok 1619 /checksum/SHA512/137 960s ok 1620 /checksum/SHA512/138 960s ok 1621 /checksum/SHA512/139 960s ok 1622 /checksum/SHA512/140 960s ok 1623 /checksum/SHA512/141 960s ok 1624 /checksum/SHA512/142 960s ok 1625 /checksum/SHA512/143 960s ok 1626 /checksum/SHA512/144 960s ok 1627 /checksum/SHA512/145 960s ok 1628 /checksum/SHA512/146 960s ok 1629 /checksum/SHA512/147 960s ok 1630 /checksum/SHA512/148 960s ok 1631 /checksum/SHA512/149 960s ok 1632 /checksum/SHA512/150 960s ok 1633 /checksum/SHA512/151 960s ok 1634 /checksum/SHA512/152 960s ok 1635 /checksum/SHA512/153 960s ok 1636 /checksum/SHA512/154 960s ok 1637 /checksum/SHA512/155 960s ok 1638 /checksum/SHA512/156 960s ok 1639 /checksum/SHA512/157 960s ok 1640 /checksum/SHA512/158 960s ok 1641 /checksum/SHA512/159 960s ok 1642 /checksum/SHA512/160 960s ok 1643 /checksum/SHA512/161 960s ok 1644 /checksum/SHA512/162 960s ok 1645 /checksum/SHA512/163 960s ok 1646 /checksum/SHA512/164 960s ok 1647 /checksum/SHA512/165 960s ok 1648 /checksum/SHA512/166 960s ok 1649 /checksum/SHA512/167 960s ok 1650 /checksum/SHA512/168 960s ok 1651 /checksum/SHA512/169 960s ok 1652 /checksum/SHA512/170 960s ok 1653 /checksum/SHA512/171 960s ok 1654 /checksum/SHA512/172 960s ok 1655 /checksum/SHA512/173 960s ok 1656 /checksum/SHA512/174 960s ok 1657 /checksum/SHA512/175 960s ok 1658 /checksum/SHA512/176 960s ok 1659 /checksum/SHA512/177 960s ok 1660 /checksum/SHA512/178 960s ok 1661 /checksum/SHA512/179 960s ok 1662 /checksum/SHA512/180 960s ok 1663 /checksum/SHA512/181 960s ok 1664 /checksum/SHA512/182 960s ok 1665 /checksum/SHA512/183 960s ok 1666 /checksum/SHA512/string 960s ok 1667 /checksum/SHA512/bytes 960s # Start of reset tests 960s ok 1668 /checksum/SHA512/reset/0 960s ok 1669 /checksum/SHA512/reset/1 960s ok 1670 /checksum/SHA512/reset/2 960s ok 1671 /checksum/SHA512/reset/3 960s ok 1672 /checksum/SHA512/reset/4 960s ok 1673 /checksum/SHA512/reset/5 960s ok 1674 /checksum/SHA512/reset/6 960s ok 1675 /checksum/SHA512/reset/7 960s ok 1676 /checksum/SHA512/reset/8 960s ok 1677 /checksum/SHA512/reset/9 960s ok 1678 /checksum/SHA512/reset/10 960s ok 1679 /checksum/SHA512/reset/11 960s ok 1680 /checksum/SHA512/reset/12 960s ok 1681 /checksum/SHA512/reset/13 960s ok 1682 /checksum/SHA512/reset/14 960s ok 1683 /checksum/SHA512/reset/15 960s ok 1684 /checksum/SHA512/reset/16 960s ok 1685 /checksum/SHA512/reset/17 960s ok 1686 /checksum/SHA512/reset/18 960s ok 1687 /checksum/SHA512/reset/19 960s ok 1688 /checksum/SHA512/reset/20 960s ok 1689 /checksum/SHA512/reset/21 960s ok 1690 /checksum/SHA512/reset/22 960s ok 1691 /checksum/SHA512/reset/23 960s ok 1692 /checksum/SHA512/reset/24 960s ok 1693 /checksum/SHA512/reset/25 960s ok 1694 /checksum/SHA512/reset/26 960s ok 1695 /checksum/SHA512/reset/27 960s ok 1696 /checksum/SHA512/reset/28 960s ok 1697 /checksum/SHA512/reset/29 960s ok 1698 /checksum/SHA512/reset/30 960s ok 1699 /checksum/SHA512/reset/31 960s ok 1700 /checksum/SHA512/reset/32 960s ok 1701 /checksum/SHA512/reset/33 960s ok 1702 /checksum/SHA512/reset/34 960s ok 1703 /checksum/SHA512/reset/35 960s ok 1704 /checksum/SHA512/reset/36 960s ok 1705 /checksum/SHA512/reset/37 960s ok 1706 /checksum/SHA512/reset/38 960s ok 1707 /checksum/SHA512/reset/39 960s ok 1708 /checksum/SHA512/reset/40 960s ok 1709 /checksum/SHA512/reset/41 960s ok 1710 /checksum/SHA512/reset/42 960s ok 1711 /checksum/SHA512/reset/43 960s ok 1712 /checksum/SHA512/reset/44 960s ok 1713 /checksum/SHA512/reset/45 960s ok 1714 /checksum/SHA512/reset/46 960s ok 1715 /checksum/SHA512/reset/47 960s ok 1716 /checksum/SHA512/reset/48 960s ok 1717 /checksum/SHA512/reset/49 960s ok 1718 /checksum/SHA512/reset/50 960s ok 1719 /checksum/SHA512/reset/51 960s ok 1720 /checksum/SHA512/reset/52 960s ok 1721 /checksum/SHA512/reset/53 960s ok 1722 /checksum/SHA512/reset/54 960s ok 1723 /checksum/SHA512/reset/55 960s ok 1724 /checksum/SHA512/reset/56 960s ok 1725 /checksum/SHA512/reset/57 960s ok 1726 /checksum/SHA512/reset/58 960s ok 1727 /checksum/SHA512/reset/59 960s ok 1728 /checksum/SHA512/reset/60 960s ok 1729 /checksum/SHA512/reset/61 960s ok 1730 /checksum/SHA512/reset/62 960s ok 1731 /checksum/SHA512/reset/63 960s ok 1732 /checksum/SHA512/reset/64 960s ok 1733 /checksum/SHA512/reset/65 960s ok 1734 /checksum/SHA512/reset/66 960s ok 1735 /checksum/SHA512/reset/67 960s ok 1736 /checksum/SHA512/reset/68 960s ok 1737 /checksum/SHA512/reset/69 960s ok 1738 /checksum/SHA512/reset/70 960s ok 1739 /checksum/SHA512/reset/71 960s ok 1740 /checksum/SHA512/reset/72 960s ok 1741 /checksum/SHA512/reset/73 960s ok 1742 /checksum/SHA512/reset/74 960s ok 1743 /checksum/SHA512/reset/75 960s ok 1744 /checksum/SHA512/reset/76 960s ok 1745 /checksum/SHA512/reset/77 960s ok 1746 /checksum/SHA512/reset/78 960s ok 1747 /checksum/SHA512/reset/79 960s ok 1748 /checksum/SHA512/reset/80 960s ok 1749 /checksum/SHA512/reset/81 960s ok 1750 /checksum/SHA512/reset/82 960s ok 1751 /checksum/SHA512/reset/83 960s ok 1752 /checksum/SHA512/reset/84 960s ok 1753 /checksum/SHA512/reset/85 960s ok 1754 /checksum/SHA512/reset/86 960s ok 1755 /checksum/SHA512/reset/87 960s ok 1756 /checksum/SHA512/reset/88 960s ok 1757 /checksum/SHA512/reset/89 960s ok 1758 /checksum/SHA512/reset/90 960s ok 1759 /checksum/SHA512/reset/91 960s ok 1760 /checksum/SHA512/reset/92 960s ok 1761 /checksum/SHA512/reset/93 960s ok 1762 /checksum/SHA512/reset/94 960s ok 1763 /checksum/SHA512/reset/95 960s ok 1764 /checksum/SHA512/reset/96 960s ok 1765 /checksum/SHA512/reset/97 960s ok 1766 /checksum/SHA512/reset/98 960s ok 1767 /checksum/SHA512/reset/99 960s ok 1768 /checksum/SHA512/reset/100 960s ok 1769 /checksum/SHA512/reset/101 960s ok 1770 /checksum/SHA512/reset/102 960s ok 1771 /checksum/SHA512/reset/103 960s ok 1772 /checksum/SHA512/reset/104 960s ok 1773 /checksum/SHA512/reset/105 960s ok 1774 /checksum/SHA512/reset/106 960s ok 1775 /checksum/SHA512/reset/107 960s ok 1776 /checksum/SHA512/reset/108 960s ok 1777 /checksum/SHA512/reset/109 960s ok 1778 /checksum/SHA512/reset/110 960s ok 1779 /checksum/SHA512/reset/111 960s ok 1780 /checksum/SHA512/reset/112 960s ok 1781 /checksum/SHA512/reset/113 960s ok 1782 /checksum/SHA512/reset/114 960s ok 1783 /checksum/SHA512/reset/115 960s ok 1784 /checksum/SHA512/reset/116 960s ok 1785 /checksum/SHA512/reset/117 960s ok 1786 /checksum/SHA512/reset/118 960s ok 1787 /checksum/SHA512/reset/119 960s ok 1788 /checksum/SHA512/reset/120 960s ok 1789 /checksum/SHA512/reset/121 960s ok 1790 /checksum/SHA512/reset/122 960s ok 1791 /checksum/SHA512/reset/123 960s ok 1792 /checksum/SHA512/reset/124 960s ok 1793 /checksum/SHA512/reset/125 960s ok 1794 /checksum/SHA512/reset/126 960s ok 1795 /checksum/SHA512/reset/127 960s ok 1796 /checksum/SHA512/reset/128 960s ok 1797 /checksum/SHA512/reset/129 960s ok 1798 /checksum/SHA512/reset/130 960s ok 1799 /checksum/SHA512/reset/131 960s ok 1800 /checksum/SHA512/reset/132 960s ok 1801 /checksum/SHA512/reset/133 960s ok 1802 /checksum/SHA512/reset/134 960s ok 1803 /checksum/SHA512/reset/135 960s ok 1804 /checksum/SHA512/reset/136 960s ok 1805 /checksum/SHA512/reset/137 960s ok 1806 /checksum/SHA512/reset/138 960s ok 1807 /checksum/SHA512/reset/139 960s ok 1808 /checksum/SHA512/reset/140 960s ok 1809 /checksum/SHA512/reset/141 960s ok 1810 /checksum/SHA512/reset/142 960s ok 1811 /checksum/SHA512/reset/143 960s ok 1812 /checksum/SHA512/reset/144 960s ok 1813 /checksum/SHA512/reset/145 960s ok 1814 /checksum/SHA512/reset/146 960s ok 1815 /checksum/SHA512/reset/147 960s ok 1816 /checksum/SHA512/reset/148 960s ok 1817 /checksum/SHA512/reset/149 960s ok 1818 /checksum/SHA512/reset/150 960s ok 1819 /checksum/SHA512/reset/151 960s ok 1820 /checksum/SHA512/reset/152 960s ok 1821 /checksum/SHA512/reset/153 960s ok 1822 /checksum/SHA512/reset/154 960s ok 1823 /checksum/SHA512/reset/155 960s ok 1824 /checksum/SHA512/reset/156 960s ok 1825 /checksum/SHA512/reset/157 960s ok 1826 /checksum/SHA512/reset/158 960s ok 1827 /checksum/SHA512/reset/159 960s ok 1828 /checksum/SHA512/reset/160 960s ok 1829 /checksum/SHA512/reset/161 960s ok 1830 /checksum/SHA512/reset/162 960s ok 1831 /checksum/SHA512/reset/163 960s ok 1832 /checksum/SHA512/reset/164 960s ok 1833 /checksum/SHA512/reset/165 960s ok 1834 /checksum/SHA512/reset/166 960s ok 1835 /checksum/SHA512/reset/167 960s ok 1836 /checksum/SHA512/reset/168 960s ok 1837 /checksum/SHA512/reset/169 960s ok 1838 /checksum/SHA512/reset/170 960s ok 1839 /checksum/SHA512/reset/171 960s ok 1840 /checksum/SHA512/reset/172 960s ok 1841 /checksum/SHA512/reset/173 960s ok 1842 /checksum/SHA512/reset/174 960s ok 1843 /checksum/SHA512/reset/175 960s ok 1844 /checksum/SHA512/reset/176 960s ok 1845 /checksum/SHA512/reset/177 960s ok 1846 /checksum/SHA512/reset/178 960s ok 1847 /checksum/SHA512/reset/179 960s ok 1848 /checksum/SHA512/reset/180 960s ok 1849 /checksum/SHA512/reset/181 960s ok 1850 /checksum/SHA512/reset/182 960s ok 1851 /checksum/SHA512/reset/183 960s # End of reset tests 960s # End of SHA512 tests 960s # End of checksum tests 960s ok - glib/checksum.test 960s # Running test: glib/testing.test 960s TAP version 14 960s # random seed: R02S189393f222591f216261f8a6975bed0a 960s 1..1 960s # Start of assert tests 960s ok 1 /assert/finalize_object 960s # Start of finalize_object tests 960s # Start of subprocess tests 960s # End of subprocess tests 960s # End of finalize_object tests 960s # End of assert tests 960s ok - glib/testing.test 960s # Running test: glib/mappedfile.test 960s TAP version 14 960s # random seed: R02Se7e345b255953d92d67db7ef1e50036f 960s 1..7 960s # Start of mappedfile tests 960s ok 1 /mappedfile/basic 960s ok 2 /mappedfile/empty 960s ok 3 /mappedfile/device 960s ok 4 /mappedfile/nonexisting 960s ok 5 /mappedfile/writable 960s ok 6 /mappedfile/writable_fd 960s ok 7 /mappedfile/gbytes 960s # End of mappedfile tests 960s ok - glib/mappedfile.test 960s # Running test: glib/portal-support-flatpak-gsettings-only.test 960s TAP version 14 960s # random seed: R02S25a55895a7735c189f2cb5ec865e44ed 960s 1..1 960s # Start of portal-support tests 960s # Start of flatpak tests 960s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/home 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/cache 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/system-config2 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/config 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/system-data2 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/data 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/state 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/runtime 960s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_7GSNK3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 960s ok 1 /portal-support/flatpak/gsettings 960s # End of flatpak tests 960s # End of portal-support tests 960s ok - glib/portal-support-flatpak-gsettings-only.test 960s # Running test: glib/gdbus-bz627724.test 960s TAP version 14 960s # random seed: R02S3781e0a0b835201868625715caa088bd 960s 1..1 960s # Start of gdbus tests 960s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_7GNNK3/gdbus/bz627724/.dirs/home 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_7GNNK3/gdbus/bz627724/.dirs/cache 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_7GNNK3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_7GNNK3/gdbus/bz627724/.dirs/system-config2 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_7GNNK3/gdbus/bz627724/.dirs/config 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_7GNNK3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_7GNNK3/gdbus/bz627724/.dirs/system-data2 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_7GNNK3/gdbus/bz627724/.dirs/data 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_7GNNK3/gdbus/bz627724/.dirs/state 960s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_7GNNK3/gdbus/bz627724/.dirs/runtime 960s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 960s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 960s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 960s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 960s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 960s ok 1 /gdbus/bz627724 960s # End of gdbus tests 960s ok - glib/gdbus-bz627724.test 960s # Running test: glib/performance-threaded.test 960s Running test "liststore-is-a" 961s # Executing: glib/performance-threaded.test 961s 16995 runs, min/avg/max = 0.057/0.059/0.325 ms 961s Running test "liststore-interface-peek" 962s 29283 runs, min/avg/max = 0.033/0.034/0.225 ms 962s Running test "liststore-interface-peek-same" 963s 29979 runs, min/avg/max = 0.032/0.033/0.267 ms 963s ok - glib/performance-threaded.test 963s # Running test: glib/refstring.test 963s TAP version 14 963s # random seed: R02S59e0e51704a99929b86c531a5b6460e1 963s 1..8 963s # Start of refstring tests 963s # s = 'hello, world' (0xb2f5fc65c2c0) 963s ok 1 /refstring/base 963s ok 2 /refstring/length 963s ok 3 /refstring/length-auto 963s ok 4 /refstring/length-nuls 963s # s = 'hello, world' (0xb2f5fc65c160) 963s # p = s = 'hello, world' (0xb2f5fc65c160) 963s # releasing p[0xb2f5fc65c160] ('hello, world') 963s # p = 'goodbye, world' (0xb2f5fc65c2c0) 963s # releasing p[0xb2f5fc65c2c0] ('goodbye, world') 963s # releasing s[0xb2f5fc65c160] ('hello, world') 963s ok 5 /refstring/intern 963s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 963s ok 6 /refstring/hash_equal 963s # /refstring/equal summary: Test g_ref_string_equal() standalone 963s ok 7 /refstring/equal 964s ok 8 /refstring/intern-thread-safety 964s # slow test /refstring/intern-thread-safety executed in 0.69 secs 964s # End of refstring tests 964s ok - glib/refstring.test 964s # Running test: glib/cxx-03.test 964s TAP version 14 964s # random seed: R02S9fd3999e6f79c8aa799ad590bb7a2aea 964s 1..2 964s # Start of gtask tests 964s # 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. 964s ok 1 /gtask/name 964s # Start of name tests 964s # 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. 964s ok 2 /gtask/name/macro-wrapper 964s # End of name tests 964s # End of gtask tests 964s ok - glib/cxx-03.test 964s # Running test: glib/sandbox.test 964s ok - glib/sandbox.test 964s # Running test: glib/queue.test 964s TAP version 14 964s # random seed: R02S5f5d7f9ebc6b55e1e0f97817e7bb3d83 964s 1..4 964s # Start of sandbox tests 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_PE7HK3/sandbox/none/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_PE7HK3/sandbox/none/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_PE7HK3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_PE7HK3/sandbox/none/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_PE7HK3/sandbox/none/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_PE7HK3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_PE7HK3/sandbox/none/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_PE7HK3/sandbox/none/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_PE7HK3/sandbox/none/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_PE7HK3/sandbox/none/.dirs/runtime 964s ok 1 /sandbox/none 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_PE7HK3/sandbox/snap/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_PE7HK3/sandbox/snap/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_PE7HK3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_PE7HK3/sandbox/snap/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_PE7HK3/sandbox/snap/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_PE7HK3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_PE7HK3/sandbox/snap/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_PE7HK3/sandbox/snap/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_PE7HK3/sandbox/snap/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_PE7HK3/sandbox/snap/.dirs/runtime 964s # Created snap.yaml in /tmp/test_sandbox_PE7HK3/snap/current/meta/snap.yaml 964s ok 2 /sandbox/snap 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_PE7HK3/sandbox/classic-snap/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_PE7HK3/sandbox/classic-snap/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_PE7HK3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_PE7HK3/sandbox/classic-snap/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_PE7HK3/sandbox/classic-snap/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_PE7HK3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_PE7HK3/sandbox/classic-snap/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_PE7HK3/sandbox/classic-snap/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_PE7HK3/sandbox/classic-snap/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_PE7HK3/sandbox/classic-snap/.dirs/runtime 964s # Created snap.yaml in /tmp/test_sandbox_PE7HK3/snap/current/meta/snap.yaml 964s ok 3 /sandbox/classic-snap 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/runtime 964s # Creating .flatpak-info in /tmp/test_sandbox_PE7HK3/sandbox/flatpak/.dirs/runtime/.flatpak-info 964s ok 4 /sandbox/flatpak 964s # End of sandbox tests 964s TAP version 14 964s # random seed: R02S71ead9dcb9f568fbf2c627e8f87dc095 964s 1..12 964s # Start of queue tests 964s ok 1 /queue/basic 964s ok 2 /queue/copy 964s ok 3 /queue/off-by-one 964s ok 4 /queue/find-custom 964s ok 5 /queue/static 964s ok 6 /queue/clear 964s ok 7 /queue/free-full 964s ok 8 /queue/clear-full 964s ok 9 /queue/insert-sibling-link 964s ok 10 /queue/push-nth-link 964s # Start of clear-full tests 964s ok 11 /queue/clear-full/noop 964s # End of clear-full tests 964s # Start of random tests 964s ok 12 /queue/random/seed:463708100 964s # End of random tests 964s # End of queue tests 964s ok - glib/queue.test 964s # Running test: glib/scannerapi.test 964s TAP version 14 964s # random seed: R02S8a70e80978b4658d8f69287dc2f6cb21 964s 1..8 964s # Start of scanner tests 964s ok 1 /scanner/warn 964s ok 2 /scanner/error 964s ok 3 /scanner/symbols 964s ok 4 /scanner/tokens 964s ok 5 /scanner/multiline-comment 964s ok 6 /scanner/int-to-float 964s ok 7 /scanner/fd-input 964s # Start of fd-input tests 964s ok 8 /scanner/fd-input/rewind 964s # End of fd-input tests 964s # End of scanner tests 964s ok - glib/scannerapi.test 964s # Running test: glib/autoptr-girepository.test 964s TAP version 14 964s # random seed: R02S28100839f5891afcecac735f56be07bc 964s 1..24 964s # Start of autoptr tests 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/repository/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/repository/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/repository/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/repository/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/repository/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/repository/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/repository/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/repository/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 1 /autoptr/repository 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/typelib/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/typelib/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/typelib/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/typelib/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/typelib/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/typelib/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/typelib/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/typelib/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 2 /autoptr/typelib 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/base-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/base-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/base-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/base-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/base-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/base-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/base-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/base-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 3 /autoptr/base-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/arg-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/arg-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/arg-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/arg-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/arg-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/arg-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/arg-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/arg-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 4 /autoptr/arg-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/callable-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/callable-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/callable-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/callable-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/callable-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/callable-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/callable-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/callable-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 5 /autoptr/callable-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/callback-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/callback-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/callback-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/callback-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/callback-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/callback-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/callback-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/callback-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 6 /autoptr/callback-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/constant-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/constant-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/constant-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/constant-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/constant-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/constant-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/constant-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/constant-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 7 /autoptr/constant-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/enum-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/enum-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/enum-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/enum-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/enum-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/enum-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/enum-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/enum-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 8 /autoptr/enum-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/field-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/field-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/field-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/field-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/field-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/field-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/field-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/field-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 9 /autoptr/field-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/flags-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/flags-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/flags-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/flags-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/flags-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/flags-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/flags-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/flags-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 10 /autoptr/flags-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/function-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/function-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/function-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/function-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/function-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/function-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/function-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/function-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 11 /autoptr/function-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/interface-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/interface-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/interface-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/interface-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/interface-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/interface-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/interface-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/interface-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 12 /autoptr/interface-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/object-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/object-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/object-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/object-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/object-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/object-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/object-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/object-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 13 /autoptr/object-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/property-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/property-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/property-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/property-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/property-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/property-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/property-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/property-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 14 /autoptr/property-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/registered-type-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/registered-type-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/registered-type-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/registered-type-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/registered-type-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/registered-type-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/registered-type-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/registered-type-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 15 /autoptr/registered-type-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/signal-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/signal-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/signal-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/signal-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/signal-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/signal-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/signal-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/signal-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 16 /autoptr/signal-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/struct-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/struct-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/struct-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/struct-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/struct-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/struct-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/struct-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/struct-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 17 /autoptr/struct-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/type-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/type-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/type-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/type-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/type-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/type-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/type-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/type-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 18 /autoptr/type-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/union-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/union-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/union-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/union-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/union-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/union-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/union-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/union-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 19 /autoptr/union-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/value-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/value-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/value-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/value-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/value-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/value-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/value-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/value-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 20 /autoptr/value-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/vfunc-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/vfunc-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/autoptr/vfunc-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/vfunc-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/autoptr/vfunc-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/vfunc-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/autoptr/vfunc-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/autoptr/vfunc-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 21 /autoptr/vfunc-info 964s # End of autoptr tests 964s # Start of auto tests 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/auto/arg-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/arg-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/auto/arg-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/arg-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/auto/arg-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/arg-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/arg-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/auto/arg-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 22 /auto/arg-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/auto/type-info/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/type-info/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/auto/type-info/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/type-info/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/auto/type-info/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/type-info/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/type-info/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/auto/type-info/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 23 /auto/type-info 964s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_F8REK3/auto/function-invoker/.dirs/home 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/function-invoker/.dirs/cache 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_F8REK3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_F8REK3/auto/function-invoker/.dirs/system-config2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/function-invoker/.dirs/config 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_F8REK3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_F8REK3/auto/function-invoker/.dirs/system-data2 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/function-invoker/.dirs/data 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_F8REK3/auto/function-invoker/.dirs/state 964s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_F8REK3/auto/function-invoker/.dirs/runtime 964s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 964s ok 24 /auto/function-invoker 964s # End of auto tests 964s TAP version 14 964s # random seed: R02S91da4cbbd5d39ea9f2e624024351517c 964s 1..36 964s # Start of gtask tests 964s ok 1 /gtask/basic 964s ok 2 /gtask/error 964s ok 3 /gtask/error-literal 964s ok 4 /gtask/error-literal-from-variable 964s ok 5 /gtask/return-from-same-iteration 964s ok 6 /gtask/return-from-toplevel 964s ok 7 /gtask/return-from-anon-thread 964s ok 8 /gtask/return-from-wrong-thread 964s ok - glib/autoptr-girepository.test 964s # Running test: glib/task.test 964s ok 9 /gtask/no-callback 964s ok 10 /gtask/report-error 964s ok 11 /gtask/priority 964s ok 12 /gtask/name 964s ok 13 /gtask/static-name 964s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 964s ok 14 /gtask/asynchronous-cancellation 964s ok 15 /gtask/check-cancellable 964s ok 16 /gtask/return-if-cancelled 964s ok 17 /gtask/run-in-thread 964s ok 18 /gtask/run-in-thread-sync 964s ok 19 /gtask/run-in-thread-priority 964s ok 20 /gtask/run-in-thread-nested 965s ok 21 /gtask/run-in-thread-overflow 965s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 965s # GLib-GIO-DEBUG: GTask 0xbc8a77dbdfc0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 965s # GLib-GIO-DEBUG: GTask 0xbc8a77dbe150 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 965s ok 22 /gtask/return-on-cancel 965s # GLib-GIO-DEBUG: GTask 0xbc8a77d53cd0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 965s # GLib-GIO-DEBUG: GTask 0xbc8a77d54400 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 965s ok 23 /gtask/return-on-cancel-sync 965s ok 24 /gtask/return-on-cancel-atomic 965s ok 25 /gtask/return-pointer 965s ok 26 /gtask/return-value 965s ok 27 /gtask/return-prefixed-error 965s ok 28 /gtask/object-keepalive 965s ok 29 /gtask/legacy-error 965s ok 30 /gtask/finalize-without-return 965s # Start of name tests 965s ok 31 /gtask/name/macro-wrapper 965s # End of name tests 965s # Start of return tests 965s ok 32 /gtask/return/error-first 965s ok 33 /gtask/return/value-first 965s # Start of in-idle tests 965s ok 34 /gtask/return/in-idle/error-first 965s ok - glib/task.test 965s # Running test: glib/file-enumerator.test 965s ok - glib/file-enumerator.test 965s # Running test: glib/accumulator.test 965s ok - glib/accumulator.test 965s # Running test: glib/singleton.test 965s ok 35 /gtask/return/in-idle/value-first 965s # End of in-idle tests 965s # End of return tests 965s # Start of attach-source tests 965s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 965s ok 36 /gtask/attach-source/set-name 965s # End of attach-source tests 965s # End of gtask tests 965s TAP version 14 965s # random seed: R02Sd96eb4f33ac663ce69c5b19872595caa 965s 1..1 965s # Start of file-enumerator tests 965s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 965s ok 1 /file-enumerator/close-on-dispose 965s # End of file-enumerator tests 965s TAP version 14 965s # random seed: R02Sb99d4771350b79d7e39950c938ec0900 965s 1..1 965s # Start of gobject tests 965s ok 1 /gobject/accumulator 965s # End of gobject tests 965s TAP version 14 965s # random seed: R02S9449c6fd391941e055602ea7c574d03f 965s 1..2 965s # Start of gobject tests 965s # Start of singleton tests 965s ok 1 /gobject/singleton/construction 965s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 965s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 965s ok 2 /gobject/singleton/construct-property 965s # End of singleton tests 965s # End of gobject tests 965s ok - glib/singleton.test 965s # Running test: glib/giomodule.test 965s TAP version 14 965s # random seed: R02S5700bc9538db5483dca6be1e02a3a1c2 965s 1..3 965s # Start of giomodule tests 965s ok 1 /giomodule/extension-point 965s ok 2 /giomodule/module-scan-all 965s ok 3 /giomodule/module-scan-all-with-scope 965s # End of giomodule tests 965s ok - glib/giomodule.test 965s # Running test: glib/option-argv0.test 965s TAP version 14 965s # random seed: R02S5ab015d9ba749af4c20426a3b78b018d 965s 1..1 965s # Start of option tests 965s ok 1 /option/argv0 965s # End of option tests 965s ok - glib/option-argv0.test 965s # Running test: glib/converter-stream.test 965s TAP version 14 965s # random seed: R02S1036e2a54bad919995fd34aed6ae4b51 965s 1..17 965s # Start of converter tests 965s ok 1 /converter/basics 965s # End of converter tests 965s # Start of converter-input-stream tests 965s ok 2 /converter-input-stream/expander 965s ok 3 /converter-input-stream/compressor 965s # Start of truncation tests 965s ok 4 /converter-input-stream/truncation/zlib 965s ok 5 /converter-input-stream/truncation/gzip 965s ok 6 /converter-input-stream/truncation/raw 965s # End of truncation tests 965s # Start of charset tests 965s ok 7 /converter-input-stream/charset/utf8->latin1 965s ok 8 /converter-input-stream/charset/latin1->utf8 965s ok 9 /converter-input-stream/charset/fallbacks 965s # End of charset tests 965s # End of converter-input-stream tests 965s # Start of converter-output-stream tests 965s # Start of roundtrip tests 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 965s ok 10 /converter-output-stream/roundtrip/zlib-0 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 965s ok 11 /converter-output-stream/roundtrip/zlib-9 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 965s ok 12 /converter-output-stream/roundtrip/gzip-0 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 966s ok 13 /converter-output-stream/roundtrip/gzip-9 966s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 966s # Executing: glib/converter-stream.test 966s ok 14 /converter-output-stream/roundtrip/raw-0 966s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 966s ok 15 /converter-output-stream/roundtrip/raw-9 966s # End of roundtrip tests 966s # End of converter-output-stream tests 966s # Start of converter-stream tests 966s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 966s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbbdd94912b20 and GSocketClientAsyncConnectData 0xbbdd9490b270 966s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 966s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 966s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbbdd94551c10 for GSocketClientAsyncConnectData 0xbbdd9490b270 966s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 966s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 966s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 966s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 966s ok 16 /converter-stream/pollable 966s ok 17 /converter-stream/leftover 966s # End of converter-stream tests 966s ok - glib/converter-stream.test 966s # Running test: glib/gi-compile-repository.py.test 966s TAP version 13 966s ok 1 __main__.TestGICompileRepository.test_open_failure 966s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 966s # gi-compile-repository: /usr/bin/gi-compile-repository 966s # tmpdir: /tmp/tmp21qdzngm 966s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmp21qdzngm/invalid.typelib'] 966s # Return code: 1 966s # Output: 966s # 966s # Error: 966s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 966s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 966s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 966s # gi-compile-repository: /usr/bin/gi-compile-repository 966s # tmpdir: /tmp/tmpf338vpgh 966s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpf338vpgh/GLib-2.typelib'] 966s # Return code: 0 966s # Output: 966s # 966s # Error: 966s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 966s # gi-compile-repository: /usr/bin/gi-compile-repository 966s # tmpdir: /tmp/tmpajigqn05 966s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 966s # Return code: 1 966s # Output: 966s # 966s # Error: 966s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 966s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 966s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 966s # gi-compile-repository: /usr/bin/gi-compile-repository 966s # tmpdir: /tmp/tmp_h6xrxj9 966s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp_h6xrxj9/GObject-2.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 966s # Return code: 0 966s # Output: 966s # 966s # Error: 966s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 966s # gi-compile-repository: /usr/bin/gi-compile-repository 966s # tmpdir: /tmp/tmpsqj4i5kz 966s # 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/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 966s # Return code: 1 966s # Output: 966s # 966s # Error: 966s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 967s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 967s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 967s # gi-compile-repository: /usr/bin/gi-compile-repository 967s # tmpdir: /tmp/tmprp053g9_ 967s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmprp053g9_/Gio-2.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 967s # Return code: 0 967s # Output: 967s # 967s # Error: 967s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 967s # gi-compile-repository: /usr/bin/gi-compile-repository 967s # tmpdir: /tmp/tmpo6eefy1q 967s # 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/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 967s # Return code: 1 967s # Output: 967s # 967s # Error: 967s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 967s 1..7 967s ok - glib/gi-compile-repository.py.test 967s # Running test: glib/g-file.test 967s TAP version 14 967s # random seed: R02Sfe5725914a2983bbd65b4084ec49c110 967s 1..8 967s # Start of g-file tests 967s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 967s ok 1 /g-file/test_g_file_new_null 967s ok 2 /g-file/test_g_file_new_for_path 967s ok 3 /g-file/test_g_file_new_for_uri 967s ok 4 /g-file/test_g_file_dup 967s ok 5 /g-file/test_g_file_get_parse_name_utf8 967s file:///tmp/test-tmp-glib_g-file.test-B2F6J3 967s file:///tmp 967s file:///tmp 967s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 967s ok - glib/g-file.test 967s # Running test: glib/portal-support-flatpak-network-only.test 967s ok - glib/portal-support-flatpak-network-only.test 967s # Running test: glib/objects-refcount2.test 967s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 967s ok 6 /g-file/test_g_file_new_for_commandline_arg 967s /dir1 /dir1/dir2/dir3/ 967s /dir1/ /dir1/dir2/dir3/ 967s /dir1 /dir1/dir2/dir3 967s /dir1/ /dir1/dir2/dir3 967s /tmp/ /something/ 967s /dir1/dir2 /dir1/ 967s //dir1/new //dir1/new/dir2/dir3 967s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 967s file:///dir1 file:///dir1/dir2/dir3/ 967s file:///dir1/ file:///dir1/dir2/dir3/ 967s file:///dir1 file:///dir1/dir2/dir3 967s file:///dir1/ file:///dir1/dir2/dir3 967s file:///tmp/ file:///something/ 967s file:///dir1/dir2 file:///dir1/ 967s file:////dir1/new file:////dir1/new/dir2/dir3 967s 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 967s ok 7 /g-file/test_g_file_has_prefix 967s ok 8 /g-file/test_g_file_get_parent_child 967s # End of g-file tests 967s TAP version 14 967s # random seed: R02Scccced680695ea7bb8d894a3882c52cc 967s 1..1 967s # Start of portal-support tests 967s # Start of flatpak tests 967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/home 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/cache 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/system-config2 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/config 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/system-data2 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/data 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/state 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/runtime 967s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_7S85J3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 967s ok 1 /portal-support/flatpak/network 967s # End of flatpak tests 967s # End of portal-support tests 967s TAP version 14 967s # random seed: R02Sb55ab9599df27a709051ab5957c1d410 967s 1..1 967s # Start of gobject tests 967s # Start of refcount tests 967s # init 0xbf7a6608ed80 967s # 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 971s # . 971s # . 971s # . 971s # Executing: glib/objects-refcount2.test 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # dispose 0xbf7a6608ed80! 974s # 974s ok 1 /gobject/refcount/object-advanced 974s # slow test /gobject/refcount/object-advanced executed in 6.88 secs 974s # End of refcount tests 974s # End of gobject tests 974s ok - glib/objects-refcount2.test 974s # Running test: glib/once.test 974s TAP version 14 974s # random seed: R02S0b6281f74064cca518d0a8bce579b300 974s 1..5 974s # Start of once tests 974s # /once/single-threaded summary: Test g_once() usage from a single thread 974s ok 1 /once/single-threaded 974s # /once/multi-threaded summary: Test g_once() usage from multiple threads 974s ok 2 /once/multi-threaded 974s # End of once tests 974s # Start of once-init tests 974s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 974s ok 3 /once-init/single-threaded 974s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 974s ok - glib/once.test 974s ok 4 /once-init/multi-threaded 974s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 974s ok 5 /once-init/string 974s # End of once-init tests 974s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 974s TAP version 14 974s # random seed: R02S1e1e8d6507153a422ac8dee433b10db0 974s 1..8 974s # Start of gdbus tests 974s # Start of codegen tests 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/annotations/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/annotations/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/annotations/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/annotations/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/annotations/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/annotations/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/annotations/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/annotations/.dirs/runtime 974s ok 1 /gdbus/codegen/annotations 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/interface_stability/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/interface_stability/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/interface_stability/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/interface_stability/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/interface_stability/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/interface_stability/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/interface_stability/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/interface_stability/.dirs/runtime 974s ok 2 /gdbus/codegen/interface_stability 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/object-manager/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/object-manager/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/object-manager/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/object-manager/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/object-manager/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/object-manager/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/object-manager/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/object-manager/.dirs/runtime 974s ok 3 /gdbus/codegen/object-manager 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/property-naming/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/property-naming/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/property-naming/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/property-naming/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/property-naming/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/property-naming/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/property-naming/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/property-naming/.dirs/runtime 974s ok 4 /gdbus/codegen/property-naming 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/autocleanups/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/autocleanups/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/autocleanups/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/autocleanups/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/autocleanups/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/autocleanups/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/autocleanups/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/autocleanups/.dirs/runtime 974s ok 5 /gdbus/codegen/autocleanups 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/deprecations/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/deprecations/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/deprecations/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/deprecations/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/deprecations/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/deprecations/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/deprecations/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/deprecations/.dirs/runtime 974s ok 6 /gdbus/codegen/deprecations 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/standalone-interface-info/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/standalone-interface-info/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/standalone-interface-info/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/standalone-interface-info/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/standalone-interface-info/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/standalone-interface-info/.dirs/runtime 974s ok 7 /gdbus/codegen/standalone-interface-info 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/unix-fd-list/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/unix-fd-list/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/unix-fd-list/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/unix-fd-list/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/unix-fd-list/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/unix-fd-list/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/unix-fd-list/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_KOB8J3/gdbus/codegen/unix-fd-list/.dirs/runtime 974s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 974s ok 8 /gdbus/codegen/unix-fd-list 974s # End of codegen tests 974s # End of gdbus tests 974s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 974s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 974s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 974s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 974s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 974s ok - glib/gdbus-test-codegen-min-required-2-64.test 974s # Running test: glib/async-close-output-stream.test 974s TAP version 14 974s # random seed: R02Sbd6771294cd615017419ecffa2054e54 974s 1..3 974s # Start of close-async tests 974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 974s ok 1 /close-async/without-flush 974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 974s ok 2 /close-async/with-flush 974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 974s ok 3 /close-async/with-async-flush 974s # End of close-async tests 974s ok - glib/async-close-output-stream.test 974s # Running test: glib/dataset.test 974s TAP version 14 974s # random seed: R02S560d9c9904db8dcd5383f1d31fc0f3d4 974s 1..15 974s # Start of quark tests 974s ok 1 /quark/basic 974s ok 2 /quark/string 974s # End of quark tests 974s # Start of dataset tests 974s ok 3 /dataset/basic 974s ok 4 /dataset/id 974s ok 5 /dataset/full 974s ok 6 /dataset/foreach 974s ok 7 /dataset/destroy 974s # End of dataset tests 974s # Start of datalist tests 974s ok 8 /datalist/id 974s ok 9 /datalist/recursive-clear 974s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 974s ok 10 /datalist/id-remove-multiple 974s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 974s ok 11 /datalist/id-remove-multiple-destroy-order 974s ok 12 /datalist/update-atomic 974s # Start of basic tests 974s ok 13 /datalist/basic/few 974s ok 14 /datalist/basic/many 974s # End of basic tests 974s # Start of id-remove-multiple tests 974s ok 15 /datalist/id-remove-multiple/resize 974s # End of id-remove-multiple tests 974s # End of datalist tests 974s ok - glib/dataset.test 974s # Running test: glib/properties-refcount2.test 974s TAP version 14 974s # random seed: R02S47c663825e20f44d5ff7dc893da4cdb1 974s 1..1 974s # Start of gobject tests 974s # Start of refcount tests 974s # init 0xb9c6e9db8eb0 974s # 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s ok - glib/properties-refcount2.test 975s # Running test: glib/thread-pool.test 975s ok - glib/thread-pool.test 975s # Running test: glib/flags.test 975s ok - glib/flags.test 975s # Running test: glib/utf8-performance.test 975s ok - glib/utf8-performance.test 975s # . 975s # dispose 0xb9c6e9db8eb0! 975s # 975s ok 1 /gobject/refcount/properties-2 975s # slow test /gobject/refcount/properties-2 executed in 0.87 secs 975s # End of refcount tests 975s # End of gobject tests 975s TAP version 14 975s # random seed: R02Sf5027b01bb35459fb6f2acc72cd85878 975s 1..6 975s # Start of thread_pool tests 975s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 975s ok 1 /thread_pool/pool_fail 975s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 975s ok 2 /thread_pool/shared 975s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 975s ok 3 /thread_pool/exclusive 975s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 975s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 975s ok 4 /thread_pool/create_shared_after_exclusive 975s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 975s ok 5 /thread_pool/create_full 975s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 975s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 975s ok 6 /thread_pool/create_exclusive_after_shared 975s # End of thread_pool tests 975s TAP version 14 975s # random seed: R02Sf04736a2846b27f8c52a4fcff76f1427 975s 1..1 975s # Start of gobject tests 975s # Start of flags tests 975s ok 1 /gobject/flags/validate 975s # End of flags tests 975s # End of gobject tests 975s TAP version 14 975s # random seed: R02S1af36a2b0b19c6737cea32b542d0b14b 975s 1..36 975s # Start of utf8 tests 975s # Start of perf tests 975s # Start of get_char tests 975s # max perf: 43.0 MB/s 975s ok 1 /utf8/perf/get_char/ascii 975s # max perf: inf MB/s 975s ok 2 /utf8/perf/get_char/latin1 975s # max perf: 160.0 MB/s 975s ok 3 /utf8/perf/get_char/cyrillic 975s # max perf: inf MB/s 975s ok 4 /utf8/perf/get_char/han 975s # End of get_char tests 975s # Start of get_char-backwards tests 975s # max perf: 43.0 MB/s 975s ok 5 /utf8/perf/get_char-backwards/ascii 975s # max perf: 67.0 MB/s 975s ok 6 /utf8/perf/get_char-backwards/latin1 975s # max perf: 160.0 MB/s 975s ok 7 /utf8/perf/get_char-backwards/cyrillic 975s # max perf: inf MB/s 975s ok 8 /utf8/perf/get_char-backwards/han 975s # End of get_char-backwards tests 975s # Start of get_char_validated tests 975s # max perf: 43.0 MB/s 975s ok 9 /utf8/perf/get_char_validated/ascii 975s # max perf: inf MB/s 975s ok 10 /utf8/perf/get_char_validated/latin1 975s # max perf: 160.0 MB/s 975s ok 11 /utf8/perf/get_char_validated/cyrillic 975s # max perf: inf MB/s 975s ok 12 /utf8/perf/get_char_validated/han 975s # End of get_char_validated tests 975s # Start of utf8_to_ucs4 tests 975s # max perf: 43.0 MB/s 975s ok 13 /utf8/perf/utf8_to_ucs4/ascii 975s # max perf: 67.0 MB/s 975s ok 14 /utf8/perf/utf8_to_ucs4/latin1 975s # max perf: 160.0 MB/s 975s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 975s # max perf: 156.0 MB/s 975s ok 16 /utf8/perf/utf8_to_ucs4/han 975s # End of utf8_to_ucs4 tests 975s # Start of utf8_to_ucs4-sized tests 975s # max perf: inf MB/s 975s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 975s # max perf: inf MB/s 975s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 975s # max perf: 160.0 MB/s 975s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 975s # max perf: 156.0 MB/s 975s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 975s # End of utf8_to_ucs4-sized tests 975s # Start of utf8_to_ucs4_fast tests 975s # max perf: 43.0 MB/s 975s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 975s # max perf: 67.0 MB/s 975s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 975s # max perf: inf MB/s 975s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 975s # max perf: inf MB/s 975s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 975s # End of utf8_to_ucs4_fast tests 975s # Start of utf8_to_ucs4_fast-sized tests 975s # max perf: inf MB/s 975s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 975s # max perf: inf MB/s 975s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 975s # max perf: 160.0 MB/s 975s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 975s # max perf: inf MB/s 975s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 975s # End of utf8_to_ucs4_fast-sized tests 975s # Start of utf8_validate tests 975s # max perf: inf MB/s 975s ok 29 /utf8/perf/utf8_validate/ascii 975s # max perf: inf MB/s 975s ok 30 /utf8/perf/utf8_validate/latin1 975s # max perf: 160.0 MB/s 975s ok 31 /utf8/perf/utf8_validate/cyrillic 975s # max perf: inf MB/s 975s ok 32 /utf8/perf/utf8_validate/han 975s # End of utf8_validate tests 975s # Start of utf8_validate-sized tests 975s # max perf: inf MB/s 975s ok 33 /utf8/perf/utf8_validate-sized/ascii 975s # max perf: 67.0 MB/s 975s ok 34 /utf8/perf/utf8_validate-sized/latin1 975s # max perf: inf MB/s 975s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 975s # max perf: 156.0 MB/s 975s ok 36 /utf8/perf/utf8_validate-sized/han 975s # End of utf8_validate-sized tests 975s # End of perf tests 975s # End of utf8 tests 975s # Running test: glib/io-channel-basic.test 975s TAP version 14 975s # random seed: R02Sb6ac5e744748a95b4be38a6e0ec264e4 975s 1..1 975s # Start of gio tests 975s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 975s # random seed: R02S86ed3903148f2fa9f736b8b951c63e35 975s # GLib-DEBUG: io-channel-basic: child writing 8+2421 bytes to 6 975s # GLib-DEBUG: io-channel-basic: ...from 5: IN 975s # GLib-DEBUG: io-channel-basic: ...from 5: 2421 bytes 975s # GLib-DEBUG: io-channel-basic: ...from 5: OK 976s # Executing: glib/io-channel-basic.test 976s # GLib-DEBUG: io-channel-basic: child writing 8+4738 bytes to 6 976s # GLib-DEBUG: io-channel-basic: ...from 5: IN 976s # GLib-DEBUG: io-channel-basic: ...from 5: 4738 bytes 976s # GLib-DEBUG: io-channel-basic: ...from 5: OK 976s # GLib-DEBUG: io-channel-basic: child writing 8+4216 bytes to 6 976s # GLib-DEBUG: io-channel-basic: ...from 5: IN 976s # GLib-DEBUG: io-channel-basic: ...from 5: 4216 bytes 976s # GLib-DEBUG: io-channel-basic: ...from 5: OK 976s # GLib-DEBUG: io-channel-basic: child writing 8+3701 bytes to 6 976s # GLib-DEBUG: io-channel-basic: ...from 5: IN 976s # GLib-DEBUG: io-channel-basic: ...from 5: 3701 bytes 976s # GLib-DEBUG: io-channel-basic: ...from 5: OK 976s # GLib-DEBUG: io-channel-basic: child writing 8+2073 bytes to 6 976s # GLib-DEBUG: io-channel-basic: ...from 5: IN 976s # GLib-DEBUG: io-channel-basic: ...from 5: 2073 bytes 976s # GLib-DEBUG: io-channel-basic: ...from 5: OK 977s # GLib-DEBUG: io-channel-basic: child writing 8+3653 bytes to 6 977s # GLib-DEBUG: io-channel-basic: ...from 5: IN 977s # GLib-DEBUG: io-channel-basic: ...from 5: 3653 bytes 977s # GLib-DEBUG: io-channel-basic: ...from 5: OK 977s # GLib-DEBUG: io-channel-basic: child writing 8+1507 bytes to 6 977s # GLib-DEBUG: io-channel-basic: ...from 5: IN 977s # GLib-DEBUG: io-channel-basic: ...from 5: 1507 bytes 977s # GLib-DEBUG: io-channel-basic: ...from 5: OK 977s # GLib-DEBUG: io-channel-basic: child writing 8+898 bytes to 6 977s # GLib-DEBUG: io-channel-basic: ...from 5: IN 977s # GLib-DEBUG: io-channel-basic: ...from 5: 898 bytes 977s # GLib-DEBUG: io-channel-basic: ...from 5: OK 977s # GLib-DEBUG: io-channel-basic: child writing 8+4455 bytes to 6 977s # GLib-DEBUG: io-channel-basic: ...from 5: IN 977s # GLib-DEBUG: io-channel-basic: ...from 5: 4455 bytes 977s # GLib-DEBUG: io-channel-basic: ...from 5: OK 978s # GLib-DEBUG: io-channel-basic: child writing 8+4962 bytes to 6 978s # GLib-DEBUG: io-channel-basic: ...from 5: IN 978s # GLib-DEBUG: io-channel-basic: ...from 5: 4962 bytes 978s # GLib-DEBUG: io-channel-basic: ...from 5: OK 978s # GLib-DEBUG: io-channel-basic: child writing 8+4233 bytes to 6 978s # GLib-DEBUG: io-channel-basic: ...from 5: IN 978s # GLib-DEBUG: io-channel-basic: ...from 5: 4233 bytes 978s # GLib-DEBUG: io-channel-basic: ...from 5: OK 978s # GLib-DEBUG: io-channel-basic: child writing 8+3813 bytes to 6 978s # GLib-DEBUG: io-channel-basic: ...from 5: IN 978s # GLib-DEBUG: io-channel-basic: ...from 5: 3813 bytes 978s # GLib-DEBUG: io-channel-basic: ...from 5: OK 978s # GLib-DEBUG: io-channel-basic: child writing 8+479 bytes to 6 978s # GLib-DEBUG: io-channel-basic: ...from 5: IN 978s # GLib-DEBUG: io-channel-basic: ...from 5: 479 bytes 978s # GLib-DEBUG: io-channel-basic: ...from 5: OK 979s # GLib-DEBUG: io-channel-basic: child writing 8+3254 bytes to 6 979s # GLib-DEBUG: io-channel-basic: ...from 5: IN 979s # GLib-DEBUG: io-channel-basic: ...from 5: 3254 bytes 979s # GLib-DEBUG: io-channel-basic: ...from 5: OK 979s # GLib-DEBUG: io-channel-basic: child writing 8+3571 bytes to 6 979s # GLib-DEBUG: io-channel-basic: ...from 5: IN 979s # GLib-DEBUG: io-channel-basic: ...from 5: 3571 bytes 979s # GLib-DEBUG: io-channel-basic: ...from 5: OK 979s # GLib-DEBUG: io-channel-basic: child writing 8+2471 bytes to 6 979s # GLib-DEBUG: io-channel-basic: ...from 5: IN 979s # GLib-DEBUG: io-channel-basic: ...from 5: 2471 bytes 979s # GLib-DEBUG: io-channel-basic: ...from 5: OK 979s # GLib-DEBUG: io-channel-basic: child writing 8+729 bytes to 6 979s # GLib-DEBUG: io-channel-basic: ...from 5: IN 979s # GLib-DEBUG: io-channel-basic: ...from 5: 729 bytes 979s # GLib-DEBUG: io-channel-basic: ...from 5: OK 980s # GLib-DEBUG: io-channel-basic: child writing 8+636 bytes to 6 980s # GLib-DEBUG: io-channel-basic: ...from 5: IN 980s # GLib-DEBUG: io-channel-basic: ...from 5: 636 bytes 980s # GLib-DEBUG: io-channel-basic: ...from 5: OK 980s # GLib-DEBUG: io-channel-basic: child writing 8+2550 bytes to 6 980s # GLib-DEBUG: io-channel-basic: ...from 5: IN 980s # GLib-DEBUG: io-channel-basic: ...from 5: 2550 bytes 980s # GLib-DEBUG: io-channel-basic: ...from 5: OK 980s # GLib-DEBUG: io-channel-basic: child writing 8+4659 bytes to 6 980s # GLib-DEBUG: io-channel-basic: ...from 5: IN 980s # GLib-DEBUG: io-channel-basic: ...from 5: 4659 bytes 980s # GLib-DEBUG: io-channel-basic: ...from 5: OK 981s # GLib-DEBUG: io-channel-basic: child writing 8+612 bytes to 6 981s # GLib-DEBUG: io-channel-basic: ...from 5: IN 981s # GLib-DEBUG: io-channel-basic: ...from 5: 612 bytes 981s # GLib-DEBUG: io-channel-basic: ...from 5: OK 981s # Executing: glib/io-channel-basic.test 981s # GLib-DEBUG: io-channel-basic: child writing 8+1025 bytes to 6 981s # GLib-DEBUG: io-channel-basic: ...from 5: IN 981s # GLib-DEBUG: io-channel-basic: ...from 5: 1025 bytes 981s # GLib-DEBUG: io-channel-basic: ...from 5: OK 981s # GLib-DEBUG: io-channel-basic: child writing 8+898 bytes to 6 981s # GLib-DEBUG: io-channel-basic: ...from 5: IN 981s # GLib-DEBUG: io-channel-basic: ...from 5: 898 bytes 981s # GLib-DEBUG: io-channel-basic: ...from 5: OK 981s # GLib-DEBUG: io-channel-basic: child writing 8+368 bytes to 6 981s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 981s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 981s # GLib-DEBUG: io-channel-basic: ...from 5: 368 bytes 981s # GLib-DEBUG: io-channel-basic: ...from 5: OK 981s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 981s # random seed: R02S9075bf380ab04d5d18c7c0389e1f3080 981s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 981s # random seed: R02S48301d257e79513c810f96d80ec3bc60 981s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 981s # random seed: R02Sae12cbbf0b0534be7558d083741a7299 981s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 981s # random seed: R02Sbabb7bd9d6a66fc6a6c1d84601549d35 981s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 981s # random seed: R02S09c13541eb2b225bef7a2dccd36615f5 982s # GLib-DEBUG: io-channel-basic: child writing 8+4029 bytes to 13 982s # GLib-DEBUG: io-channel-basic: ...from 12: IN 982s # GLib-DEBUG: io-channel-basic: ...from 12: 4029 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 12: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+1930 bytes to 11 982s # GLib-DEBUG: io-channel-basic: ...from 10: IN 982s # GLib-DEBUG: io-channel-basic: ...from 10: 1930 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 10: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+2692 bytes to 15 982s # GLib-DEBUG: io-channel-basic: ...from 14: IN 982s # GLib-DEBUG: io-channel-basic: ...from 14: 2692 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 14: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+2328 bytes to 17 982s # GLib-DEBUG: io-channel-basic: ...from 16: IN 982s # GLib-DEBUG: io-channel-basic: ...from 16: 2328 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 16: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+3369 bytes to 9 982s # GLib-DEBUG: io-channel-basic: ...from 8: IN 982s # GLib-DEBUG: io-channel-basic: ...from 8: 3369 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 8: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+2127 bytes to 13 982s # GLib-DEBUG: io-channel-basic: ...from 12: IN 982s # GLib-DEBUG: io-channel-basic: ...from 12: 2127 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 12: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+456 bytes to 17 982s # GLib-DEBUG: io-channel-basic: ...from 16: IN 982s # GLib-DEBUG: io-channel-basic: ...from 16: 456 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 16: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+2045 bytes to 11 982s # GLib-DEBUG: io-channel-basic: ...from 10: IN 982s # GLib-DEBUG: io-channel-basic: ...from 10: 2045 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 10: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+795 bytes to 15 982s # GLib-DEBUG: io-channel-basic: ...from 14: IN 982s # GLib-DEBUG: io-channel-basic: ...from 14: 795 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 14: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+2927 bytes to 9 982s # GLib-DEBUG: io-channel-basic: ...from 8: IN 982s # GLib-DEBUG: io-channel-basic: ...from 8: 2927 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 8: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+2220 bytes to 13 982s # GLib-DEBUG: io-channel-basic: ...from 12: IN 982s # GLib-DEBUG: io-channel-basic: ...from 12: 2220 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 12: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+386 bytes to 15 982s # GLib-DEBUG: io-channel-basic: ...from 14: IN 982s # GLib-DEBUG: io-channel-basic: ...from 14: 386 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 14: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+3926 bytes to 17 982s # GLib-DEBUG: io-channel-basic: ...from 16: IN 982s # GLib-DEBUG: io-channel-basic: ...from 16: 3926 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 16: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+2269 bytes to 11 982s # GLib-DEBUG: io-channel-basic: ...from 10: IN 982s # GLib-DEBUG: io-channel-basic: ...from 10: 2269 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 10: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+2086 bytes to 9 982s # GLib-DEBUG: io-channel-basic: ...from 8: IN 982s # GLib-DEBUG: io-channel-basic: ...from 8: 2086 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 8: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+615 bytes to 13 982s # GLib-DEBUG: io-channel-basic: ...from 12: IN 982s # GLib-DEBUG: io-channel-basic: ...from 12: 615 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 12: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+4395 bytes to 15 982s # GLib-DEBUG: io-channel-basic: ...from 14: IN 982s # GLib-DEBUG: io-channel-basic: ...from 14: 4395 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 14: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+1856 bytes to 11 982s # GLib-DEBUG: io-channel-basic: ...from 10: IN 982s # GLib-DEBUG: io-channel-basic: ...from 10: 1856 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 10: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+3570 bytes to 17 982s # GLib-DEBUG: io-channel-basic: ...from 16: IN 982s # GLib-DEBUG: io-channel-basic: ...from 16: 3570 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 16: OK 982s # GLib-DEBUG: io-channel-basic: child writing 8+3983 bytes to 9 982s # GLib-DEBUG: io-channel-basic: ...from 8: IN 982s # GLib-DEBUG: io-channel-basic: ...from 8: 3983 bytes 982s # GLib-DEBUG: io-channel-basic: ...from 8: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+4310 bytes to 13 983s # GLib-DEBUG: io-channel-basic: ...from 12: IN 983s # GLib-DEBUG: io-channel-basic: ...from 12: 4310 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 12: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+3641 bytes to 15 983s # GLib-DEBUG: io-channel-basic: ...from 14: IN 983s # GLib-DEBUG: io-channel-basic: ...from 14: 3641 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 14: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+4313 bytes to 17 983s # GLib-DEBUG: io-channel-basic: ...from 16: IN 983s # GLib-DEBUG: io-channel-basic: ...from 16: 4313 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 16: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+3405 bytes to 11 983s # GLib-DEBUG: io-channel-basic: ...from 10: IN 983s # GLib-DEBUG: io-channel-basic: ...from 10: 3405 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 10: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+1114 bytes to 9 983s # GLib-DEBUG: io-channel-basic: ...from 8: IN 983s # GLib-DEBUG: io-channel-basic: ...from 8: 1114 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 8: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+1720 bytes to 15 983s # GLib-DEBUG: io-channel-basic: ...from 14: IN 983s # GLib-DEBUG: io-channel-basic: ...from 14: 1720 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 14: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+2879 bytes to 11 983s # GLib-DEBUG: io-channel-basic: ...from 10: IN 983s # GLib-DEBUG: io-channel-basic: ...from 10: 2879 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 10: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+1192 bytes to 13 983s # GLib-DEBUG: io-channel-basic: ...from 12: IN 983s # GLib-DEBUG: io-channel-basic: ...from 12: 1192 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 12: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+56 bytes to 17 983s # GLib-DEBUG: io-channel-basic: ...from 16: IN 983s # GLib-DEBUG: io-channel-basic: ...from 16: 56 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 16: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+3311 bytes to 9 983s # GLib-DEBUG: io-channel-basic: ...from 8: IN 983s # GLib-DEBUG: io-channel-basic: ...from 8: 3311 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 8: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+2895 bytes to 15 983s # GLib-DEBUG: io-channel-basic: ...from 14: IN 983s # GLib-DEBUG: io-channel-basic: ...from 14: 2895 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 14: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+0 bytes to 11 983s # GLib-DEBUG: io-channel-basic: ...from 10: IN 983s # GLib-DEBUG: io-channel-basic: ...from 10: 0 bytes 983s # GLib-DEBUG: io-channel-basic: child writing 8+3682 bytes to 17 983s # GLib-DEBUG: io-channel-basic: child writing 8+4430 bytes to 13 983s # GLib-DEBUG: io-channel-basic: ...from 12: IN 983s # GLib-DEBUG: io-channel-basic: ...from 12: 4430 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 12: OK 983s # GLib-DEBUG: io-channel-basic: ...from 16: IN 983s # GLib-DEBUG: io-channel-basic: ...from 16: 3682 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 16: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+1869 bytes to 9 983s # GLib-DEBUG: io-channel-basic: ...from 8: IN 983s # GLib-DEBUG: io-channel-basic: ...from 8: 1869 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 8: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+2888 bytes to 15 983s # GLib-DEBUG: io-channel-basic: ...from 14: IN 983s # GLib-DEBUG: io-channel-basic: ...from 14: 2888 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 14: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+2254 bytes to 17 983s # GLib-DEBUG: io-channel-basic: ...from 16: IN 983s # GLib-DEBUG: io-channel-basic: ...from 16: 2254 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 16: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+766 bytes to 11 983s # GLib-DEBUG: io-channel-basic: ...from 10: IN 983s # GLib-DEBUG: io-channel-basic: ...from 10: 766 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 10: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+1184 bytes to 13 983s # GLib-DEBUG: io-channel-basic: ...from 12: IN 983s # GLib-DEBUG: io-channel-basic: ...from 12: 1184 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 12: OK 983s # GLib-DEBUG: io-channel-basic: child writing 8+3265 bytes to 9 983s # GLib-DEBUG: io-channel-basic: ...from 8: IN 983s # GLib-DEBUG: io-channel-basic: ...from 8: 3265 bytes 983s # GLib-DEBUG: io-channel-basic: ...from 8: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+2529 bytes to 15 984s # GLib-DEBUG: io-channel-basic: ...from 14: IN 984s # GLib-DEBUG: io-channel-basic: ...from 14: 2529 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 14: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+2091 bytes to 17 984s # GLib-DEBUG: io-channel-basic: ...from 16: IN 984s # GLib-DEBUG: io-channel-basic: ...from 16: 2091 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 16: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+1003 bytes to 11 984s # GLib-DEBUG: io-channel-basic: ...from 10: IN 984s # GLib-DEBUG: io-channel-basic: ...from 10: 1003 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 10: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+759 bytes to 13 984s # GLib-DEBUG: io-channel-basic: ...from 12: IN 984s # GLib-DEBUG: io-channel-basic: ...from 12: 759 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 12: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+4413 bytes to 9 984s # GLib-DEBUG: io-channel-basic: ...from 8: IN 984s # GLib-DEBUG: io-channel-basic: ...from 8: 4413 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 8: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+4463 bytes to 17 984s # GLib-DEBUG: io-channel-basic: ...from 16: IN 984s # GLib-DEBUG: io-channel-basic: ...from 16: 4463 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 16: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+3258 bytes to 15 984s # GLib-DEBUG: io-channel-basic: ...from 14: IN 984s # GLib-DEBUG: io-channel-basic: ...from 14: 3258 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 14: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+4940 bytes to 11 984s # GLib-DEBUG: io-channel-basic: ...from 10: IN 984s # GLib-DEBUG: io-channel-basic: ...from 10: 4940 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 10: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+170 bytes to 13 984s # GLib-DEBUG: io-channel-basic: ...from 12: IN 984s # GLib-DEBUG: io-channel-basic: ...from 12: 170 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 12: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+4097 bytes to 9 984s # GLib-DEBUG: io-channel-basic: ...from 8: IN 984s # GLib-DEBUG: io-channel-basic: ...from 8: 4097 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 8: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+1938 bytes to 17 984s # GLib-DEBUG: io-channel-basic: ...from 16: IN 984s # GLib-DEBUG: io-channel-basic: ...from 16: 1938 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 16: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+973 bytes to 15 984s # GLib-DEBUG: io-channel-basic: ...from 14: IN 984s # GLib-DEBUG: io-channel-basic: ...from 14: 973 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 14: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+263 bytes to 11 984s # GLib-DEBUG: io-channel-basic: ...from 10: IN 984s # GLib-DEBUG: io-channel-basic: ...from 10: 263 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 10: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+4383 bytes to 13 984s # GLib-DEBUG: io-channel-basic: ...from 12: IN 984s # GLib-DEBUG: io-channel-basic: ...from 12: 4383 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 12: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+1765 bytes to 9 984s # GLib-DEBUG: io-channel-basic: ...from 8: IN 984s # GLib-DEBUG: io-channel-basic: ...from 8: 1765 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 8: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+1593 bytes to 17 984s # GLib-DEBUG: io-channel-basic: ...from 16: IN 984s # GLib-DEBUG: io-channel-basic: ...from 16: 1593 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 16: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+614 bytes to 15 984s # GLib-DEBUG: io-channel-basic: ...from 14: IN 984s # GLib-DEBUG: io-channel-basic: ...from 14: 614 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 14: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+2950 bytes to 13 984s # GLib-DEBUG: io-channel-basic: ...from 12: IN 984s # GLib-DEBUG: io-channel-basic: ...from 12: 2950 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 12: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+594 bytes to 11 984s # GLib-DEBUG: io-channel-basic: ...from 10: IN 984s # GLib-DEBUG: io-channel-basic: ...from 10: 594 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 10: OK 984s # GLib-DEBUG: io-channel-basic: child writing 8+1514 bytes to 9 984s # GLib-DEBUG: io-channel-basic: ...from 8: IN 984s # GLib-DEBUG: io-channel-basic: ...from 8: 1514 bytes 984s # GLib-DEBUG: io-channel-basic: ...from 8: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+2599 bytes to 15 985s # GLib-DEBUG: io-channel-basic: ...from 14: IN 985s # GLib-DEBUG: io-channel-basic: ...from 14: 2599 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 14: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+3413 bytes to 17 985s # GLib-DEBUG: io-channel-basic: ...from 16: IN 985s # GLib-DEBUG: io-channel-basic: ...from 16: 3413 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 16: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+3482 bytes to 11 985s # GLib-DEBUG: io-channel-basic: ...from 10: IN 985s # GLib-DEBUG: io-channel-basic: ...from 10: 3482 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 10: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+905 bytes to 13 985s # GLib-DEBUG: io-channel-basic: ...from 12: IN 985s # GLib-DEBUG: io-channel-basic: ...from 12: 905 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 12: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+1264 bytes to 9 985s # GLib-DEBUG: io-channel-basic: ...from 8: IN 985s # GLib-DEBUG: io-channel-basic: ...from 8: 1264 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 8: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+2496 bytes to 15 985s # GLib-DEBUG: io-channel-basic: ...from 14: IN 985s # GLib-DEBUG: io-channel-basic: ...from 14: 2496 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 14: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+1072 bytes to 17 985s # GLib-DEBUG: io-channel-basic: ...from 16: IN 985s # GLib-DEBUG: io-channel-basic: ...from 16: 1072 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 16: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+1278 bytes to 11 985s # GLib-DEBUG: io-channel-basic: ...from 10: IN 985s # GLib-DEBUG: io-channel-basic: ...from 10: 1278 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 10: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+3810 bytes to 9 985s # GLib-DEBUG: io-channel-basic: ...from 8: IN 985s # GLib-DEBUG: io-channel-basic: ...from 8: 3810 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 8: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+1892 bytes to 13 985s # GLib-DEBUG: io-channel-basic: ...from 12: IN 985s # GLib-DEBUG: io-channel-basic: ...from 12: 1892 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 12: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+1159 bytes to 15 985s # GLib-DEBUG: io-channel-basic: ...from 14: IN 985s # GLib-DEBUG: io-channel-basic: ...from 14: 1159 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 14: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+414 bytes to 17 985s # GLib-DEBUG: io-channel-basic: ...from 16: IN 985s # GLib-DEBUG: io-channel-basic: ...from 16: 414 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 16: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+4391 bytes to 9 985s # GLib-DEBUG: io-channel-basic: ...from 8: IN 985s # GLib-DEBUG: io-channel-basic: ...from 8: 4391 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 8: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+798 bytes to 13 985s # GLib-DEBUG: io-channel-basic: ...from 12: IN 985s # GLib-DEBUG: io-channel-basic: ...from 12: 798 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 12: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+4274 bytes to 11 985s # GLib-DEBUG: io-channel-basic: ...from 10: IN 985s # GLib-DEBUG: io-channel-basic: ...from 10: 4274 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 10: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+4904 bytes to 15 985s # GLib-DEBUG: io-channel-basic: ...from 14: IN 985s # GLib-DEBUG: io-channel-basic: ...from 14: 4904 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 14: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+853 bytes to 17 985s # GLib-DEBUG: io-channel-basic: ...from 16: IN 985s # GLib-DEBUG: io-channel-basic: ...from 16: 853 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 16: OK 985s # GLib-DEBUG: io-channel-basic: child writing 8+1513 bytes to 9 985s # GLib-DEBUG: io-channel-basic: ...from 8: IN 985s # GLib-DEBUG: io-channel-basic: ...from 8: 1513 bytes 985s # GLib-DEBUG: io-channel-basic: ...from 8: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+3167 bytes to 13 986s # GLib-DEBUG: io-channel-basic: child writing 8+1236 bytes to 11 986s # GLib-DEBUG: io-channel-basic: ...from 10: IN 986s # GLib-DEBUG: io-channel-basic: ...from 10: 1236 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 10: OK 986s # GLib-DEBUG: io-channel-basic: ...from 12: IN 986s # GLib-DEBUG: io-channel-basic: ...from 12: 3167 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 12: OK 986s # Executing: glib/io-channel-basic.test 986s # GLib-DEBUG: io-channel-basic: child writing 8+2665 bytes to 15 986s # GLib-DEBUG: io-channel-basic: ...from 14: IN 986s # GLib-DEBUG: io-channel-basic: ...from 14: 2665 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 14: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+2553 bytes to 17 986s # GLib-DEBUG: io-channel-basic: ...from 16: IN 986s # GLib-DEBUG: io-channel-basic: ...from 16: 2553 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 16: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+1101 bytes to 9 986s # GLib-DEBUG: io-channel-basic: ...from 8: IN 986s # GLib-DEBUG: io-channel-basic: ...from 8: 1101 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 8: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+4756 bytes to 11 986s # GLib-DEBUG: io-channel-basic: ...from 10: IN 986s # GLib-DEBUG: io-channel-basic: ...from 10: 4756 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 10: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+3471 bytes to 13 986s # GLib-DEBUG: io-channel-basic: ...from 12: IN 986s # GLib-DEBUG: io-channel-basic: ...from 12: 3471 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 12: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+205 bytes to 17 986s # GLib-DEBUG: io-channel-basic: child writing 8+2237 bytes to 9 986s # GLib-DEBUG: io-channel-basic: ...from 8: IN 986s # GLib-DEBUG: io-channel-basic: ...from 8: 2237 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 8: OK 986s # GLib-DEBUG: io-channel-basic: ...from 16: IN 986s # GLib-DEBUG: io-channel-basic: ...from 16: 205 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 16: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+2119 bytes to 15 986s # GLib-DEBUG: io-channel-basic: ...from 14: IN 986s # GLib-DEBUG: io-channel-basic: ...from 14: 2119 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 14: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+97 bytes to 11 986s # GLib-DEBUG: io-channel-basic: ...from 10: IN 986s # GLib-DEBUG: io-channel-basic: ...from 10: 97 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 10: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+2509 bytes to 13 986s # GLib-DEBUG: io-channel-basic: ...from 12: IN 986s # GLib-DEBUG: io-channel-basic: ...from 12: 2509 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 12: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+730 bytes to 17 986s # GLib-DEBUG: io-channel-basic: ...from 16: IN 986s # GLib-DEBUG: io-channel-basic: ...from 16: 730 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 16: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+541 bytes to 9 986s # GLib-DEBUG: io-channel-basic: ...from 8: IN 986s # GLib-DEBUG: io-channel-basic: ...from 8: 541 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 8: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+2068 bytes to 15 986s # GLib-DEBUG: io-channel-basic: ...from 14: IN 986s # GLib-DEBUG: io-channel-basic: ...from 14: 2068 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 14: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+1443 bytes to 11 986s # GLib-DEBUG: io-channel-basic: ...from 10: IN 986s # GLib-DEBUG: io-channel-basic: ...from 10: 1443 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 10: OK 986s # GLib-DEBUG: io-channel-basic: child writing 8+498 bytes to 13 986s # GLib-DEBUG: io-channel-basic: ...from 12: IN 986s # GLib-DEBUG: io-channel-basic: ...from 12: 498 bytes 986s # GLib-DEBUG: io-channel-basic: ...from 12: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+871 bytes to 15 987s # GLib-DEBUG: io-channel-basic: ...from 14: IN 987s # GLib-DEBUG: io-channel-basic: ...from 14: 871 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 14: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+2523 bytes to 9 987s # GLib-DEBUG: io-channel-basic: ...from 8: IN 987s # GLib-DEBUG: io-channel-basic: ...from 8: 2523 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 8: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+2450 bytes to 17 987s # GLib-DEBUG: io-channel-basic: ...from 16: IN 987s # GLib-DEBUG: io-channel-basic: ...from 16: 2450 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 16: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+4313 bytes to 11 987s # GLib-DEBUG: io-channel-basic: ...from 10: IN 987s # GLib-DEBUG: io-channel-basic: ...from 10: 4313 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 10: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+4178 bytes to 13 987s # GLib-DEBUG: io-channel-basic: ...from 12: IN 987s # GLib-DEBUG: io-channel-basic: ...from 12: 4178 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 12: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+2291 bytes to 15 987s # GLib-DEBUG: io-channel-basic: ...from 14: IN 987s # GLib-DEBUG: io-channel-basic: ...from 14: 2291 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 14: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+3965 bytes to 17 987s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 987s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 987s # GLib-DEBUG: io-channel-basic: ...from 16: 3965 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 16: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+3027 bytes to 9 987s # GLib-DEBUG: io-channel-basic: ...from 8: IN 987s # GLib-DEBUG: io-channel-basic: ...from 8: 3027 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 8: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+3521 bytes to 11 987s # GLib-DEBUG: io-channel-basic: ...from 10: IN 987s # GLib-DEBUG: io-channel-basic: ...from 10: 3521 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 10: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+4564 bytes to 13 987s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 987s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 987s # GLib-DEBUG: io-channel-basic: ...from 12: 4564 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 12: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+1134 bytes to 15 987s # GLib-DEBUG: io-channel-basic: ...from 14: IN 987s # GLib-DEBUG: io-channel-basic: ...from 14: 1134 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 14: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+4654 bytes to 9 987s # GLib-DEBUG: io-channel-basic: ...from 8: IN 987s # GLib-DEBUG: io-channel-basic: ...from 8: 4654 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 8: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+3207 bytes to 11 987s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 987s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 987s # GLib-DEBUG: io-channel-basic: ...from 10: 3207 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 10: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+4434 bytes to 15 987s # GLib-DEBUG: io-channel-basic: ...from 14: IN 987s # GLib-DEBUG: io-channel-basic: ...from 14: 4434 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 14: OK 987s # GLib-DEBUG: io-channel-basic: child writing 8+3170 bytes to 9 987s # GLib-DEBUG: io-channel-basic: ...from 8: IN 987s # GLib-DEBUG: io-channel-basic: ...from 8: 3170 bytes 987s # GLib-DEBUG: io-channel-basic: ...from 8: OK 988s # GLib-DEBUG: io-channel-basic: child writing 8+3660 bytes to 15 988s # GLib-DEBUG: io-channel-basic: ...from 14: IN 988s # GLib-DEBUG: io-channel-basic: ...from 14: 3660 bytes 988s # GLib-DEBUG: io-channel-basic: ...from 14: OK 988s # GLib-DEBUG: io-channel-basic: child writing 8+3851 bytes to 9 988s # GLib-DEBUG: io-channel-basic: ...from 8: IN 988s # GLib-DEBUG: io-channel-basic: ...from 8: 3851 bytes 988s # GLib-DEBUG: io-channel-basic: ...from 8: OK 988s # GLib-DEBUG: io-channel-basic: child writing 8+2905 bytes to 15 988s # GLib-DEBUG: io-channel-basic: ...from 14: IN 988s # GLib-DEBUG: io-channel-basic: ...from 14: 2905 bytes 988s # GLib-DEBUG: io-channel-basic: ...from 14: OK 988s # GLib-DEBUG: io-channel-basic: child writing 8+1909 bytes to 9 988s # GLib-DEBUG: io-channel-basic: ...from 8: IN 988s # GLib-DEBUG: io-channel-basic: ...from 8: 1909 bytes 988s # GLib-DEBUG: io-channel-basic: ...from 8: OK 988s # GLib-DEBUG: io-channel-basic: child writing 8+3704 bytes to 15 988s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 988s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 988s # GLib-DEBUG: io-channel-basic: ...from 14: 3704 bytes 988s # GLib-DEBUG: io-channel-basic: ...from 14: OK 988s # GLib-DEBUG: io-channel-basic: child writing 8+3362 bytes to 9 988s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 988s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 988s # GLib-DEBUG: io-channel-basic: ...from 8: 3362 bytes 988s # GLib-DEBUG: io-channel-basic: ...from 8: OK 988s ok 1 /gio/io-basics 988s # slow test /gio/io-basics executed in 13.15 secs 988s # End of gio tests 988s ok - glib/io-channel-basic.test 988s # Running test: glib/memory-monitor-portal.test 988s TAP version 13 988s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 988s 1..1 988s ok - glib/memory-monitor-portal.test 988s # Running test: glib/data-input-stream.test 988s TAP version 14 988s # random seed: R02S5d275ac4533c1cf2953f15c56887327c 988s 1..10 988s # Start of data-input-stream tests 988s ok 1 /data-input-stream/basic 988s ok 2 /data-input-stream/read-lines-LF 988s ok 3 /data-input-stream/read-lines-LF-valid-utf8 988s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 988s ok 5 /data-input-stream/read-lines-CR 989s ok 6 /data-input-stream/read-lines-CR-LF 989s ok 7 /data-input-stream/read-lines-any 989s ok 8 /data-input-stream/read-until 989s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 989s # Test vector 1: {"key": "value"}? and ? 989s ok 9 /data-input-stream/read-upto 989s ok 10 /data-input-stream/read-int 989s # End of data-input-stream tests 989s ok - glib/data-input-stream.test 989s # Running test: glib/signals.test 989s TAP version 14 989s # random seed: R02S181f405a21dfff3b95100b74998e2ba8 989s 1..31 989s # Start of gobject tests 989s # Start of signals tests 989s ok 1 /gobject/signals/all-types 989s ok 2 /gobject/signals/variant 989s ok 3 /gobject/signals/destroy-target-object 989s ok 4 /gobject/signals/generic-marshaller-1 989s ok 5 /gobject/signals/generic-marshaller-2 989s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 989s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 989s ok 8 /gobject/signals/generic-marshaller-int-return 989s ok 9 /gobject/signals/generic-marshaller-uint-return 989s ok 10 /gobject/signals/generic-marshaller-interface-return 989s ok 11 /gobject/signals/custom-marshaller 989s ok 12 /gobject/signals/connect 989s ok 13 /gobject/signals/emission-hook 989s ok 14 /gobject/signals/emitv 989s ok 15 /gobject/signals/accumulator 989s # Signal: accumulator-class-first 989s # Signal: accumulator-class-last 989s # Signal: accumulator-class-cleanup 989s # Signal: accumulator-class-first-last 989s # Signal: accumulator-class-first-last-cleanup 989s # Signal: accumulator-class-last-cleanup 989s ok 16 /gobject/signals/accumulator-class 989s ok 17 /gobject/signals/introspection 989s ok 18 /gobject/signals/block-handler 989s ok 19 /gobject/signals/stop-emission 989s ok 20 /gobject/signals/invocation-hint 989s ok 21 /gobject/signals/test-disconnection-wrong-object 989s ok 22 /gobject/signals/clear-signal-handler 989s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 989s ok 23 /gobject/signals/lookup 989s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 989s ok 24 /gobject/signals/parse-name 989s ok 25 /gobject/signals/is-valid-name 989s ok 26 /gobject/signals/weak-ref-disconnect 989s # Start of lookup tests 989s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 989s ok 27 /gobject/signals/lookup/invalid 989s # End of lookup tests 989s # Start of parse-name tests 989s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 989s # Parser input: 989s # Parser input: 7zip 989s ok - glib/signals.test 989s # Running test: glib/gdbus-connection-flush.test 989s # Parser input: invalid:signal 989s # Parser input: simple-detailed:: 989s # Parser input: simple-detailed: 989s # Parser input: : 989s # Parser input: :: 989s # Parser input: :valid-detail 989s # Parser input: ::valid-detail 989s ok 28 /gobject/signals/parse-name/invalid 989s # End of parse-name tests 989s # Start of invalid-name tests 989s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 989s ok 29 /gobject/signals/invalid-name/colon 989s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 989s ok 30 /gobject/signals/invalid-name/first-char 989s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 989s ok 31 /gobject/signals/invalid-name/empty 989s # End of invalid-name tests 989s # End of signals tests 989s # End of gobject tests 989s TAP version 14 989s # random seed: R02Sf86a650bc4d2384973f8c30cdd1b6b0b 989s 1..2 989s # Start of gdbus tests 989s # Start of connection tests 989s # Start of flush tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/busy/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/busy/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/busy/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/busy/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/busy/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/busy/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/busy/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/busy/.dirs/runtime 989s ok 1 /gdbus/connection/flush/busy 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/idle/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/idle/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/idle/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/idle/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/idle/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/idle/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/idle/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_H1CHK3/gdbus/connection/flush/idle/.dirs/runtime 989s ok 2 /gdbus/connection/flush/idle 989s # End of flush tests 989s # End of connection tests 989s # End of gdbus tests 989s ok - glib/gdbus-connection-flush.test 989s # Running test: glib/atomic-c-89.test 989s TAP version 14 989s # random seed: R02Sde80142e6b636ecbd33f25a71b429309 989s 1..2 989s # Start of atomic tests 989s ok 1 /atomic/types 989s ok 2 /atomic/threaded 989s # End of atomic tests 989s ok - glib/atomic-c-89.test 989s # Running test: glib/resolver-parsing.test 989s TAP version 14 989s # random seed: R02Sa0e5a2781fbe358469875dfc5aedcdf2 989s 1..21 989s # Start of gresolver tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/invalid-header/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/invalid-header/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/invalid-header/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/invalid-header/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/invalid-header/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/invalid-header/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/invalid-header/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/invalid-header/.dirs/runtime 989s ok 1 /gresolver/invalid-header 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/record-ownership/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/record-ownership/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/record-ownership/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/record-ownership/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/record-ownership/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/record-ownership/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/record-ownership/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/record-ownership/.dirs/runtime 989s ok 2 /gresolver/record-ownership 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/unknown-record-type/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/unknown-record-type/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/unknown-record-type/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/unknown-record-type/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/unknown-record-type/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/unknown-record-type/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/unknown-record-type/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/unknown-record-type/.dirs/runtime 989s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 989s ok 3 /gresolver/unknown-record-type 989s # Start of mx tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/valid/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/valid/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/mx/valid/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/valid/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/mx/valid/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/valid/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/valid/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/valid/.dirs/runtime 989s ok 4 /gresolver/mx/valid 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/.dirs/runtime 989s ok 5 /gresolver/mx/invalid 989s # Start of invalid tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short/.dirs/runtime 989s ok 6 /gresolver/mx/invalid/too-short 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short2/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short2/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short2/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short2/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short2/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short2/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short2/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/mx/invalid/too-short2/.dirs/runtime 989s ok 7 /gresolver/mx/invalid/too-short2 989s # End of invalid tests 989s # End of mx tests 989s # Start of ns tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/valid/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/valid/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/ns/valid/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/valid/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/ns/valid/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/valid/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/valid/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/valid/.dirs/runtime 989s ok 8 /gresolver/ns/valid 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/invalid/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/invalid/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/ns/invalid/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/invalid/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/ns/invalid/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/invalid/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/invalid/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/ns/invalid/.dirs/runtime 989s ok 9 /gresolver/ns/invalid 989s # End of ns tests 989s # Start of soa tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/valid/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/valid/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/soa/valid/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/valid/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/soa/valid/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/valid/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/valid/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/valid/.dirs/runtime 989s ok 10 /gresolver/soa/valid 989s # Start of invalid tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/mname/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/mname/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/mname/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/mname/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/mname/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/mname/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/mname/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/mname/.dirs/runtime 989s ok 11 /gresolver/soa/invalid/mname 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/rname/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/rname/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/rname/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/rname/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/rname/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/rname/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/rname/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/rname/.dirs/runtime 989s ok 12 /gresolver/soa/invalid/rname 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/too-short/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/too-short/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/too-short/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/too-short/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/too-short/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/too-short/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/too-short/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/soa/invalid/too-short/.dirs/runtime 989s ok 13 /gresolver/soa/invalid/too-short 989s # End of invalid tests 989s # End of soa tests 989s # Start of srv tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/valid/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/valid/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/srv/valid/.dirs/system-config2 989s ok - glib/resolver-parsing.test 989s # Running test: glib/utils-isolated.test 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/valid/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/srv/valid/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/valid/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/valid/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/valid/.dirs/runtime 989s ok 14 /gresolver/srv/valid 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/.dirs/runtime 989s ok 15 /gresolver/srv/invalid 989s # Start of invalid tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short/.dirs/runtime 989s ok 16 /gresolver/srv/invalid/too-short 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short2/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short2/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short2/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short2/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short2/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short2/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short2/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/srv/invalid/too-short2/.dirs/runtime 989s ok 17 /gresolver/srv/invalid/too-short2 989s # End of invalid tests 989s # End of srv tests 989s # Start of txt tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/.dirs/runtime 989s ok 18 /gresolver/txt/valid 989s # Start of valid tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/multiple-strings/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/multiple-strings/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/multiple-strings/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/multiple-strings/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/multiple-strings/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/valid/multiple-strings/.dirs/runtime 989s ok 19 /gresolver/txt/valid/multiple-strings 989s # End of valid tests 989s # Start of invalid tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/empty/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/empty/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/empty/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/empty/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/empty/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/empty/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/empty/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/empty/.dirs/runtime 989s ok 20 /gresolver/txt/invalid/empty 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/overflow/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/overflow/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/overflow/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/overflow/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/overflow/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/overflow/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/overflow/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ATBFK3/gresolver/txt/invalid/overflow/.dirs/runtime 989s ok 21 /gresolver/txt/invalid/overflow 989s # End of invalid tests 989s # End of txt tests 989s # End of gresolver tests 989s TAP version 14 989s # random seed: R02S6b7d95b7b7fb515eac1bcb7a8c52899f 989s 1..11 989s # Start of utils-isolated tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/tmp-dir/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/tmp-dir/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/tmp-dir/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/tmp-dir/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/tmp-dir/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/tmp-dir/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/tmp-dir/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/tmp-dir/.dirs/runtime 989s ok 1 /utils-isolated/tmp-dir 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/home-dir/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/home-dir/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/home-dir/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/home-dir/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/home-dir/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/home-dir/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/home-dir/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/home-dir/.dirs/runtime 989s ok 2 /utils-isolated/home-dir 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-cache-dir/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-cache-dir/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-cache-dir/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-cache-dir/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-cache-dir/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-cache-dir/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-cache-dir/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-cache-dir/.dirs/runtime 989s ok 3 /utils-isolated/user-cache-dir 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-config-dirs/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-config-dirs/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-config-dirs/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-config-dirs/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-config-dirs/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-config-dirs/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-config-dirs/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-config-dirs/.dirs/runtime 989s ok 4 /utils-isolated/system-config-dirs 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-config-dir/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-config-dir/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-config-dir/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-config-dir/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-config-dir/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-config-dir/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-config-dir/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-config-dir/.dirs/runtime 989s ok 5 /utils-isolated/user-config-dir 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-data-dirs/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-data-dirs/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-data-dirs/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-data-dirs/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-data-dirs/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-data-dirs/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-data-dirs/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/system-data-dirs/.dirs/runtime 989s ok 6 /utils-isolated/system-data-dirs 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-data-dir/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-data-dir/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-data-dir/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-data-dir/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-data-dir/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-data-dir/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-data-dir/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-data-dir/.dirs/runtime 989s ok 7 /utils-isolated/user-data-dir 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-state-dir/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-state-dir/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-state-dir/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-state-dir/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-state-dir/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-state-dir/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-state-dir/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-state-dir/.dirs/runtime 989s ok 8 /utils-isolated/user-state-dir 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-runtime-dir/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-runtime-dir/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-runtime-dir/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-runtime-dir/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-runtime-dir/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-runtime-dir/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-runtime-dir/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/user-runtime-dir/.dirs/runtime 989s ok 9 /utils-isolated/user-runtime-dir 989s # Start of cleanup tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/runtime 989s Unable to clean up temporary directory /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 989s Unable to clean up temporary directory /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 989s Unable to clean up temporary directory /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/handles-errors: Directory not empty 989s ok 10 /utils-isolated/cleanup/handles-errors 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 989s Unable to clean up temporary directory /tmp/test_utils-isolated_NZ2EK3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 989s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 989s # End of cleanup tests 989s # End of utils-isolated tests 989s ok - glib/utils-isolated.test 989s # Running test: glib/application-command-line.test 989s ok - glib/application-command-line.test 989s TAP version 14 989s # random seed: R02Sfb4818eb98c1d4a79005a258fec55a3f 989s 1..1 989s # Start of application-command-line tests 989s ok 1 /application-command-line/basic-properties 989s # End of application-command-line tests 989s # Running test: glib/mimeapps.test 989s TAP version 14 989s # random seed: R02Sb74f61ec5981f2d053bda8c392c19e73 989s 1..13 989s # Start of appinfo tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 989s ok 1 /appinfo/all 989s # Start of mime tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/config 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/all/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/config 989s ok 2 /appinfo/mime/api 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/config 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/config 989s ok 3 /appinfo/mime/default 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/config 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/config 989s ok 4 /appinfo/mime/file 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/config 989s ok 5 /appinfo/mime/scheme-handler 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/config 989s ok 6 /appinfo/mime/default-last-used 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/config 989s ok 7 /appinfo/mime/ignore-nonexisting 989s # End of mime tests 989s # Start of mime-symlinked tests 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 989s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/config 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/config 989s ok 8 /appinfo/mime-symlinked/api 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/config 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/config 989s ok 9 /appinfo/mime-symlinked/default 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/config 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/config 989s ok 10 /appinfo/mime-symlinked/file 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 989s ok 11 /appinfo/mime-symlinked/scheme-handler 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/config 989s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/config 989s ok 12 /appinfo/mime-symlinked/default-last-used 989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 989s # removing '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 989s # creating '/tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 989s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_0SKPK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 989s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 989s # End of mime-symlinked tests 989s # End of appinfo tests 989s ok - glib/mimeapps.test 989s # Running test: glib/markup-parse.test 989s TAP version 14 989s # random seed: R02Sa492782c775a37f3cde175e5e3627962 989s 1..71 989s # Start of markup tests 989s # Start of parse tests 989s ok 1 /markup/parse/valid-11.gmarkup 989s ok 2 /markup/parse/fail-24.gmarkup 989s ok 3 /markup/parse/fail-53.gmarkup 989s ok 4 /markup/parse/valid-4.gmarkup 989s ok 5 /markup/parse/fail-7.gmarkup 989s ok 6 /markup/parse/fail-19.gmarkup 989s ok 7 /markup/parse/fail-1.gmarkup 989s ok 8 /markup/parse/fail-13.gmarkup 989s ok 9 /markup/parse/fail-36.gmarkup 989s ok 10 /markup/parse/fail-48.gmarkup 989s ok 11 /markup/parse/fail-27.gmarkup 989s ok 12 /markup/parse/fail-49.gmarkup 989s ok 13 /markup/parse/fail-52.gmarkup 989s ok 14 /markup/parse/fail-54.gmarkup 989s ok 15 /markup/parse/valid-12.gmarkup 989s ok 16 /markup/parse/fail-22.gmarkup 989s ok 17 /markup/parse/fail-34.gmarkup 989s ok 18 /markup/parse/valid-15.gmarkup 989s ok 19 /markup/parse/fail-5.gmarkup 989s ok 20 /markup/parse/fail-20.gmarkup 989s ok 21 /markup/parse/fail-30.gmarkup 989s ok 22 /markup/parse/valid-10.gmarkup 989s ok 23 /markup/parse/valid-5.gmarkup 989s ok 24 /markup/parse/fail-18.gmarkup 989s ok 25 /markup/parse/fail-31.gmarkup 989s ok 26 /markup/parse/valid-3.gmarkup 989s ok 27 /markup/parse/valid-14.gmarkup 989s ok 28 /markup/parse/fail-44.gmarkup 989s ok 29 /markup/parse/fail-40.gmarkup 989s ok 30 /markup/parse/fail-47.gmarkup 989s ok 31 /markup/parse/fail-9.gmarkup 989s ok 32 /markup/parse/valid-13.gmarkup 989s ok 33 /markup/parse/fail-46.gmarkup 989s ok 34 /markup/parse/fail-33.gmarkup 989s ok 35 /markup/parse/valid-7.gmarkup 989s ok 36 /markup/parse/fail-23.gmarkup 989s ok 37 /markup/parse/fail-3.gmarkup 989s ok 38 /markup/parse/fail-37.gmarkup 989s ok 39 /markup/parse/fail-51.gmarkup 989s ok 40 /markup/parse/fail-14.gmarkup 989s ok 41 /markup/parse/fail-45.gmarkup 989s ok 42 /markup/parse/fail-42.gmarkup 989s ok 43 /markup/parse/valid-17.gmarkup 989s ok 44 /markup/parse/fail-21.gmarkup 989s ok 45 /markup/parse/fail-10.gmarkup 989s ok 46 /markup/parse/fail-17.gmarkup 989s ok 47 /markup/parse/valid-2.gmarkup 989s ok 48 /markup/parse/fail-25.gmarkup 989s ok 49 /markup/parse/fail-29.gmarkup 989s ok 50 /markup/parse/fail-8.gmarkup 989s ok 51 /markup/parse/fail-38.gmarkup 989s ok 52 /markup/parse/fail-15.gmarkup 989s ok 53 /markup/parse/valid-1.gmarkup 989s ok 54 /markup/parse/fail-43.gmarkup 989s ok 55 /markup/parse/valid-9.gmarkup 989s ok 56 /markup/parse/fail-11.gmarkup 989s ok 57 /markup/parse/fail-28.gmarkup 989s ok 58 /markup/parse/valid-16.gmarkup 989s ok 59 /markup/parse/valid-8.gmarkup 989s ok 60 /markup/parse/fail-35.gmarkup 989s ok 61 /markup/parse/fail-26.gmarkup 989s ok 62 /markup/parse/fail-6.gmarkup 989s ok 63 /markup/parse/fail-16.gmarkup 989s ok 64 /markup/parse/valid-6.gmarkup 989s ok 65 /markup/parse/fail-4.gmarkup 989s ok 66 /markup/parse/fail-32.gmarkup 989s ok 67 /markup/parse/fail-50.gmarkup 989s ok 68 /markup/parse/fail-39.gmarkup 989s ok 69 /markup/parse/fail-12.gmarkup 989s ok 70 /markup/parse/fail-2.gmarkup 989s ok 71 /markup/parse/fail-41.gmarkup 989s # End of parse tests 989s # End of markup tests 989s ok - glib/markup-parse.test 989s # Running test: glib/cxx-14.test 989s TAP version 14 989s # random seed: R02Secf5a093d562056893e6a5d188f3131e 989s 1..2 989s # Start of gtask tests 989s # 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. 989s ok 1 /gtask/name 989s # Start of name tests 989s # 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. 989s ok 2 /gtask/name/macro-wrapper 989s # End of name tests 989s # End of gtask tests 989s ok - glib/cxx-14.test 989s # Running test: glib/signals-refcount3.test 989s TAP version 14 989s # random seed: R02Sd7103494b60d36d12589e64156daf7c6 989s 1..1 989s # Start of gobject tests 989s # Start of refcount tests 989s # init 0xb8b1ef2f64b0 989s # 989s # init 0xb8b1ef2ee580 989s # 991s # Executing: glib/signals-refcount3.test 994s # dispose 0xb8b1ef2f64b0! 994s # 994s # dispose 0xb8b1ef2ee580! 994s # 994s ok 1 /gobject/refcount/signals 994s # slow test /gobject/refcount/signals executed in 5.00 secs 994s # End of refcount tests 994s # End of gobject tests 994s TAP version 14 994s # random seed: R02Seccbde0d11d2776c5f21a7db891da06c 994s 1..3 994s # Start of alignof tests 994s ok 1 /alignof/fallback 994s # End of alignof tests 994s # Start of assert tests 994s ok 2 /assert/static 994s # End of assert tests 994s # Start of struct tests 994s ok 3 /struct/sizeof_member 994s # End of struct tests 994s TAP version 14 994s # random seed: R02Sac39de444039df191501a6eaf48a5deb 994s 1..1 994s # Start of portal-support tests 994s ok 1 /portal-support/env-var 994s # End of portal-support tests 994s TAP version 14 994s # random seed: R02S85a006a644c01d611f56f57744c04398 994s 1..9 994s # Start of gdbus tests 994s # Start of connection tests 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/bus-failure/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/bus-failure/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/bus-failure/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/bus-failure/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/bus-failure/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/bus-failure/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/bus-failure/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/bus-failure/.dirs/runtime 994s ok 1 /gdbus/connection/bus-failure 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/basic/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/basic/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/basic/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/basic/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/basic/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/basic/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/basic/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/basic/.dirs/runtime 994s ok - glib/signals-refcount3.test 994s # Running test: glib/macros.test 994s ok - glib/macros.test 994s # Running test: glib/portal-support-env-var.test 994s ok - glib/portal-support-env-var.test 994s # Running test: glib/gdbus-connection.test 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok 2 /gdbus/connection/basic 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/life-cycle/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/life-cycle/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/life-cycle/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/life-cycle/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/life-cycle/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/life-cycle/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/life-cycle/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/life-cycle/.dirs/runtime 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok 3 /gdbus/connection/life-cycle 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/send/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/send/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/send/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/send/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/send/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/send/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/send/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/send/.dirs/runtime 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok 4 /gdbus/connection/send 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signals/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signals/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signals/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signals/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signals/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signals/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signals/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signals/.dirs/runtime 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok 5 /gdbus/connection/signals 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signal-match-rules/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signal-match-rules/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signal-match-rules/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signal-match-rules/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signal-match-rules/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signal-match-rules/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signal-match-rules/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/signal-match-rules/.dirs/runtime 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok 6 /gdbus/connection/signal-match-rules 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/filter/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/filter/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/filter/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/filter/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/filter/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/filter/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/filter/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/filter/.dirs/runtime 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok 7 /gdbus/connection/filter 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/serials/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/serials/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/serials/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/serials/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/serials/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/serials/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/serials/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/serials/.dirs/runtime 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok - glib/gdbus-connection.test 995s # Running test: glib/autoptr.test 995s ok - glib/autoptr.test 995s # Running test: glib/environment.test 995s ok - glib/environment.test 995s # Running test: glib/strfuncs.test 995s ok - glib/strfuncs.test 995s # Running test: glib/completion.test 995s ok - glib/completion.test 995s # Running test: glib/mapping.test 995s ok - glib/mapping.test 995s # Running test: glib/gdbus-proxy-threads.test 995s ok - glib/gdbus-proxy-threads.test 995s # Running test: glib/module-test-plugin.test 995s ok - glib/module-test-plugin.test 995s # Running test: glib/dynamictype.test 995s ok - glib/dynamictype.test 995s # Running test: glib/resources.test 995s ok - glib/resources.test 995s # Running test: glib/module-test-library.test 995s ok - glib/module-test-library.test 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok 8 /gdbus/connection/serials 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/cancel/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/cancel/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/cancel/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/cancel/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_GMT8J3/gdbus/connection/cancel/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/cancel/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/cancel/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GMT8J3/gdbus/connection/cancel/.dirs/runtime 995s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok 9 /gdbus/connection/cancel 995s # End of connection tests 995s # End of gdbus tests 995s TAP version 14 995s # random seed: R02S89788134b830aba3f5eb8aea4ab137ad 995s 1..6 995s # Start of autoptr tests 995s ok 1 /autoptr/autoptr 995s ok 2 /autoptr/autoptr_steal 995s ok 3 /autoptr/autolist 995s ok 4 /autoptr/autoslist 995s ok 5 /autoptr/autoqueue 995s ok 6 /autoptr/autoclass 995s # End of autoptr tests 995s TAP version 14 995s # random seed: R02S99b870254cc0805e96e9ddc9b2764e42 995s 1..7 995s # Start of environ tests 995s # /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. 995s ok 1 /environ/listenv 995s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 995s ok 2 /environ/getenv 995s ok 3 /environ/setenv 995s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 995s ok 4 /environ/array 995s # /environ/null summary: Test getting and setting variables on a NULL envp array. 995s ok 5 /environ/null 995s # /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. 995s ok 6 /environ/case 995s # /environ/expansion summary: Test expansion of environment variable references. 995s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 995s # End of environ tests 995s TAP version 14 995s # random seed: R02Sc92f52adcaff4b53fba4783a9b438840 995s 1..51 995s # Start of strfuncs tests 995s ok 1 /strfuncs/ascii-strcasecmp 995s ok 2 /strfuncs/ascii_strdown 995s ok 3 /strfuncs/ascii_strdup 995s ok 4 /strfuncs/ascii_strtod 995s ok 5 /strfuncs/bounds-check 995s ok 6 /strfuncs/has-prefix 995s ok 7 /strfuncs/has-prefix-macro 995s ok 8 /strfuncs/has-suffix 995s ok 9 /strfuncs/has-suffix-macro 995s ok 10 /strfuncs/memdup 995s ok 11 /strfuncs/memdup2 995s ok 12 /strfuncs/set_str 995s ok 13 /strfuncs/stpcpy 995s ok 14 /strfuncs/str_match_string 995s ok 15 /strfuncs/str_tokenize_and_fold 995s ok 16 /strfuncs/strcanon 995s ok 17 /strfuncs/strchomp 995s ok 18 /strfuncs/strchug 995s ok 19 /strfuncs/strcompress-strescape 995s ok 20 /strfuncs/strconcat 995s ok 21 /strfuncs/strdelimit 995s ok 22 /strfuncs/strdup 995s ok 23 /strfuncs/strdup-printf 995s ok 24 /strfuncs/strdupv 995s ok 25 /strfuncs/strerror 995s ok 26 /strfuncs/strip-context 995s ok 27 /strfuncs/strjoin 995s ok 28 /strfuncs/strjoinv 995s ok 29 /strfuncs/strlcat 995s ok 30 /strfuncs/strlcpy 995s ok 31 /strfuncs/strncasecmp 995s ok 32 /strfuncs/strndup 995s ok 33 /strfuncs/strnfill 995s ok 34 /strfuncs/strreverse 995s ok 35 /strfuncs/strsignal 995s ok 36 /strfuncs/strsplit 995s ok 37 /strfuncs/strsplit-set 995s ok 38 /strfuncs/strstr 995s ok 39 /strfuncs/strtod 995s ok 40 /strfuncs/strtoull-strtoll 995s ok 41 /strfuncs/strup 995s ok 42 /strfuncs/strv-contains 995s ok 43 /strfuncs/strv-equal 995s ok 44 /strfuncs/strv-length 995s ok 45 /strfuncs/test-is-to-digit 995s ok 46 /strfuncs/transliteration 995s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 995s ok 47 /strfuncs/str-equal 995s ok 48 /strfuncs/str-is-ascii 995s # Start of ascii-string-to-num tests 995s ok 49 /strfuncs/ascii-string-to-num/pathological 995s ok 50 /strfuncs/ascii-string-to-num/usual 995s # End of ascii-string-to-num tests 995s # Start of strdup tests 995s ok 51 /strfuncs/strdup/inline 995s # End of strdup tests 995s # End of strfuncs tests 995s TAP version 14 995s # random seed: R02S8231b5c7e3104f7bfe14235bbefc54f6 995s 1..1 995s # Start of completion tests 995s ok 1 /completion/test-completion 995s # End of completion tests 995s TAP version 14 995s # random seed: R02Se355e2f6f64e7d97fda3a9cc6f5241ef 995s 1..3 995s # Start of mapping tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_OAR6J3/mapping/flags/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_OAR6J3/mapping/flags/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_OAR6J3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_OAR6J3/mapping/flags/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_OAR6J3/mapping/flags/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_OAR6J3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_OAR6J3/mapping/flags/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_OAR6J3/mapping/flags/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_OAR6J3/mapping/flags/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_OAR6J3/mapping/flags/.dirs/runtime 995s # test_mapping: ok 995s ok 1 /mapping/flags 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_OAR6J3/mapping/private/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_OAR6J3/mapping/private/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_OAR6J3/mapping/private/.dirs/system-config1:/tmp/test_mapping_OAR6J3/mapping/private/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_OAR6J3/mapping/private/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_OAR6J3/mapping/private/.dirs/system-data1:/tmp/test_mapping_OAR6J3/mapping/private/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_OAR6J3/mapping/private/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_OAR6J3/mapping/private/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_OAR6J3/mapping/private/.dirs/runtime 995s ok 2 /mapping/private 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_OAR6J3/mapping/private-child/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_OAR6J3/mapping/private-child/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_OAR6J3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_OAR6J3/mapping/private-child/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_OAR6J3/mapping/private-child/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_OAR6J3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_OAR6J3/mapping/private-child/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_OAR6J3/mapping/private-child/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_OAR6J3/mapping/private-child/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_OAR6J3/mapping/private-child/.dirs/runtime 995s # test_child_private: child spawned 995s # Subtest: /usr/libexec/installed-tests/glib/mapping 995s # random seed: R02S23af6d3405ec12ace8625f657596db54 995s # test_child_private: received first child signal 995s # test_child_private: received parent signal 995s # Child exited with status 0 995s # test_child_private: received second child signal 995s ok 3 /mapping/private-child 995s # End of mapping tests 995s TAP version 14 995s # random seed: R02S2a2f0cb944a77463de49900eed7a40a7 995s 1..1 995s # Start of gdbus tests 995s # Start of proxy tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_S7H6J3/gdbus/proxy/vs-threads/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_S7H6J3/gdbus/proxy/vs-threads/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_S7H6J3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_S7H6J3/gdbus/proxy/vs-threads/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_S7H6J3/gdbus/proxy/vs-threads/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_S7H6J3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_S7H6J3/gdbus/proxy/vs-threads/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_S7H6J3/gdbus/proxy/vs-threads/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_S7H6J3/gdbus/proxy/vs-threads/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_S7H6J3/gdbus/proxy/vs-threads/.dirs/runtime 995s ok 1 /gdbus/proxy/vs-threads 995s # slow test /gdbus/proxy/vs-threads executed in 0.64 secs 995s # End of proxy tests 995s # End of gdbus tests 995s cleaning up pid 35315 995s TAP version 14 995s # random seed: R02S4cc852b7b76ffa67b7aac385081925b5 995s 1..3 995s # Start of module tests 995s ok 1 /module/basics 995s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 995s ok 2 /module/invalid-libtool-archive 995s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 995s ok 3 /module/local-binding 995s # End of module tests 995s TAP version 14 995s # random seed: R02Sd70b7f850a2214e17b1e4e57cdec324b 995s 1..2 995s # Start of gobject tests 995s ok 1 /gobject/dynamic-type 995s # Start of dynamic-type tests 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 995s ok 2 /gobject/dynamic-type/query 995s # End of dynamic-type tests 995s # End of gobject tests 995s TAP version 14 995s # random seed: R02S5a071c9f330006c153ab486f9ee8239a 995s 1..19 995s # Start of resource tests 995s ok 1 /resource/file 995s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 995s ok 2 /resource/file-path 995s ok 3 /resource/data 995s ok 4 /resource/data_unaligned 995s ok 5 /resource/data-corrupt 995s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 995s ok 6 /resource/data-corrupt-compression 995s ok 7 /resource/data-empty 995s ok 8 /resource/registered 995s ok 9 /resource/manual 995s ok 10 /resource/manual2 995s ok 11 /resource/automatic 995s ok 12 /resource/module 995s ok 13 /resource/binary-linked 995s ok 14 /resource/64k 995s GLib-GIO-Message: 02:15:54.780: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 995s GLib-GIO-Message: 02:15:54.781: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 995s GLib-GIO-Message: 02:15:54.781: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 995s ok 15 /resource/overlay 995s ok 16 /resource/digits 995s ok 17 /resource/has-children 995s # Start of uri tests 995s ok 18 /resource/uri/query-info 995s ok 19 /resource/uri/file 995s # End of uri tests 995s # End of resource tests 995s TAP version 14 995s # random seed: R02S9fadba6d72e7bea817da4f71e6892140 995s 1..3 995s # Start of module tests 995s ok 1 /module/basics 995s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 995s ok 2 /module/invalid-libtool-archive 995s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 995s ok 3 /module/local-binding 995s # End of module tests 995s # Running test: glib/spawn-singlethread.test 995s TAP version 14 995s # random seed: R02S207103e94303b4bf54e117bea2e163ec 995s ok - glib/spawn-singlethread.test 995s # Running test: glib/error.test 995s ok - glib/error.test 995s # Running test: glib/async-splice-output-stream.test 995s 1..9 995s # Start of gthread tests 995s ok 1 /gthread/spawn-single-sync 995s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 995s ok 2 /gthread/spawn-stderr-socket 995s ok 3 /gthread/spawn-single-async 995s # thread 1 995s # thread 1 995s ok 4 /gthread/spawn-single-async-with-fds 995s ok 5 /gthread/spawn-async-with-invalid-fds 995s ok 6 /gthread/spawn-script 995s ok 7 /gthread/spawn-posix-spawn 995s # Start of spawn tests 995s ok 8 /gthread/spawn/nonexistent 995s # FD map: 995s # • 5 → 15 995s # • 6 → 16 995s # • 7 → 17 995s # • 8 → 18 995s # • 9 → 19 995s # • 10 → 20 995s # • 11 → 21 995s # • 12 → 22 995s # • 13 → 23 995s # • 3 → 13 995s ok 9 /gthread/spawn/fd-assignment-clash 995s # End of spawn tests 995s # End of gthread tests 995s TAP version 14 995s # random seed: R02Sc64e7255b430da405b265a3ec99f8da9 995s 1..3 995s # Start of error tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_DB8OK3/error/from-errno/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_DB8OK3/error/from-errno/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_DB8OK3/error/from-errno/.dirs/system-config1:/tmp/test_error_DB8OK3/error/from-errno/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_DB8OK3/error/from-errno/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_DB8OK3/error/from-errno/.dirs/system-data1:/tmp/test_error_DB8OK3/error/from-errno/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_DB8OK3/error/from-errno/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_DB8OK3/error/from-errno/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_DB8OK3/error/from-errno/.dirs/runtime 995s ok 1 /error/from-errno 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_DB8OK3/error/from-file-error/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_DB8OK3/error/from-file-error/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_DB8OK3/error/from-file-error/.dirs/system-config1:/tmp/test_error_DB8OK3/error/from-file-error/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_DB8OK3/error/from-file-error/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_DB8OK3/error/from-file-error/.dirs/system-data1:/tmp/test_error_DB8OK3/error/from-file-error/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_DB8OK3/error/from-file-error/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_DB8OK3/error/from-file-error/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_DB8OK3/error/from-file-error/.dirs/runtime 995s ok 2 /error/from-file-error 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_DB8OK3/error/from-win32-error/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_DB8OK3/error/from-win32-error/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_DB8OK3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_DB8OK3/error/from-win32-error/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_DB8OK3/error/from-win32-error/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_DB8OK3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_DB8OK3/error/from-win32-error/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_DB8OK3/error/from-win32-error/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_DB8OK3/error/from-win32-error/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_DB8OK3/error/from-win32-error/.dirs/runtime 995s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 995s # End of error tests 995s TAP version 14 995s # random seed: R02S0a9e68ff67f33e2c1c7ebb2bc5a1b1eb 995s 1..5 995s # Start of async-splice tests 995s ok 1 /async-splice/copy-chunks 995s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 995s ok 2 /async-splice/copy-chunks-threaded-input 995s ok 3 /async-splice/copy-chunks-threaded-output 995s ok 4 /async-splice/copy-chunks-threaded 995s ok 5 /async-splice/cancelled 995s # End of async-splice tests 995s ok - glib/async-splice-output-stream.test 995s # Running test: glib/gi-inspect-typelib.py.test 995s TAP version 13 995s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmp9azkkj_p 995s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 995s # Return code: 0 995s # Output: 995s # Usage: 995s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 995s # 995s # Help Options: 995s # -h, --help Show help options 995s # 995s # Application Options: 995s # --typelib-version=VERSION Typelib version to inspect 995s # --print-shlibs List the shared libraries the typelib requires 995s # --print-typelibs List other typelibs the inspected typelib requires 995s # Error: 995s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmputsh5bfh 995s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 995s # Return code: 1 995s # Output: 995s # 995s # Error: 995s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 995s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmpdns9307w 995s # Running: ['/usr/bin/gi-inspect-typelib'] 995s # Return code: 1 995s # Output: 995s # 995s # Error: 995s # Please specify exactly one namespace 995s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmpfqu3m8l3 995s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 995s # Return code: 0 995s # Output: 995s # shlib: libgobject-2.0.so.0 995s # shlib: libglib-2.0.so.0 995s # Error: 995s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmp16owcbsn 995s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 995s # Return code: 0 995s # Output: 995s # 995s # Error: 995s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmptbpuqtjq 995s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 995s # Return code: 0 995s # Output: 995s # shlib: libgobject-2.0.so.0 995s # shlib: libglib-2.0.so.0 995s # Error: 995s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmpksrutm43 995s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 995s # Return code: 0 995s # Output: 995s # shlib: libgobject-2.0.so.0 995s # Error: 995s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmpwyvoze3k 995s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 995s # Return code: 0 995s # Output: 995s # typelib: GLib-2.0 995s # Error: 995s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmpel2s467c 995s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 995s # Return code: 0 995s # Output: 995s # shlib: libgobject-2.0.so.0 995s # typelib: GLib-2.0 995s # Error: 995s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmpnhn9g5jh 995s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 995s # Return code: 0 995s # Output: 995s # shlib: libgio-2.0.so.0 995s # Error: 995s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmp7fds8dqk 995s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 995s # Return code: 0 995s # Output: 995s # typelib: GObject-2.0 995s # typelib: GLib-2.0 995s # typelib: GModule-2.0 995s # Error: 995s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 995s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 995s # tmpdir: /tmp/tmpnzhskb1a 995s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 995s # Return code: 0 995s # Output: 995s # shlib: libgio-2.0.so.0 995s # typelib: GObject-2.0 995s # typelib: GLib-2.0 995s # typelib: GModule-2.0 995s # Error: 995s 1..12 995s ok - glib/gi-inspect-typelib.py.test 995s # Running test: glib/power-profile-monitor.test 995s TAP version 14 995s # random seed: R02Sf7e6e3203953705a92743fb63738f158 995s 1..1 995s # Start of power-profile-monitor tests 995s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 995s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 995s ok 1 /power-profile-monitor/default 995s # End of power-profile-monitor tests 995s ok - glib/power-profile-monitor.test 995s # Running test: glib/tree.test 995s TAP version 14 995s # random seed: R02S2c6de8dba63370782e15b2c201175485 995s 1..7 995s # Start of tree tests 995s ok 1 /tree/search 995s ok 2 /tree/remove 995s ok 3 /tree/destroy 995s ok 4 /tree/traverse 995s ok 5 /tree/insert 995s ok 6 /tree/bounds 995s ok 7 /tree/remove-all 995s # End of tree tests 995s ok - glib/tree.test 995s # Running test: glib/fileutils.test 995s TAP version 14 995s # random seed: R02S85254f56d82225034e3284dc20525f6e 995s 1..27 995s # Start of fileutils tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/paths/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/paths/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/paths/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/paths/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/paths/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/paths/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/paths/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/paths/.dirs/runtime 995s ok 1 /fileutils/paths 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-path/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-path/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/build-path/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-path/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/build-path/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-path/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-path/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/build-path/.dirs/runtime 995s ok 2 /fileutils/build-path 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-pathv/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-pathv/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/build-pathv/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-pathv/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/build-pathv/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-pathv/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-pathv/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/build-pathv/.dirs/runtime 995s ok 3 /fileutils/build-pathv 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-filename/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-filename/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/build-filename/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-filename/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/build-filename/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-filename/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-filename/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/build-filename/.dirs/runtime 995s ok 4 /fileutils/build-filename 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-filenamev/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-filenamev/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/build-filenamev/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-filenamev/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/build-filenamev/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-filenamev/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/build-filenamev/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/build-filenamev/.dirs/runtime 995s ok 5 /fileutils/build-filenamev 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents/.dirs/runtime 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s # Checking g_mkdir_with_parents() in subdir ./hum/ 995s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 995s ok 6 /fileutils/mkdir-with-parents 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents-permission/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents-permission/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents-permission/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents-permission/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents-permission/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/mkdir-with-parents-permission/.dirs/runtime 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s ok 7 /fileutils/mkdir-with-parents-permission 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/format-size-for-display/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/format-size-for-display/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/format-size-for-display/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/format-size-for-display/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/format-size-for-display/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/format-size-for-display/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/format-size-for-display/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/format-size-for-display/.dirs/runtime 995s ok 8 /fileutils/format-size-for-display 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/errors/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/errors/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/errors/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/errors/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/errors/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/errors/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/errors/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/errors/.dirs/runtime 995s ok 9 /fileutils/errors 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/basename/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/basename/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/basename/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/basename/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/basename/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/basename/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/basename/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/basename/.dirs/runtime 995s ok 10 /fileutils/basename 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-basename/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-basename/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/get-basename/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-basename/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/get-basename/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-basename/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-basename/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/get-basename/.dirs/runtime 995s ok 11 /fileutils/get-basename 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/dirname/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/dirname/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/dirname/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/dirname/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/dirname/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/dirname/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/dirname/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/dirname/.dirs/runtime 995s ok 12 /fileutils/dirname 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/dir-make-tmp/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/dir-make-tmp/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/dir-make-tmp/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/dir-make-tmp/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/dir-make-tmp/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/dir-make-tmp/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/dir-make-tmp/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/dir-make-tmp/.dirs/runtime 995s ok 13 /fileutils/dir-make-tmp 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/file-open-tmp/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/file-open-tmp/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/file-open-tmp/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/file-open-tmp/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/file-open-tmp/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/file-open-tmp/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/file-open-tmp/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/file-open-tmp/.dirs/runtime 995s ok 14 /fileutils/file-open-tmp 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/file-test/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/file-test/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/file-test/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/file-test/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/file-test/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/file-test/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/file-test/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/file-test/.dirs/runtime 995s ok 15 /fileutils/file-test 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkstemp/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkstemp/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/mkstemp/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkstemp/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/mkstemp/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkstemp/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkstemp/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/mkstemp/.dirs/runtime 995s ok 16 /fileutils/mkstemp 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdtemp/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdtemp/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/mkdtemp/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdtemp/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/mkdtemp/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdtemp/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/mkdtemp/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/mkdtemp/.dirs/runtime 995s ok 17 /fileutils/mkdtemp 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-contents/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-contents/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/get-contents/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-contents/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/get-contents/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-contents/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-contents/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/get-contents/.dirs/runtime 995s ok 18 /fileutils/get-contents 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-contents-large-file/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-contents-large-file/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/get-contents-large-file/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-contents-large-file/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/get-contents-large-file/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-contents-large-file/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/get-contents-large-file/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/get-contents-large-file/.dirs/runtime 995s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/set-contents/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/set-contents/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/set-contents/.dirs/runtime 995s ok 20 /fileutils/set-contents 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/.dirs/runtime 995s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 995s # Flags 0 and test 0 995s # Flags 0 and test 1 995s # Flags 0 and test 2 995s # Flags 0 and test 3 995s # Flags 0 and test 4 995s # Flags 0 and test 5 995s # Flags 0 and test 6 995s # Flags 1 and test 0 995s # Flags 1 and test 1 995s # Flags 1 and test 2 995s # Flags 1 and test 3 995s # Flags 1 and test 4 995s # Flags 1 and test 5 995s # Flags 1 and test 6 995s # Flags 2 and test 0 995s # Flags 2 and test 1 995s # Flags 2 and test 2 995s # Flags 2 and test 3 995s # Flags 2 and test 4 995s # Flags 2 and test 5 995s # Flags 2 and test 6 995s # Flags 3 and test 0 995s # Flags 3 and test 1 995s # Flags 3 and test 2 995s # Flags 3 and test 3 995s # Flags 3 and test 4 995s # Flags 3 and test 5 995s # Flags 3 and test 6 995s # Flags 4 and test 0 995s # Flags 4 and test 1 995s # Flags 4 and test 2 995s # Flags 4 and test 3 995s # Flags 4 and test 4 995s # Flags 4 and test 5 995s # Flags 4 and test 6 995s # Flags 5 and test 0 995s # Flags 5 and test 1 995s # Flags 5 and test 2 995s # Flags 5 and test 3 995s # Flags 5 and test 4 995s # Flags 5 and test 5 995s # Flags 5 and test 6 995s # Flags 6 and test 0 995s # Flags 6 and test 1 995s # Flags 6 and test 2 995s # Flags 6 and test 3 995s # Flags 6 and test 4 995s # Flags 6 and test 5 995s # Flags 6 and test 6 995s ok 21 /fileutils/set-contents-full 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/read-link/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/read-link/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/read-link/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/read-link/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/read-link/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/read-link/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/read-link/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/read-link/.dirs/runtime 995s ok 22 /fileutils/read-link 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/stdio-wrappers/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/stdio-wrappers/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/stdio-wrappers/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/stdio-wrappers/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/stdio-wrappers/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/stdio-wrappers/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/stdio-wrappers/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/stdio-wrappers/.dirs/runtime 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s ok 23 /fileutils/stdio-wrappers 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/fopen-modes/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/fopen-modes/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/fopen-modes/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/fopen-modes/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/fopen-modes/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/fopen-modes/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/fopen-modes/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/fopen-modes/.dirs/runtime 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 995s # Testing fopen() mode 'w' 995s # Testing fopen() mode 'r' 995s # Testing fopen() mode 'a' 995s # Testing fopen() mode 'w+' 995s # Testing fopen() mode 'r+' 995s # Testing fopen() mode 'a+' 995s # Testing fopen() mode 'wb' 995s # Testing fopen() mode 'rb' 995s # Testing fopen() mode 'ab' 995s # Testing fopen() mode 'w+b' 995s # Testing fopen() mode 'r+b' 995s # Testing fopen() mode 'a+b' 995s # Testing fopen() mode 'wb+' 995s # Testing fopen() mode 'rb+' 995s # Testing fopen() mode 'ab+' 995s # Testing fopen() mode 'we' 995s # Testing fopen() mode 're' 995s # Testing fopen() mode 'ae' 995s # Testing fopen() mode 'w+e' 995s # Testing fopen() mode 'r+e' 995s # Testing fopen() mode 'a+e' 995s # Testing fopen() mode 'wbe' 995s # Testing fopen() mode 'rbe' 995s # Testing fopen() mode 'abe' 995s # Testing fopen() mode 'w+be' 995s # Testing fopen() mode 'r+be' 995s # Testing fopen() mode 'a+be' 995s # Testing fopen() mode 'wb+e' 995s # Testing fopen() mode 'rb+e' 995s # Testing fopen() mode 'ab+e' 995s # Testing fopen() mode 'web' 995s # Testing fopen() mode 'reb' 995s # Testing fopen() mode 'aeb' 995s # Testing fopen() mode 'w+eb' 995s # Testing fopen() mode 'r+eb' 995s # Testing fopen() mode 'a+eb' 995s # Testing fopen() mode 'web+' 995s # Testing fopen() mode 'reb+' 995s # Testing fopen() mode 'aeb+' 995s ok 24 /fileutils/fopen-modes 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/clear-fd/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/clear-fd/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/clear-fd/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/clear-fd/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/clear-fd/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/clear-fd/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/clear-fd/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/clear-fd/.dirs/runtime 995s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 995s # Will be closed by autocleanup: 3, -42 995s # Testing error handling 995s ok 25 /fileutils/clear-fd 995s # Start of set-contents-full tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-file/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-file/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-file/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-file/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-file/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-file/.dirs/runtime 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 995s ok 26 /fileutils/set-contents-full/read-only-file 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-directory/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-directory/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-directory/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-directory/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-directory/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_OTZLK3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 995s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 995s # Flags 0 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s # Flags 1 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s # Flags 2 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s # Flags 3 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s # Flags 4 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s # Flags 5 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s # Flags 6 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s ok 27 /fileutils/set-contents-full/read-only-directory 995s # End of set-contents-full tests 995s # Start of clear-fd tests 995s # Start of subprocess tests 995s # End of subprocess tests 995s # End of clear-fd tests 995s # End of fileutils tests 995s Unable to clean up temporary directory /tmp/test_fileutils_OTZLK3/glib-file-set-contents-full-rodir-8LG5J3: Directory not empty 995s Unable to clean up temporary directory /tmp/test_fileutils_OTZLK3/glib-file-set-contents-full-rodir-JEE5J3: Directory not empty 995s Unable to clean up temporary directory /tmp/test_fileutils_OTZLK3/glib-file-set-contents-full-rodir-N5I5J3: Directory not empty 995s Unable to clean up temporary directory /tmp/test_fileutils_OTZLK3/glib-file-set-contents-full-rodir-A1N5J3: Directory not empty 995s Unable to clean up temporary directory /tmp/test_fileutils_OTZLK3/glib-file-set-contents-full-rodir-7YL5J3: Directory not empty 995s Unable to clean up temporary directory /tmp/test_fileutils_OTZLK3/glib-file-set-contents-full-rodir-84B5J3: Directory not empty 995s Unable to clean up temporary directory /tmp/test_fileutils_OTZLK3/glib-file-set-contents-full-rodir-KH94J3: Directory not empty 995s Unable to clean up temporary directory /tmp/test_fileutils_OTZLK3: Directory not empty 995s ok - glib/fileutils.test 995s # Running test: glib/utf8-private.test 995s TAP version 14 995s # random seed: R02S2b780d2cc1ba18e6ad3bd74bd8b88cbf 995s 1..2 995s # Start of utf8 tests 995s ok 1 /utf8/utf8-to-utf16-make-valid 995s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 995s # End of utf8 tests 995s ok - glib/utf8-private.test 995s # Running test: glib/convert.test 995s TAP version 14 995s # random seed: R02S1f1f64e9f9f7acc8274ebfd77a90826a 995s 1..14 995s # Start of conversion tests 995s ok 1 /conversion/no-conv 995s ok 2 /conversion/iconv-state 995s ok 3 /conversion/illegal-sequence 995s ok 4 /conversion/byte-order 995s ok 5 /conversion/unicode 995s ok 6 /conversion/filename-utf8 995s ok 7 /conversion/filename-display 995s ok 8 /conversion/convert-embedded-nul 995s # Start of locale-to-utf8 tests 995s ok 9 /conversion/locale-to-utf8/embedded-nul 995s # Start of embedded-nul tests 995s # Start of subprocess tests 995s # End of subprocess tests 995s # End of embedded-nul tests 995s # End of locale-to-utf8 tests 995s # Start of locale-from-utf8 tests 995s ok 10 /conversion/locale-from-utf8/embedded-nul 995s # Start of embedded-nul tests 995s # Start of subprocess tests 995s # End of subprocess tests 995s # End of embedded-nul tests 995s # End of locale-from-utf8 tests 995s # Start of filename-to-utf8 tests 995s ok 11 /conversion/filename-to-utf8/embedded-nul 995s # Start of embedded-nul tests 995s # Start of subprocess tests 995s # End of subprocess tests 995s # End of embedded-nul tests 995s # End of filename-to-utf8 tests 995s # Start of filename-from-utf8 tests 995s ok 12 /conversion/filename-from-utf8/embedded-nul 995s # Start of embedded-nul tests 995s # Start of subprocess tests 995s # End of subprocess tests 995s # End of embedded-nul tests 995s # End of filename-from-utf8 tests 995s # Start of filename-from-uri tests 995s ok 13 /conversion/filename-from-uri/query-is-ignored 995s ok 14 /conversion/filename-from-uri/fragment-is-ignored 995s # End of filename-from-uri tests 995s # End of conversion tests 995s ok - glib/convert.test 995s # Running test: glib/field-info.test 995s TAP version 14 995s # random seed: R02S9a0549ff79965f2569c0e771b38e4d57 995s 1..4 995s # Start of field-info tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_2O53J3/field-info/basic-struct-field/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_2O53J3/field-info/basic-struct-field/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_2O53J3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_2O53J3/field-info/basic-struct-field/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_2O53J3/field-info/basic-struct-field/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_2O53J3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_2O53J3/field-info/basic-struct-field/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_2O53J3/field-info/basic-struct-field/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_2O53J3/field-info/basic-struct-field/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_2O53J3/field-info/basic-struct-field/.dirs/runtime 995s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 995s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct 995s ok 1 /field-info/basic-struct-field 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_2O53J3/field-info/basic-union-field/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_2O53J3/field-info/basic-union-field/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_2O53J3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_2O53J3/field-info/basic-union-field/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_2O53J3/field-info/basic-union-field/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_2O53J3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_2O53J3/field-info/basic-union-field/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_2O53J3/field-info/basic-union-field/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_2O53J3/field-info/basic-union-field/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_2O53J3/field-info/basic-union-field/.dirs/runtime 995s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 995s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union 995s ok 2 /field-info/basic-union-field 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_2O53J3/field-info/read-write-struct-field/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_2O53J3/field-info/read-write-struct-field/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_2O53J3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_2O53J3/field-info/read-write-struct-field/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_2O53J3/field-info/read-write-struct-field/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_2O53J3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_2O53J3/field-info/read-write-struct-field/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_2O53J3/field-info/read-write-struct-field/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_2O53J3/field-info/read-write-struct-field/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_2O53J3/field-info/read-write-struct-field/.dirs/runtime 995s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 995s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union 995s ok 3 /field-info/read-write-struct-field 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_2O53J3/field-info/read-write-union-field/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_2O53J3/field-info/read-write-union-field/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_2O53J3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_2O53J3/field-info/read-write-union-field/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_2O53J3/field-info/read-write-union-field/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_2O53J3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_2O53J3/field-info/read-write-union-field/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_2O53J3/field-info/read-write-union-field/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_2O53J3/field-info/read-write-union-field/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_2O53J3/field-info/read-write-union-field/.dirs/runtime 995s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 995s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union 995s ok 4 /field-info/read-write-union-field 995s # End of field-info tests 995s ok - glib/field-info.test 995s # Running test: glib/g-file-info.test 995s TAP version 14 995s # random seed: R02Sa92de303068642012ab463d9bdf67433 995s 1..6 995s # Start of g-file-info tests 995s ok 1 /g-file-info/test_g_file_info 995s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 995s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 995s ok 2 /g-file-info/xattrs 995s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 995s ok 3 /g-file-info/set-modified-date-time-precision 995s # Start of test_g_file_info tests 995s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 995s ok 4 /g-file-info/test_g_file_info/modification-time 995s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 995s ok 5 /g-file-info/test_g_file_info/access-time 995s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 995s ok 6 /g-file-info/test_g_file_info/creation-time 995s # End of test_g_file_info tests 995s # End of g-file-info tests 995s ok - glib/g-file-info.test 995s # Running test: glib/gdbus-close-pending.test 995s TAP version 14 995s # random seed: R02Se4a056ae03cbb9f8efe1118b4fbeaec5 995s 1..2 995s # Start of gdbus tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/close-pending/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/close-pending/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_3NU3J3/gdbus/close-pending/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/close-pending/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_3NU3J3/gdbus/close-pending/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/close-pending/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/close-pending/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/close-pending/.dirs/runtime 996s # Executing: glib/gdbus-close-pending.test 996s ok 1 /gdbus/close-pending 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/unref-pending/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/unref-pending/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_3NU3J3/gdbus/unref-pending/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/unref-pending/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_3NU3J3/gdbus/unref-pending/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/unref-pending/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/unref-pending/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_3NU3J3/gdbus/unref-pending/.dirs/runtime 996s ok 2 /gdbus/unref-pending 996s # End of gdbus tests 996s ok - glib/gdbus-close-pending.test 996s # Running test: glib/gnotification.test 996s TAP version 14 996s # random seed: R02Sb6df2ae801b2e2742869c4be0d255a7c 996s 1..2 996s # Start of gnotification tests 996s ok 1 /gnotification/basic 996s ok 2 /gnotification/properties 996s # End of gnotification tests 996s ok - glib/gnotification.test 996s # Running test: glib/stream-rw_all.test 996s TAP version 14 996s # random seed: R02Sd24282249aff526c8483fc75b391b5eb 996s 1..3 996s # Start of stream tests 996s # Start of read_all_async tests 996s ok 1 /stream/read_all_async/memory 996s # End of read_all_async tests 996s # Start of write_all_async tests 996s ok 2 /stream/write_all_async/memory 996s # End of write_all_async tests 996s # Start of read_write_all_async tests 996s ok 3 /stream/read_write_all_async/pipe 996s # End of read_write_all_async tests 996s # End of stream tests 996s ok - glib/stream-rw_all.test 996s # Running test: glib/refcount.test 996s TAP version 14 996s # random seed: R02S5926c3ddeb29c74aaa68e41c29eb4f13 996s 1..4 996s # Start of refcount tests 996s ok 1 /refcount/grefcount 996s ok 2 /refcount/gatomicrefcount 996s # Start of grefcount tests 996s ok 3 /refcount/grefcount/saturation 996s # End of grefcount tests 996s # Start of gatomicrefcount tests 996s ok 4 /refcount/gatomicrefcount/saturation 996s # End of gatomicrefcount tests 996s # End of refcount tests 996s ok - glib/refcount.test 996s # Running test: glib/power-profile-monitor-dbus.test 996s TAP version 13 996s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 996s 1..1 996s ok - glib/power-profile-monitor-dbus.test 996s # Running test: glib/macros-c-99.test 996s TAP version 14 996s # random seed: R02S040115bb530c979a83c95516a569e6e9 996s 1..4 996s # Start of C tests 996s ok 1 /C/standard-99 996s # End of C tests 996s # Start of alignof tests 996s ok 2 /alignof/fallback 996s # End of alignof tests 996s # Start of assert tests 996s ok 3 /assert/static 996s # End of assert tests 996s # Start of struct tests 996s ok 4 /struct/sizeof_member 996s # End of struct tests 996s ok - glib/macros-c-99.test 996s # Running test: glib/gdbus-connection-loss.test 996s TAP version 14 996s # random seed: R02Sef3aa3b52325ceff99c00eca22d1c5a0 996s 1..1 996s # Start of gdbus tests 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_KUB6J3/gdbus/connection-loss/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_KUB6J3/gdbus/connection-loss/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_KUB6J3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_KUB6J3/gdbus/connection-loss/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_KUB6J3/gdbus/connection-loss/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_KUB6J3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_KUB6J3/gdbus/connection-loss/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_KUB6J3/gdbus/connection-loss/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_KUB6J3/gdbus/connection-loss/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_KUB6J3/gdbus/connection-loss/.dirs/runtime 996s ok 1 /gdbus/connection-loss 996s # End of gdbus tests 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s ok - glib/gdbus-connection-loss.test 996s # Running test: glib/signalgroup.test 996s TAP version 14 996s # random seed: R02S726d35b8acdd5fc1146a61e3b1ac74d1 996s 1..9 996s # Start of GObject tests 996s # Start of SignalGroup tests 996s ok 1 /GObject/SignalGroup/invalid 996s ok 2 /GObject/SignalGroup/simple 996s ok 3 /GObject/SignalGroup/changing-target 996s ok 4 /GObject/SignalGroup/blocking 996s ok 5 /GObject/SignalGroup/weak-ref-target 996s ok 6 /GObject/SignalGroup/connect-object 996s ok 7 /GObject/SignalGroup/signal-parsing 996s ok 8 /GObject/SignalGroup/properties 996s ok 9 /GObject/SignalGroup/interface 996s # Start of signal-parsing tests 996s # End of signal-parsing tests 996s # End of SignalGroup tests 996s # End of GObject tests 996s ok - glib/signalgroup.test 996s # Running test: glib/collate.test 996s TAP version 14 996s # random seed: R02S01a55d2829ee15444451db395e60e1f7 996s 1..9 996s # Start of unicode tests 996s # Start of collate tests 996s ok 1 /unicode/collate/0 996s ok 2 /unicode/collate/1 996s ok 3 /unicode/collate/2 996s # End of collate tests 996s # Start of collate-key tests 996s ok 4 /unicode/collate-key/0 996s ok 5 /unicode/collate-key/1 996s ok 6 /unicode/collate-key/2 996s # End of collate-key tests 996s # Start of collate-filename tests 996s ok 7 /unicode/collate-filename/0 996s ok 8 /unicode/collate-filename/1 996s ok 9 /unicode/collate-filename/2 996s # End of collate-filename tests 996s # End of unicode tests 996s ok - glib/collate.test 996s # Running test: glib/timeout.test 996s TAP version 14 996s # random seed: R02S1f05ba216faa52bbc68ba967970e07ad 996s 1..5 996s # Start of timeout tests 996s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 998s ok 1 /timeout/seconds 998s # slow test /timeout/seconds executed in 2.10 secs 1001s ok 2 /timeout/seconds-once 1001s # slow test /timeout/seconds-once executed in 2.10 secs 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1001s # Executing: glib/timeout.test 1003s ok 3 /timeout/weeks-overflow 1003s # slow test /timeout/weeks-overflow executed in 2.10 secs 1003s ok 4 /timeout/far-future-ready-time 1006s # Executing: glib/timeout.test 1011s # Executing: glib/timeout.test 1013s ok - glib/timeout.test 1013s # Running test: glib/timer.test 1013s ok - glib/timer.test 1013s ok 5 /timeout/rounding 1013s # slow test /timeout/rounding executed in 10.05 secs 1013s # End of timeout tests 1013s TAP version 14 1013s # random seed: R02S3d3e6b51121501704f04e73b249a44a9 1013s 1..10 1013s # Start of timer tests 1013s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1013s ok 2 /timer/stop 1013s ok 3 /timer/continue 1013s ok 4 /timer/reset 1013s ok 5 /timer/is_active 1013s # End of timer tests 1013s # Start of timeval tests 1013s ok 6 /timeval/add 1013s ok 7 /timeval/from-iso8601 1013s ok 8 /timeval/to-iso8601 1013s # Start of to-iso8601 tests 1013s ok 9 /timeval/to-iso8601/overflow 1013s # End of to-iso8601 tests 1013s # End of timeval tests 1013s # Start of usleep tests 1013s ok 10 /usleep/with-zero-wait 1013s # End of usleep tests 1013s # Running test: glib/glistmodel.test 1013s ok - glib/glistmodel.test 1013s # Running test: glib/qdata.test 1013s TAP version 14 1013s # random seed: R02S6c5156481b2f534f42e1eff4b391de5a 1013s 1..18 1013s # Start of glistmodel tests 1013s # Start of store tests 1013s ok 1 /glistmodel/store/properties 1013s ok 2 /glistmodel/store/non-gobjects 1013s ok 3 /glistmodel/store/boundaries 1013s ok 4 /glistmodel/store/refcounts 1013s ok 5 /glistmodel/store/sorted 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1013s ok 6 /glistmodel/store/splice-replace-middle 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1013s ok 7 /glistmodel/store/splice-replace-all 1013s ok 8 /glistmodel/store/splice-noop 1013s ok 9 /glistmodel/store/splice-remove-multiple 1013s ok 10 /glistmodel/store/splice-add-multiple 1013s ok 11 /glistmodel/store/splice-wrong-type 1013s ok 12 /glistmodel/store/item-type 1013s ok 13 /glistmodel/store/remove-all 1013s ok 14 /glistmodel/store/sort 1013s ok 15 /glistmodel/store/get-item-cache 1013s ok 16 /glistmodel/store/items-changed 1013s ok 17 /glistmodel/store/past-end 1013s ok 18 /glistmodel/store/find 1013s # End of store tests 1013s # End of glistmodel tests 1013s TAP version 14 1013s # random seed: R02S2ba8e3f350623588d8cbae77658d611c 1013s 1..2 1013s # Start of qdata tests 1013s ok - glib/qdata.test 1013s ok 1 /qdata/threaded 1013s ok 2 /qdata/dup 1013s # End of qdata tests 1013s # Running test: glib/cxx-17.test 1013s ok - glib/cxx-17.test 1013s # Running test: glib/utils.test 1013s TAP version 14 1013s # random seed: R02Scf7ca93af1fe21394262872453debf92 1013s 1..2 1013s # Start of gtask tests 1013s # 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. 1013s ok 1 /gtask/name 1013s # Start of name tests 1013s # 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. 1013s ok 2 /gtask/name/macro-wrapper 1013s # End of name tests 1013s # End of gtask tests 1013s TAP version 14 1013s # random seed: R02S28bc654c6bbd55d6d92529f387ed2093 1013s 1..41 1013s # Start of utils tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/language-names/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/language-names/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/language-names/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/language-names/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/language-names/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/language-names/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/language-names/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/language-names/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/language-names/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/language-names/.dirs/runtime 1013s ok 1 /utils/language-names 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/locale-variants/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/locale-variants/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/locale-variants/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/locale-variants/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/locale-variants/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/locale-variants/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/locale-variants/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/locale-variants/.dirs/runtime 1013s # Testing locale ‘en’ 1013s # Testing locale ‘sr@latin’ 1013s # Testing locale ‘fr_BE’ 1013s # Testing locale ‘sr_SR@latin’ 1013s # Testing locale ‘sr_SR@latin.UTF-8’ 1013s # Testing locale ‘sr@latin_invalid’ 1013s # Testing locale ‘sr.UTF-8@latin’ 1013s # Testing locale ‘sr.UTF-8_latin’ 1013s # Testing locale ‘sr.UTF-8@latin_invalid’ 1013s ok 2 /utils/locale-variants 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/version/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/version/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/version/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/version/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/version/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/version/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/version/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/version/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/version/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/version/.dirs/runtime 1013s ok 3 /utils/version 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/appname/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/appname/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/appname/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/appname/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/appname/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/appname/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/appname/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/appname/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/appname/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/appname/.dirs/runtime 1013s ok 4 /utils/appname 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/prgname-thread-safety/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/prgname-thread-safety/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/prgname-thread-safety/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/prgname-thread-safety/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/prgname-thread-safety/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/prgname-thread-safety/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/prgname-thread-safety/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/prgname-thread-safety/.dirs/runtime 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1013s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1013s ok 5 /utils/prgname-thread-safety 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/tmpdir/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/tmpdir/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/tmpdir/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/tmpdir/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/tmpdir/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/tmpdir/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/tmpdir/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/tmpdir/.dirs/runtime 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1013s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1013s Unable to clean up temporary directory /tmp/test_utils_RKGFK3/utils/tmpdir: No such file or directory 1013s ok 6 /utils/tmpdir 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/basic_bits/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/basic_bits/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/basic_bits/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/basic_bits/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/basic_bits/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/basic_bits/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/basic_bits/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/basic_bits/.dirs/runtime 1013s ok 7 /utils/basic_bits 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/bits/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/bits/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/bits/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/bits/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/bits/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/bits/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/bits/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/bits/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/bits/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/bits/.dirs/runtime 1013s ok 8 /utils/bits 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/swap/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/swap/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/swap/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/swap/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/swap/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/swap/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/swap/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/swap/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/swap/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/swap/.dirs/runtime 1013s ok 9 /utils/swap 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/find-program/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/find-program/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/find-program/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/find-program/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/find-program/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/find-program/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/find-program/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/find-program/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/find-program/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/find-program/.dirs/runtime 1013s ok 10 /utils/find-program 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/find-program-for-path/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/find-program-for-path/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/find-program-for-path/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/find-program-for-path/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/find-program-for-path/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/find-program-for-path/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/find-program-for-path/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/find-program-for-path/.dirs/runtime 1013s ok 11 /utils/find-program-for-path 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/debug/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/debug/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/debug/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/debug/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/debug/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/debug/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/debug/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/debug/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/debug/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/debug/.dirs/runtime 1013s Unable to clean up temporary directory /tmp/test_utils_RKGFK3/utils/debug: No such file or directory 1013s ok 12 /utils/debug 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/codeset/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/codeset/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/codeset/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/codeset/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/codeset/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/codeset/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/codeset/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/codeset/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/codeset/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/codeset/.dirs/runtime 1013s ok 13 /utils/codeset 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/codeset2/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/codeset2/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/codeset2/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/codeset2/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/codeset2/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/codeset2/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/codeset2/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/codeset2/.dirs/runtime 1013s Unable to clean up temporary directory /tmp/test_utils_RKGFK3/utils/codeset2: No such file or directory 1013s ok 14 /utils/codeset2 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/console-charset/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/console-charset/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/console-charset/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/console-charset/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/console-charset/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/console-charset/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/console-charset/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/console-charset/.dirs/runtime 1013s ok 15 /utils/console-charset 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/gettext/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/gettext/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/gettext/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/gettext/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/gettext/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/gettext/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/gettext/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/gettext/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/gettext/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/gettext/.dirs/runtime 1013s ok 16 /utils/gettext 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/username/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/username/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/username/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/username/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/username/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/username/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/username/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/username/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/username/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/username/.dirs/runtime 1013s ok 17 /utils/username 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/realname/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/realname/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/realname/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/realname/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/realname/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/realname/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/realname/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/realname/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/realname/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/realname/.dirs/runtime 1013s ok 18 /utils/realname 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/hostname/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/hostname/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/hostname/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/hostname/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/hostname/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/hostname/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/hostname/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/hostname/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/hostname/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/hostname/.dirs/runtime 1013s ok 19 /utils/hostname 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/os-info/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/os-info/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/os-info/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/os-info/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/os-info/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/os-info/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/os-info/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/os-info/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/os-info/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/os-info/.dirs/runtime 1013s # NAME: Ubuntu 1013s ok 20 /utils/os-info 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/clear-pointer/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/clear-pointer/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/clear-pointer/.dirs/runtime 1013s ok 21 /utils/clear-pointer 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer-cast/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer-cast/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/clear-pointer-cast/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer-cast/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/clear-pointer-cast/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer-cast/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer-cast/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/clear-pointer-cast/.dirs/runtime 1013s ok 22 /utils/clear-pointer-cast 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/take-pointer/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/take-pointer/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/take-pointer/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/take-pointer/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/take-pointer/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/take-pointer/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/take-pointer/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/take-pointer/.dirs/runtime 1013s ok 23 /utils/take-pointer 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/clear-source/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/clear-source/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/clear-source/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/clear-source/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/clear-source/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/clear-source/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/clear-source/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/clear-source/.dirs/runtime 1013s ok 24 /utils/clear-source 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/misc-mem/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/misc-mem/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/misc-mem/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/misc-mem/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/misc-mem/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/misc-mem/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/misc-mem/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/misc-mem/.dirs/runtime 1013s ok 25 /utils/misc-mem 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/aligned-mem/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/aligned-mem/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/aligned-mem/.dirs/runtime 1013s # /utils/aligned-mem summary: Aligned memory allocator 1013s # Alignment must not be zero 1013s # Alignment must be a power of two 1013s # Alignment must be a multiple of sizeof(void*) 1013s ok 26 /utils/aligned-mem 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/free-sized/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/free-sized/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/free-sized/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/free-sized/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/free-sized/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/free-sized/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/free-sized/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/free-sized/.dirs/runtime 1013s # /utils/free-sized summary: Check that g_free_sized() works 1013s ok 27 /utils/free-sized 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/nullify/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/nullify/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/nullify/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/nullify/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/nullify/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/nullify/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/nullify/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/nullify/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/nullify/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/nullify/.dirs/runtime 1013s ok 28 /utils/nullify 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/atexit/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/atexit/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/atexit/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/atexit/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/atexit/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/atexit/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/atexit/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/atexit/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/atexit/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/atexit/.dirs/runtime 1013s Unable to clean up temporary directory /tmp/test_utils_RKGFK3/utils/atexit: No such file or directory 1013s ok 29 /utils/atexit 1013s ok - glib/utils.test 1013s # Running test: glib/basics-gobject.test 1013s ok - glib/basics-gobject.test 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/check-setuid/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/check-setuid/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/check-setuid/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/check-setuid/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/check-setuid/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/check-setuid/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/check-setuid/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/check-setuid/.dirs/runtime 1013s ok 30 /utils/check-setuid 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/int-limits/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/int-limits/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/int-limits/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/int-limits/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/int-limits/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/int-limits/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/int-limits/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/int-limits/.dirs/runtime 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1013s ok 31 /utils/int-limits 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/clear-list/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/clear-list/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/clear-list/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/clear-list/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/clear-list/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/clear-list/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/clear-list/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/clear-list/.dirs/runtime 1013s ok 32 /utils/clear-list 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/clear-slist/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/clear-slist/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/clear-slist/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/clear-slist/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/clear-slist/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/clear-slist/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/clear-slist/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/clear-slist/.dirs/runtime 1013s ok 33 /utils/clear-slist 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/steal-handle-id/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/steal-handle-id/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/steal-handle-id/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/steal-handle-id/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/steal-handle-id/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/steal-handle-id/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/steal-handle-id/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/steal-handle-id/.dirs/runtime 1013s ok 34 /utils/steal-handle-id 1013s # Start of user-special-dirs tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/desktop/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/desktop/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/user-special-dirs/desktop/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/desktop/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/user-special-dirs/desktop/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/desktop/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/desktop/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/user-special-dirs/desktop/.dirs/runtime 1013s ok 35 /utils/user-special-dirs/desktop 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1013s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1013s Unable to clean up temporary directory /tmp/test_utils_RKGFK3/utils/user-special-dirs/load-unlocked: No such file or directory 1013s ok 36 /utils/user-special-dirs/load-unlocked 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1013s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1013s Unable to clean up temporary directory /tmp/test_utils_RKGFK3/utils/user-special-dirs/reload-leaks: No such file or directory 1013s ok 37 /utils/user-special-dirs/reload-leaks 1013s # End of user-special-dirs tests 1013s # Start of clear-pointer tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer/side-effects/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer/side-effects/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/clear-pointer/side-effects/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer/side-effects/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/clear-pointer/side-effects/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer/side-effects/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/clear-pointer/side-effects/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/clear-pointer/side-effects/.dirs/runtime 1013s ok 38 /utils/clear-pointer/side-effects 1013s # End of clear-pointer tests 1013s # Start of aligned-mem tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/alignment/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/alignment/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/aligned-mem/alignment/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/alignment/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/aligned-mem/alignment/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/alignment/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/alignment/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/aligned-mem/alignment/.dirs/runtime 1013s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1013s ok 39 /utils/aligned-mem/alignment 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/zeroed/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/zeroed/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/aligned-mem/zeroed/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/zeroed/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/aligned-mem/zeroed/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/zeroed/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/zeroed/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/aligned-mem/zeroed/.dirs/runtime 1013s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1013s ok 40 /utils/aligned-mem/zeroed 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/free-sized/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/free-sized/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_RKGFK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_RKGFK3/utils/aligned-mem/free-sized/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/free-sized/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_RKGFK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_RKGFK3/utils/aligned-mem/free-sized/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/free-sized/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_RKGFK3/utils/aligned-mem/free-sized/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_RKGFK3/utils/aligned-mem/free-sized/.dirs/runtime 1013s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1013s ok 41 /utils/aligned-mem/free-sized 1013s # Start of subprocess tests 1013s # End of subprocess tests 1013s # End of aligned-mem tests 1013s # End of utils tests 1013s TAP version 14 1013s # random seed: R02S887e438cb3cc38ebfac86911afe1f8b2 1013s 1..1 1013s # Start of gobject tests 1013s # private data during initialization: 54321 == 54321 1013s # MAIN: emit test-signal: 1013s # ::test_signal default_handler called 1013s # ::test_signal default_handler called 1013s # ::test_signal default_handler called 1013s # signal return: "" 1013s # MAIN: call iface print-string on test and derived object: 1013s # Iface-FOO: "iface-string-from-test-type" from 0xae6c9f676880 1013s # Iface-BAR: "iface-string-from-derived-type" from 0xae6c9f676730 1013s # chaining: 1013s # Iface-FOO: "iface-string-from-derived-type" from 0xae6c9f676730 1013s # private data after initialization: 54321 == 54321 1013s ok 1 /gobject/basics 1013s # End of gobject tests 1013s # Running test: glib/static-link.test 1013s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1013s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1013s and make sure you have glib build dependencies installed, including 1013s meson. 1013s TAP version 14 1013s # random seed: R02Sb1f5bc49296b4477fd9761cc68667ddc 1013s 1..849 1013s # Start of regex tests 1013s ok 1 /regex/properties 1013s ok 2 /regex/class 1013s ok 3 /regex/lookahead 1013s ok 4 /regex/lookbehind 1013s ok 5 /regex/subpattern 1013s ok # SKIP - glib/static-link.test 1013s # Running test: glib/regex.test 1013s ok 6 /regex/condition 1013s ok 7 /regex/recursion 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1013s ok 8 /regex/multiline 1013s ok 9 /regex/explicit-crlf 1013s ok 10 /regex/max-lookbehind 1013s ok 11 /regex/compile-errors 1013s ok 12 /regex/jit-unsupported-matching 1013s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1013s ok 13 /regex/unmatched-named-subpattern 1013s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1013s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1013s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1013s ok 14 /regex/compiled-regex-after-jit-failure 1013s # Start of new tests 1013s ok 15 /regex/new/1 1013s ok 16 /regex/new/2 1013s ok 17 /regex/new/3 1013s ok 18 /regex/new/4 1013s ok 19 /regex/new/5 1013s ok 20 /regex/new/6 1013s ok 21 /regex/new/7 1013s ok 22 /regex/new/8 1013s ok 23 /regex/new/9 1013s ok 24 /regex/new/10 1013s ok 25 /regex/new/11 1013s ok 26 /regex/new/12 1013s ok 27 /regex/new/13 1013s ok 28 /regex/new/14 1013s ok 29 /regex/new/15 1013s ok 30 /regex/new/16 1013s ok 31 /regex/new/17 1013s ok 32 /regex/new/18 1013s ok 33 /regex/new/19 1013s ok 34 /regex/new/71 1013s ok 35 /regex/new/81 1013s ok 36 /regex/new/83 1013s # End of new tests 1013s # Start of new-check-flags tests 1013s ok 37 /regex/new-check-flags/20 1013s ok 38 /regex/new-check-flags/21 1013s ok 39 /regex/new-check-flags/22 1013s ok 40 /regex/new-check-flags/23 1013s ok 41 /regex/new-check-flags/24 1013s ok 42 /regex/new-check-flags/25 1013s ok 43 /regex/new-check-flags/26 1013s ok 44 /regex/new-check-flags/27 1013s ok 45 /regex/new-check-flags/28 1013s ok 46 /regex/new-check-flags/29 1013s ok 47 /regex/new-check-flags/30 1013s ok 48 /regex/new-check-flags/31 1013s ok 49 /regex/new-check-flags/32 1013s ok 50 /regex/new-check-flags/33 1013s ok 51 /regex/new-check-flags/34 1013s ok 52 /regex/new-check-flags/35 1013s ok 53 /regex/new-check-flags/36 1013s # End of new-check-flags tests 1013s # Start of new-fail tests 1013s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating ) 1013s ok 54 /regex/new-fail/37 1013s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating ) 1013s ok 55 /regex/new-fail/38 1013s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class 1013s ok 56 /regex/new-fail/39 1013s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat 1013s ok 57 /regex/new-fail/40 1013s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat 1013s ok 58 /regex/new-fail/41 1013s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 1013s ok 59 /regex/new-fail/42 1013s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 1013s ok 60 /regex/new-fail/43 1013s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 1013s ok 61 /regex/new-fail/44 1013s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 1013s ok 62 /regex/new-fail/45 1013s # 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 1013s ok 63 /regex/new-fail/46 1013s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 1013s ok 64 /regex/new-fail/47 1013s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 1013s ok 65 /regex/new-fail/48 1013s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 1013s ok 66 /regex/new-fail/49 1013s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 1013s ok 67 /regex/new-fail/50 1013s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 1013s ok 68 /regex/new-fail/51 1013s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 1013s ok 69 /regex/new-fail/52 1013s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 1013s ok 70 /regex/new-fail/53 1013s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 1013s ok 71 /regex/new-fail/54 1013s # 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 1013s ok 72 /regex/new-fail/55 1013s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 1013s ok 73 /regex/new-fail/56 1013s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 1013s ok 74 /regex/new-fail/57 1013s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 1013s ok 75 /regex/new-fail/58 1013s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 1013s ok 76 /regex/new-fail/59 1013s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 1013s ok 77 /regex/new-fail/60 1013s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 1013s ok 78 /regex/new-fail/61 1013s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 1013s ok 79 /regex/new-fail/62 1013s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 1013s ok 80 /regex/new-fail/63 1013s # 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 1013s ok 81 /regex/new-fail/64 1013s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 1013s ok 82 /regex/new-fail/65 1013s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 1013s ok 83 /regex/new-fail/66 1013s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 1013s ok 84 /regex/new-fail/67 1013s # 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 1013s ok 85 /regex/new-fail/68 1013s # 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 1013s ok 86 /regex/new-fail/69 1013s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 1013s ok 87 /regex/new-fail/70 1013s # 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 1013s ok 90 /regex/new-fail/74 1013s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 1013s ok 91 /regex/new-fail/75 1013s # 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 1013s ok 92 /regex/new-fail/76 1013s # Compiling pattern /a/ failed with error: Invalid newline flags 1013s ok 93 /regex/new-fail/77 1013s # 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 1013s ok 94 /regex/new-fail/78 1013s # 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 1013s ok 95 /regex/new-fail/79 1013s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 1013s ok 96 /regex/new-fail/80 1013s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 1013s ok 97 /regex/new-fail/82 1013s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 1013s ok 98 /regex/new-fail/84 1013s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 1013s ok 99 /regex/new-fail/85 1013s # 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 1013s ok 100 /regex/new-fail/86 1013s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 1013s ok 101 /regex/new-fail/87 1013s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 1013s ok 102 /regex/new-fail/88 1013s # 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 1013s ok 103 /regex/new-fail/89 1013s # 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 1013s ok 104 /regex/new-fail/90 1013s # 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) 1013s ok 105 /regex/new-fail/91 1013s # 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 1013s ok 106 /regex/new-fail/92 1013s # End of new-fail tests 1013s # Start of match-simple tests 1013s ok 107 /regex/match-simple/93 1013s ok 108 /regex/match-simple/94 1013s ok 109 /regex/match-simple/95 1013s ok 110 /regex/match-simple/96 1013s ok 111 /regex/match-simple/97 1013s ok 112 /regex/match-simple/98 1013s ok 113 /regex/match-simple/99 1013s ok 114 /regex/match-simple/100 1013s ok 115 /regex/match-simple/101 1013s ok 116 /regex/match-simple/102 1013s ok 117 /regex/match-simple/103 1013s ok 118 /regex/match-simple/104 1013s ok 119 /regex/match-simple/105 1013s ok 120 /regex/match-simple/106 1013s ok 121 /regex/match-simple/107 1013s ok 122 /regex/match-simple/108 1013s ok 123 /regex/match-simple/109 1013s ok 124 /regex/match-simple/110 1013s ok 125 /regex/match-simple/111 1013s ok 126 /regex/match-simple/112 1013s ok 127 /regex/match-simple/113 1013s ok 128 /regex/match-simple/114 1013s ok 129 /regex/match-simple/115 1013s ok 130 /regex/match-simple/116 1013s ok 131 /regex/match-simple/117 1013s ok 132 /regex/match-simple/118 1013s ok 133 /regex/match-simple/119 1013s ok 134 /regex/match-simple/120 1013s ok 135 /regex/match-simple/121 1013s ok 136 /regex/match-simple/122 1013s ok 137 /regex/match-simple/123 1013s ok 138 /regex/match-simple/124 1013s ok 139 /regex/match-simple/125 1013s ok 140 /regex/match-simple/126 1013s ok 141 /regex/match-simple/127 1013s ok 142 /regex/match-simple/128 1013s ok 143 /regex/match-simple/129 1013s ok 144 /regex/match-simple/130 1013s ok 145 /regex/match-simple/131 1013s ok 146 /regex/match-simple/132 1013s ok 147 /regex/match-simple/133 1013s ok 148 /regex/match-simple/134 1013s ok 149 /regex/match-simple/135 1013s ok 150 /regex/match-simple/136 1013s ok 151 /regex/match-simple/137 1013s ok 152 /regex/match-simple/138 1013s ok 153 /regex/match-simple/139 1013s ok 154 /regex/match-simple/140 1013s ok 155 /regex/match-simple/141 1013s ok 156 /regex/match-simple/142 1013s ok 157 /regex/match-simple/143 1013s ok 158 /regex/match-simple/144 1013s ok 159 /regex/match-simple/145 1013s ok 160 /regex/match-simple/146 1013s ok 161 /regex/match-simple/147 1013s ok 162 /regex/match-simple/148 1013s ok 163 /regex/match-simple/149 1013s ok 164 /regex/match-simple/150 1013s ok 165 /regex/match-simple/151 1013s ok 166 /regex/match-simple/152 1013s ok 167 /regex/match-simple/153 1013s ok 168 /regex/match-simple/154 1013s ok 169 /regex/match-simple/155 1013s ok 170 /regex/match-simple/156 1013s ok 171 /regex/match-simple/157 1013s ok 172 /regex/match-simple/158 1013s ok 173 /regex/match-simple/159 1013s ok 174 /regex/match-simple/160 1013s ok 175 /regex/match-simple/161 1013s ok 176 /regex/match-simple/162 1013s ok 177 /regex/match-simple/163 1013s ok 178 /regex/match-simple/164 1013s ok 179 /regex/match-simple/165 1013s # End of match-simple tests 1013s # Start of match-simple-optimized tests 1013s ok 180 /regex/match-simple-optimized/93 1013s ok 181 /regex/match-simple-optimized/94 1013s ok 182 /regex/match-simple-optimized/95 1013s ok 183 /regex/match-simple-optimized/96 1013s ok 184 /regex/match-simple-optimized/97 1013s ok 185 /regex/match-simple-optimized/98 1013s ok 186 /regex/match-simple-optimized/99 1013s ok 187 /regex/match-simple-optimized/100 1013s ok 188 /regex/match-simple-optimized/101 1013s ok 189 /regex/match-simple-optimized/102 1013s ok 190 /regex/match-simple-optimized/103 1013s ok 191 /regex/match-simple-optimized/104 1013s ok 192 /regex/match-simple-optimized/105 1013s ok 193 /regex/match-simple-optimized/106 1013s ok 194 /regex/match-simple-optimized/107 1013s ok 195 /regex/match-simple-optimized/108 1013s ok 196 /regex/match-simple-optimized/109 1013s ok 197 /regex/match-simple-optimized/110 1013s ok 198 /regex/match-simple-optimized/111 1013s ok 199 /regex/match-simple-optimized/112 1013s ok 200 /regex/match-simple-optimized/113 1013s ok 201 /regex/match-simple-optimized/114 1013s ok 202 /regex/match-simple-optimized/115 1013s ok 203 /regex/match-simple-optimized/116 1013s ok 204 /regex/match-simple-optimized/117 1013s ok 205 /regex/match-simple-optimized/118 1013s ok 206 /regex/match-simple-optimized/119 1013s ok 207 /regex/match-simple-optimized/120 1013s ok 208 /regex/match-simple-optimized/121 1013s ok 209 /regex/match-simple-optimized/122 1013s ok 210 /regex/match-simple-optimized/123 1013s ok 211 /regex/match-simple-optimized/124 1013s ok 212 /regex/match-simple-optimized/125 1013s ok 213 /regex/match-simple-optimized/126 1013s ok 214 /regex/match-simple-optimized/127 1013s ok 215 /regex/match-simple-optimized/128 1013s ok 216 /regex/match-simple-optimized/129 1013s ok 217 /regex/match-simple-optimized/130 1013s ok 218 /regex/match-simple-optimized/131 1013s ok 219 /regex/match-simple-optimized/132 1013s ok 220 /regex/match-simple-optimized/133 1013s ok 221 /regex/match-simple-optimized/134 1013s ok 222 /regex/match-simple-optimized/135 1013s ok 223 /regex/match-simple-optimized/136 1013s ok 224 /regex/match-simple-optimized/137 1013s ok 225 /regex/match-simple-optimized/138 1013s ok 226 /regex/match-simple-optimized/139 1013s ok 227 /regex/match-simple-optimized/140 1013s ok 228 /regex/match-simple-optimized/141 1013s ok 229 /regex/match-simple-optimized/142 1013s ok 230 /regex/match-simple-optimized/143 1013s ok 231 /regex/match-simple-optimized/144 1013s ok 232 /regex/match-simple-optimized/145 1013s ok 233 /regex/match-simple-optimized/146 1013s ok 234 /regex/match-simple-optimized/147 1013s ok 235 /regex/match-simple-optimized/148 1013s ok 236 /regex/match-simple-optimized/149 1013s ok 237 /regex/match-simple-optimized/150 1013s ok 238 /regex/match-simple-optimized/151 1013s ok 239 /regex/match-simple-optimized/152 1013s ok 240 /regex/match-simple-optimized/153 1013s ok 241 /regex/match-simple-optimized/154 1013s ok 242 /regex/match-simple-optimized/155 1013s ok 243 /regex/match-simple-optimized/156 1013s ok 244 /regex/match-simple-optimized/157 1013s ok 245 /regex/match-simple-optimized/158 1013s ok 246 /regex/match-simple-optimized/159 1013s ok 247 /regex/match-simple-optimized/160 1013s ok 248 /regex/match-simple-optimized/161 1013s ok 249 /regex/match-simple-optimized/162 1013s ok 250 /regex/match-simple-optimized/163 1013s ok 251 /regex/match-simple-optimized/164 1013s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1013s ok 252 /regex/match-simple-optimized/165 1013s # End of match-simple-optimized tests 1013s # Start of match tests 1013s ok 253 /regex/match/166 1013s ok 254 /regex/match/167 1013s ok 255 /regex/match/168 1013s ok 256 /regex/match/169 1013s ok 257 /regex/match/170 1013s ok 258 /regex/match/171 1013s ok 259 /regex/match/172 1013s ok 260 /regex/match/173 1013s ok 261 /regex/match/174 1013s ok 262 /regex/match/175 1013s ok 263 /regex/match/176 1013s ok 264 /regex/match/177 1013s ok 265 /regex/match/178 1013s ok 266 /regex/match/179 1013s ok 267 /regex/match/180 1013s ok 268 /regex/match/181 1013s ok 269 /regex/match/182 1013s ok 270 /regex/match/183 1013s ok 271 /regex/match/184 1013s ok 272 /regex/match/185 1013s ok 273 /regex/match/186 1013s ok 274 /regex/match/187 1013s ok 275 /regex/match/188 1013s ok 276 /regex/match/189 1013s ok 277 /regex/match/190 1013s ok 278 /regex/match/191 1013s ok 279 /regex/match/192 1013s ok 280 /regex/match/193 1013s ok 281 /regex/match/194 1013s ok 282 /regex/match/195 1013s ok 283 /regex/match/196 1013s ok 284 /regex/match/197 1013s ok 285 /regex/match/198 1013s ok 286 /regex/match/199 1013s ok 287 /regex/match/200 1013s ok 288 /regex/match/201 1013s ok 289 /regex/match/202 1013s ok 290 /regex/match/203 1013s ok 291 /regex/match/204 1013s ok 292 /regex/match/205 1013s ok 293 /regex/match/206 1013s ok 294 /regex/match/207 1013s ok 295 /regex/match/208 1013s ok 296 /regex/match/209 1013s ok 297 /regex/match/210 1013s ok 298 /regex/match/211 1013s ok 299 /regex/match/212 1013s ok 300 /regex/match/213 1013s ok 301 /regex/match/214 1013s ok 302 /regex/match/215 1013s ok 303 /regex/match/216 1013s ok 304 /regex/match/217 1013s ok 305 /regex/match/218 1013s ok 306 /regex/match/219 1013s ok 307 /regex/match/220 1013s ok 308 /regex/match/221 1013s ok 309 /regex/match/222 1013s ok 310 /regex/match/223 1013s ok 311 /regex/match/224 1013s ok 312 /regex/match/225 1013s ok 313 /regex/match/226 1013s ok 314 /regex/match/227 1013s ok 315 /regex/match/228 1013s ok 316 /regex/match/229 1013s ok 317 /regex/match/230 1013s ok 318 /regex/match/231 1013s ok 319 /regex/match/232 1013s ok 320 /regex/match/233 1013s ok 321 /regex/match/234 1013s ok 322 /regex/match/235 1013s ok 323 /regex/match/236 1013s ok 324 /regex/match/237 1013s ok 325 /regex/match/238 1013s ok 326 /regex/match/239 1013s ok 327 /regex/match/240 1013s ok 328 /regex/match/241 1013s ok 329 /regex/match/242 1013s ok 330 /regex/match/243 1013s ok 331 /regex/match/244 1013s ok 332 /regex/match/245 1013s ok 333 /regex/match/246 1013s ok 334 /regex/match/247 1013s ok 335 /regex/match/partial282 1013s ok 336 /regex/match/partial283 1013s ok 337 /regex/match/partial284 1013s ok 338 /regex/match/partial285 1013s ok 339 /regex/match/partial286 1013s ok 340 /regex/match/partial287 1013s ok 341 /regex/match/partial288 1013s ok 342 /regex/match/partial289 1013s ok 343 /regex/match/partial290 1013s ok 344 /regex/match/partial291 1013s ok 345 /regex/match/partial292 1013s ok 346 /regex/match/partial293 1013s ok 347 /regex/match/partial294 1013s ok 348 /regex/match/partial295 1013s ok 349 /regex/match/partial296 1013s ok 350 /regex/match/partial297 1013s ok 351 /regex/match/partial298 1013s ok 352 /regex/match/partial299 1013s ok 353 /regex/match/partial300 1013s ok 354 /regex/match/partial301 1013s ok 355 /regex/match/partial302 1013s ok 356 /regex/match/partial303 1013s # Start of next0 tests 1013s ok 357 /regex/match/next0/248 1013s ok 358 /regex/match/next0/249 1013s ok 359 /regex/match/next0/250 1013s ok 360 /regex/match/next0/251 1013s # End of next0 tests 1013s # Start of next1 tests 1013s ok 361 /regex/match/next1/252 1013s ok 362 /regex/match/next1/253 1013s ok 363 /regex/match/next1/254 1013s ok 364 /regex/match/next1/255 1013s ok 365 /regex/match/next1/256 1013s # End of next1 tests 1013s # Start of next2 tests 1013s ok 366 /regex/match/next2/257 1013s ok 367 /regex/match/next2/258 1013s ok 368 /regex/match/next2/259 1013s ok 369 /regex/match/next2/260 1013s ok 370 /regex/match/next2/261 1013s ok 371 /regex/match/next2/262 1013s ok 372 /regex/match/next2/263 1013s ok 373 /regex/match/next2/264 1013s # End of next2 tests 1013s # Start of next3 tests 1013s ok 374 /regex/match/next3/265 1013s ok 375 /regex/match/next3/266 1013s ok 376 /regex/match/next3/267 1013s ok 377 /regex/match/next3/268 1013s ok 378 /regex/match/next3/269 1013s ok 379 /regex/match/next3/270 1013s # End of next3 tests 1013s # Start of next4 tests 1013s ok 380 /regex/match/next4/271 1013s # End of next4 tests 1013s # Start of count tests 1013s ok 381 /regex/match/count/272 1013s ok 382 /regex/match/count/273 1013s ok 383 /regex/match/count/274 1013s ok 384 /regex/match/count/275 1013s ok 385 /regex/match/count/276 1013s ok 386 /regex/match/count/277 1013s ok 387 /regex/match/count/278 1013s ok 388 /regex/match/count/279 1013s ok 389 /regex/match/count/280 1013s ok 390 /regex/match/count/281 1013s # End of count tests 1013s # Start of count-optimized tests 1013s ok 391 /regex/match/count-optimized/272 1013s ok 392 /regex/match/count-optimized/273 1013s ok 393 /regex/match/count-optimized/274 1013s ok 394 /regex/match/count-optimized/275 1013s ok 395 /regex/match/count-optimized/276 1013s ok 396 /regex/match/count-optimized/277 1013s ok 397 /regex/match/count-optimized/278 1013s ok 398 /regex/match/count-optimized/279 1013s ok 399 /regex/match/count-optimized/280 1013s ok 400 /regex/match/count-optimized/281 1013s # End of count-optimized tests 1013s # Start of partial-optimized tests 1013s ok 401 /regex/match/partial-optimized/282 1013s ok 402 /regex/match/partial-optimized/283 1013s ok 403 /regex/match/partial-optimized/284 1013s ok 404 /regex/match/partial-optimized/285 1013s ok 405 /regex/match/partial-optimized/286 1013s ok 406 /regex/match/partial-optimized/287 1013s ok 407 /regex/match/partial-optimized/288 1013s ok 408 /regex/match/partial-optimized/289 1013s ok 409 /regex/match/partial-optimized/290 1013s ok 410 /regex/match/partial-optimized/291 1013s ok 411 /regex/match/partial-optimized/292 1013s ok 412 /regex/match/partial-optimized/293 1013s ok 413 /regex/match/partial-optimized/294 1013s ok 414 /regex/match/partial-optimized/295 1013s ok 415 /regex/match/partial-optimized/296 1013s ok 416 /regex/match/partial-optimized/297 1013s ok 417 /regex/match/partial-optimized/298 1013s ok 418 /regex/match/partial-optimized/299 1013s ok 419 /regex/match/partial-optimized/300 1013s ok 420 /regex/match/partial-optimized/301 1013s ok 421 /regex/match/partial-optimized/302 1013s ok 422 /regex/match/partial-optimized/303 1013s # End of partial-optimized tests 1013s # Start of subpattern tests 1013s ok 423 /regex/match/subpattern/304 1013s ok 424 /regex/match/subpattern/305 1013s ok 425 /regex/match/subpattern/306 1013s ok 426 /regex/match/subpattern/307 1013s ok 427 /regex/match/subpattern/308 1013s ok 428 /regex/match/subpattern/309 1013s ok 429 /regex/match/subpattern/310 1013s ok 430 /regex/match/subpattern/311 1013s ok 431 /regex/match/subpattern/312 1013s ok 432 /regex/match/subpattern/313 1013s ok 433 /regex/match/subpattern/314 1013s ok 434 /regex/match/subpattern/315 1013s ok 435 /regex/match/subpattern/316 1013s # Start of named tests 1013s # Start of dupnames tests 1013s ok 436 /regex/match/subpattern/named/dupnames/326 1013s ok 437 /regex/match/subpattern/named/dupnames/327 1013s ok 438 /regex/match/subpattern/named/dupnames/328 1013s ok 439 /regex/match/subpattern/named/dupnames/329 1013s ok 440 /regex/match/subpattern/named/dupnames/330 1013s # End of dupnames tests 1013s # End of named tests 1013s # End of subpattern tests 1013s # Start of subpattern-optimized tests 1013s ok 441 /regex/match/subpattern-optimized/304 1013s ok 442 /regex/match/subpattern-optimized/305 1013s ok 443 /regex/match/subpattern-optimized/306 1013s ok 444 /regex/match/subpattern-optimized/307 1013s ok 445 /regex/match/subpattern-optimized/308 1013s ok 446 /regex/match/subpattern-optimized/309 1013s ok 447 /regex/match/subpattern-optimized/310 1013s ok 448 /regex/match/subpattern-optimized/311 1013s ok 449 /regex/match/subpattern-optimized/312 1013s ok 450 /regex/match/subpattern-optimized/313 1013s ok 451 /regex/match/subpattern-optimized/314 1013s ok 452 /regex/match/subpattern-optimized/315 1013s ok 453 /regex/match/subpattern-optimized/316 1013s # End of subpattern-optimized tests 1013s # Start of named tests 1013s # Start of subpattern tests 1013s ok 454 /regex/match/named/subpattern/317 1013s ok 455 /regex/match/named/subpattern/318 1013s ok 456 /regex/match/named/subpattern/319 1013s ok 457 /regex/match/named/subpattern/320 1013s ok 458 /regex/match/named/subpattern/321 1013s ok 459 /regex/match/named/subpattern/322 1013s ok 460 /regex/match/named/subpattern/323 1013s ok 461 /regex/match/named/subpattern/324 1013s ok 462 /regex/match/named/subpattern/325 1013s ok 463 /regex/match/named/subpattern/331 1013s ok 464 /regex/match/named/subpattern/332 1013s ok 465 /regex/match/named/subpattern/333 1013s ok 466 /regex/match/named/subpattern/334 1013s ok 467 /regex/match/named/subpattern/335 1013s # End of subpattern tests 1013s # End of named tests 1013s # End of match tests 1013s # Start of match-optimized tests 1013s ok 468 /regex/match-optimized/166 1013s ok 469 /regex/match-optimized/167 1013s ok 470 /regex/match-optimized/168 1013s ok 471 /regex/match-optimized/169 1013s ok 472 /regex/match-optimized/170 1013s ok 473 /regex/match-optimized/171 1013s ok 474 /regex/match-optimized/172 1013s ok 475 /regex/match-optimized/173 1013s ok 476 /regex/match-optimized/174 1013s ok 477 /regex/match-optimized/175 1013s ok 478 /regex/match-optimized/176 1013s ok 479 /regex/match-optimized/177 1013s ok 480 /regex/match-optimized/178 1013s ok 481 /regex/match-optimized/179 1013s ok 482 /regex/match-optimized/180 1013s ok 483 /regex/match-optimized/181 1013s ok 484 /regex/match-optimized/182 1013s ok 485 /regex/match-optimized/183 1013s ok 486 /regex/match-optimized/184 1013s ok 487 /regex/match-optimized/185 1013s ok 488 /regex/match-optimized/186 1013s ok 489 /regex/match-optimized/187 1013s ok 490 /regex/match-optimized/188 1013s ok 491 /regex/match-optimized/189 1013s ok 492 /regex/match-optimized/190 1013s ok 493 /regex/match-optimized/191 1013s ok 494 /regex/match-optimized/192 1013s ok 495 /regex/match-optimized/193 1013s ok 496 /regex/match-optimized/194 1013s ok 497 /regex/match-optimized/195 1013s ok 498 /regex/match-optimized/196 1013s ok 499 /regex/match-optimized/197 1013s ok 500 /regex/match-optimized/198 1013s ok 501 /regex/match-optimized/199 1013s ok 502 /regex/match-optimized/200 1013s ok 503 /regex/match-optimized/201 1013s ok 504 /regex/match-optimized/202 1013s ok 505 /regex/match-optimized/203 1013s ok 506 /regex/match-optimized/204 1013s ok 507 /regex/match-optimized/205 1013s ok 508 /regex/match-optimized/206 1013s ok 509 /regex/match-optimized/207 1013s ok 510 /regex/match-optimized/208 1013s ok 511 /regex/match-optimized/209 1013s ok 512 /regex/match-optimized/210 1013s ok 513 /regex/match-optimized/211 1013s ok 514 /regex/match-optimized/212 1013s ok 515 /regex/match-optimized/213 1013s ok 516 /regex/match-optimized/214 1013s ok 517 /regex/match-optimized/215 1013s ok 518 /regex/match-optimized/216 1013s ok 519 /regex/match-optimized/217 1013s ok 520 /regex/match-optimized/218 1013s ok 521 /regex/match-optimized/219 1013s ok 522 /regex/match-optimized/220 1013s ok 523 /regex/match-optimized/221 1013s ok 524 /regex/match-optimized/222 1013s ok 525 /regex/match-optimized/223 1013s ok 526 /regex/match-optimized/224 1013s ok 527 /regex/match-optimized/225 1013s ok 528 /regex/match-optimized/226 1013s ok 529 /regex/match-optimized/227 1013s ok 530 /regex/match-optimized/228 1013s ok 531 /regex/match-optimized/229 1013s ok 532 /regex/match-optimized/230 1013s ok 533 /regex/match-optimized/231 1013s ok 534 /regex/match-optimized/232 1013s ok 535 /regex/match-optimized/233 1013s ok 536 /regex/match-optimized/234 1013s ok 537 /regex/match-optimized/235 1013s ok 538 /regex/match-optimized/236 1013s ok 539 /regex/match-optimized/237 1013s ok 540 /regex/match-optimized/238 1013s ok 541 /regex/match-optimized/239 1013s ok 542 /regex/match-optimized/240 1013s ok 543 /regex/match-optimized/241 1013s ok 544 /regex/match-optimized/242 1013s ok 545 /regex/match-optimized/243 1013s ok 546 /regex/match-optimized/244 1013s ok 547 /regex/match-optimized/245 1013s ok 548 /regex/match-optimized/246 1013s ok 549 /regex/match-optimized/247 1013s # End of match-optimized tests 1013s # Start of fetch-all0 tests 1013s ok 550 /regex/fetch-all0/336 1013s ok 551 /regex/fetch-all0/337 1013s # End of fetch-all0 tests 1013s # Start of fetch-all1 tests 1013s ok 552 /regex/fetch-all1/338 1013s ok 553 /regex/fetch-all1/339 1013s ok 554 /regex/fetch-all1/340 1013s # End of fetch-all1 tests 1013s # Start of fetch-all2 tests 1013s ok 555 /regex/fetch-all2/341 1013s ok 556 /regex/fetch-all2/342 1013s ok 557 /regex/fetch-all2/343 1013s # End of fetch-all2 tests 1013s # Start of fetch-all3 tests 1013s ok 558 /regex/fetch-all3/344 1013s ok 559 /regex/fetch-all3/345 1013s ok 560 /regex/fetch-all3/346 1013s ok 561 /regex/fetch-all3/347 1013s ok 562 /regex/fetch-all3/348 1013s # End of fetch-all3 tests 1013s # Start of split tests 1013s # Start of simple0 tests 1013s ok 563 /regex/split/simple0/349 1013s ok 564 /regex/split/simple0/350 1013s ok 565 /regex/split/simple0/365 1013s ok 566 /regex/split/simple0/366 1013s # End of simple0 tests 1013s # Start of simple1 tests 1013s ok 567 /regex/split/simple1/351 1013s ok 568 /regex/split/simple1/352 1013s # End of simple1 tests 1013s # Start of simple2 tests 1013s ok 569 /regex/split/simple2/353 1013s ok 570 /regex/split/simple2/359 1013s ok 571 /regex/split/simple2/361 1013s # End of simple2 tests 1013s # Start of simple3 tests 1013s ok 572 /regex/split/simple3/354 1013s ok 573 /regex/split/simple3/355 1013s ok 574 /regex/split/simple3/356 1013s ok 575 /regex/split/simple3/357 1013s ok 576 /regex/split/simple3/358 1013s ok 577 /regex/split/simple3/360 1013s ok 578 /regex/split/simple3/362 1013s ok 579 /regex/split/simple3/363 1013s ok 580 /regex/split/simple3/364 1013s # End of simple3 tests 1013s # End of split tests 1013s # Start of split0 tests 1013s ok 581 /regex/split0/367 1013s ok 582 /regex/split0/369 1013s # End of split0 tests 1013s # Start of full-split0 tests 1013s ok 583 /regex/full-split0/368 1013s ok 584 /regex/full-split0/370 1013s ok 585 /regex/full-split0/371 1013s ok 586 /regex/full-split0/372 1013s ok 587 /regex/full-split0/373 1013s # End of full-split0 tests 1013s # Start of split1 tests 1013s ok 588 /regex/split1/374 1013s ok 589 /regex/split1/377 1013s # End of split1 tests 1013s # Start of full-split1 tests 1013s ok 590 /regex/full-split1/375 1013s ok 591 /regex/full-split1/376 1013s ok 592 /regex/full-split1/378 1013s ok 593 /regex/full-split1/379 1013s ok 594 /regex/full-split1/405 1013s # End of full-split1 tests 1013s # Start of split2 tests 1013s ok 595 /regex/split2/380 1013s ok 596 /regex/split2/384 1013s ok 597 /regex/split2/396 1013s # End of split2 tests 1013s # Start of full-split2 tests 1013s ok 598 /regex/full-split2/381 1013s ok 599 /regex/full-split2/382 1013s ok 600 /regex/full-split2/383 1013s ok 601 /regex/full-split2/385 1013s ok 602 /regex/full-split2/397 1013s ok 603 /regex/full-split2/400 1013s ok 604 /regex/full-split2/406 1013s # End of full-split2 tests 1013s # Start of split3 tests 1013s ok 605 /regex/split3/386 1013s ok 606 /regex/split3/388 1013s ok 607 /regex/split3/390 1013s ok 608 /regex/split3/392 1013s ok 609 /regex/split3/394 1013s ok 610 /regex/split3/398 1013s ok 611 /regex/split3/401 1013s ok 612 /regex/split3/403 1013s # End of split3 tests 1013s # Start of full-split3 tests 1013s ok 613 /regex/full-split3/387 1013s ok 614 /regex/full-split3/389 1013s ok 615 /regex/full-split3/391 1013s ok 616 /regex/full-split3/393 1013s ok 617 /regex/full-split3/395 1013s ok 618 /regex/full-split3/399 1013s ok 619 /regex/full-split3/402 1013s ok 620 /regex/full-split3/404 1013s ok 621 /regex/full-split3/407 1013s ok 622 /regex/full-split3/408 1013s # End of full-split3 tests 1013s # Start of check-repacement tests 1013s ok 623 /regex/check-repacement/409 1013s ok 624 /regex/check-repacement/410 1013s ok 625 /regex/check-repacement/411 1013s ok 626 /regex/check-repacement/412 1013s ok 627 /regex/check-repacement/413 1013s ok 628 /regex/check-repacement/414 1013s ok 629 /regex/check-repacement/415 1013s ok 630 /regex/check-repacement/416 1013s # End of check-repacement tests 1013s # Start of expand tests 1013s ok 631 /regex/expand/417 1013s ok 632 /regex/expand/418 1013s ok 633 /regex/expand/419 1013s ok 634 /regex/expand/420 1013s ok 635 /regex/expand/421 1013s ok 636 /regex/expand/422 1013s ok 637 /regex/expand/423 1013s ok 638 /regex/expand/424 1013s ok 639 /regex/expand/425 1013s ok 640 /regex/expand/426 1013s ok 641 /regex/expand/427 1013s ok 642 /regex/expand/428 1013s ok 643 /regex/expand/429 1013s ok 644 /regex/expand/430 1013s ok 645 /regex/expand/431 1013s ok 646 /regex/expand/432 1013s ok 647 /regex/expand/433 1013s ok 648 /regex/expand/434 1013s ok 649 /regex/expand/435 1013s ok 650 /regex/expand/436 1013s ok 651 /regex/expand/437 1013s ok 652 /regex/expand/438 1013s ok 653 /regex/expand/439 1013s ok 654 /regex/expand/440 1013s ok 655 /regex/expand/441 1013s ok 656 /regex/expand/442 1013s ok 657 /regex/expand/443 1013s ok 658 /regex/expand/444 1013s ok 659 /regex/expand/445 1013s ok 660 /regex/expand/446 1013s ok 661 /regex/expand/447 1013s ok 662 /regex/expand/448 1013s ok 663 /regex/expand/449 1013s ok 664 /regex/expand/450 1013s ok 665 /regex/expand/451 1013s ok 666 /regex/expand/452 1013s ok 667 /regex/expand/453 1013s ok 668 /regex/expand/454 1013s ok 669 /regex/expand/455 1013s ok 670 /regex/expand/456 1013s ok 671 /regex/expand/457 1013s ok 672 /regex/expand/458 1013s ok 673 /regex/expand/459 1013s ok 674 /regex/expand/460 1013s ok 675 /regex/expand/461 1013s ok 676 /regex/expand/462 1013s ok 677 /regex/expand/463 1013s ok 678 /regex/expand/464 1013s ok 679 /regex/expand/465 1013s ok 680 /regex/expand/466 1013s ok 681 /regex/expand/467 1013s ok 682 /regex/expand/468 1013s ok 683 /regex/expand/469 1013s ok 684 /regex/expand/470 1013s ok 685 /regex/expand/471 1013s ok 686 /regex/expand/472 1013s ok 687 /regex/expand/473 1013s ok 688 /regex/expand/474 1013s ok 689 /regex/expand/475 1013s ok 690 /regex/expand/476 1013s ok 691 /regex/expand/477 1013s ok 692 /regex/expand/478 1013s ok 693 /regex/expand/479 1013s ok 694 /regex/expand/480 1013s ok 695 /regex/expand/481 1013s ok 696 /regex/expand/482 1013s # End of expand tests 1013s # Start of replace tests 1013s ok 697 /regex/replace/483 1013s ok 698 /regex/replace/484 1013s ok 699 /regex/replace/485 1013s ok 700 /regex/replace/486 1013s ok 701 /regex/replace/487 1013s ok 702 /regex/replace/488 1013s ok 703 /regex/replace/489 1013s ok 704 /regex/replace/490 1013s ok 705 /regex/replace/491 1013s ok 706 /regex/replace/492 1013s ok 707 /regex/replace/493 1013s ok 708 /regex/replace/494 1013s ok 709 /regex/replace/495 1013s ok 710 /regex/replace/496 1013s ok 711 /regex/replace/497 1013s ok 712 /regex/replace/498 1013s ok 713 /regex/replace/499 1013s ok 714 /regex/replace/500 1013s ok 715 /regex/replace/501 1013s ok 716 /regex/replace/502 1013s ok 717 /regex/replace/503 1013s ok 718 /regex/replace/504 1013s ok 719 /regex/replace/505 1013s ok 720 /regex/replace/506 1013s ok 721 /regex/replace/507 1013s ok 722 /regex/replace/508 1013s ok 723 /regex/replace/509 1013s ok 724 /regex/replace/510 1013s # End of replace tests 1013s # Start of replace-optimized tests 1013s ok 725 /regex/replace-optimized/483 1013s ok 726 /regex/replace-optimized/484 1013s ok 727 /regex/replace-optimized/485 1013s ok 728 /regex/replace-optimized/486 1013s ok 729 /regex/replace-optimized/487 1013s ok 730 /regex/replace-optimized/488 1013s ok 731 /regex/replace-optimized/489 1013s ok 732 /regex/replace-optimized/490 1013s ok 733 /regex/replace-optimized/491 1013s ok 734 /regex/replace-optimized/492 1013s ok 735 /regex/replace-optimized/493 1013s ok 736 /regex/replace-optimized/494 1013s ok 737 /regex/replace-optimized/495 1013s ok 738 /regex/replace-optimized/496 1013s ok 739 /regex/replace-optimized/497 1013s ok 740 /regex/replace-optimized/498 1013s ok 741 /regex/replace-optimized/499 1013s ok 742 /regex/replace-optimized/500 1013s ok 743 /regex/replace-optimized/501 1013s ok 744 /regex/replace-optimized/502 1013s ok 745 /regex/replace-optimized/503 1013s ok 746 /regex/replace-optimized/504 1013s ok 747 /regex/replace-optimized/505 1013s ok 748 /regex/replace-optimized/506 1013s ok 749 /regex/replace-optimized/507 1013s ok 750 /regex/replace-optimized/508 1013s ok 751 /regex/replace-optimized/509 1013s ok 752 /regex/replace-optimized/510 1013s # End of replace-optimized tests 1013s # Start of replace-literally tests 1013s ok 753 /regex/replace-literally/511 1013s ok 754 /regex/replace-literally/512 1013s ok 755 /regex/replace-literally/513 1013s ok 756 /regex/replace-literally/514 1013s ok 757 /regex/replace-literally/515 1013s ok 758 /regex/replace-literally/516 1013s ok 759 /regex/replace-literally/517 1013s ok 760 /regex/replace-literally/518 1013s ok 761 /regex/replace-literally/519 1013s ok 762 /regex/replace-literally/520 1013s ok 763 /regex/replace-literally/521 1013s ok 764 /regex/replace-literally/522 1013s ok 765 /regex/replace-literally/523 1013s ok 766 /regex/replace-literally/524 1013s ok 767 /regex/replace-literally/525 1013s ok 768 /regex/replace-literally/526 1013s ok 769 /regex/replace-literally/527 1013s ok 770 /regex/replace-literally/528 1013s ok 771 /regex/replace-literally/529 1013s ok 772 /regex/replace-literally/530 1013s # End of replace-literally tests 1013s # Start of string-number tests 1013s ok 773 /regex/string-number/531 1013s ok 774 /regex/string-number/532 1013s ok 775 /regex/string-number/533 1013s ok 776 /regex/string-number/534 1013s ok 777 /regex/string-number/535 1013s ok 778 /regex/string-number/536 1013s ok 779 /regex/string-number/537 1013s ok 780 /regex/string-number/538 1013s ok 781 /regex/string-number/539 1013s ok 782 /regex/string-number/540 1013s ok 783 /regex/string-number/541 1013s ok 784 /regex/string-number/542 1013s ok 785 /regex/string-number/543 1013s ok 786 /regex/string-number/544 1013s ok 787 /regex/string-number/545 1013s # End of string-number tests 1013s # Start of escape_nul tests 1013s ok 788 /regex/escape_nul/546 1013s ok 789 /regex/escape_nul/547 1013s ok 790 /regex/escape_nul/548 1013s ok 791 /regex/escape_nul/549 1013s ok 792 /regex/escape_nul/550 1013s ok 793 /regex/escape_nul/551 1013s ok 794 /regex/escape_nul/552 1013s ok 795 /regex/escape_nul/553 1013s ok 796 /regex/escape_nul/554 1013s ok 797 /regex/escape_nul/555 1013s ok 798 /regex/escape_nul/556 1013s ok 799 /regex/escape_nul/557 1013s ok 800 /regex/escape_nul/558 1013s ok 801 /regex/escape_nul/559 1013s ok 802 /regex/escape_nul/560 1013s # End of escape_nul tests 1013s # Start of escape tests 1013s ok 803 /regex/escape/561 1013s ok 804 /regex/escape/562 1013s ok 805 /regex/escape/563 1013s ok 806 /regex/escape/564 1013s ok 807 /regex/escape/565 1013s ok 808 /regex/escape/566 1013s ok 809 /regex/escape/567 1013s ok 810 /regex/escape/568 1013s ok 811 /regex/escape/569 1013s ok 812 /regex/escape/570 1013s ok 813 /regex/escape/571 1013s ok 814 /regex/escape/572 1013s ok 815 /regex/escape/573 1013s ok 816 /regex/escape/574 1013s ok 817 /regex/escape/575 1013s ok 818 /regex/escape/576 1013s ok 819 /regex/escape/577 1013s ok 820 /regex/escape/578 1013s # End of escape tests 1013s # Start of match-all0 tests 1013s ok 821 /regex/match-all0/579 1013s ok 822 /regex/match-all0/581 1013s # End of match-all0 tests 1013s # Start of match-all-full0 tests 1013s ok 823 /regex/match-all-full0/580 1013s ok 824 /regex/match-all-full0/582 1013s ok 825 /regex/match-all-full0/583 1013s ok 826 /regex/match-all-full0/584 1013s # End of match-all-full0 tests 1013s # Start of match-all1 tests 1013s ok 827 /regex/match-all1/585 1013s ok 828 /regex/match-all1/587 1013s ok 829 /regex/match-all1/592 1013s # End of match-all1 tests 1013s # Start of match-all-full1 tests 1013s ok 830 /regex/match-all-full1/586 1013s ok 831 /regex/match-all-full1/588 1013s ok 832 /regex/match-all-full1/589 1013s ok 833 /regex/match-all-full1/590 1013s ok 834 /regex/match-all-full1/591 1013s ok 835 /regex/match-all-full1/593 1013s # End of match-all-full1 tests 1013s # Start of match-all2 tests 1013s ok 836 /regex/match-all2/594 1013s ok 837 /regex/match-all2/596 1013s ok 838 /regex/match-all2/598 1013s # End of match-all2 tests 1013s # Start of match-all-full2 tests 1013s ok 839 /regex/match-all-full2/595 1013s ok 840 /regex/match-all-full2/597 1013s ok 841 /regex/match-all-full2/599 1013s # End of match-all-full2 tests 1013s # Start of match-all3 tests 1013s ok 842 /regex/match-all3/600 1013s ok 843 /regex/match-all3/602 1013s # End of match-all3 tests 1013s # Start of match-all-full3 tests 1013s ok 844 /regex/match-all-full3/601 1013s ok 845 /regex/match-all-full3/603 1013s # End of match-all-full3 tests 1013s # Start of match-notempty tests 1013s ok 846 /regex/match-notempty/604 1013s # End of match-notempty tests 1013s # Start of match-notempty-optimized tests 1013s ok 847 /regex/match-notempty-optimized/604 1013s # End of match-notempty-optimized tests 1013s # Start of match-notempty-atstart tests 1013s ok 848 /regex/match-notempty-atstart/605 1013s # End of match-notempty-atstart tests 1013s # Start of match-notempty-atstart-optimized tests 1013s ok 849 /regex/match-notempty-atstart-optimized/605 1013s # End of match-notempty-atstart-optimized tests 1013s # End of regex tests 1013s TAP version 14 1013s # random seed: R02Sf579a173d2aa1d8663384edad0d538eb 1013s 1..13 1013s # Start of actions tests 1013s ok 1 /actions/basic 1013s ok 2 /actions/name 1013s ok 3 /actions/simplegroup 1013s ok 4 /actions/stateful 1013s ok 5 /actions/default-activate 1013s ok 6 /actions/entries 1013s ok 7 /actions/parse-detailed 1013s ok 8 /actions/property 1013s ok 9 /actions/no-properties 1013s # Start of dbus tests 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 10 /actions/dbus/export 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s ok - glib/regex.test 1013s # Running test: glib/actions.test 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 11 /actions/dbus/threaded 1014s # slow test /actions/dbus/threaded executed in 1.19 secs 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 12 /actions/dbus/bug679509 1014s # Start of export tests 1014s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1014s ok - glib/actions.test 1014s # Running test: glib/dir.test 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1014s ok 13 /actions/dbus/export/error-handling 1014s # End of export tests 1014s # End of dbus tests 1014s # End of actions tests 1014s TAP version 14 1014s # random seed: R02S067a4e4e409b72b9496645d3e1b34121 1014s 1..3 1014s # Start of dir tests 1014s ok 1 /dir/read 1014s ok 2 /dir/nonexisting 1014s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1014s ok - glib/dir.test 1014s # Running test: glib/function-info.test 1014s ok - glib/function-info.test 1014s # Running test: glib/network-monitor-race.test 1014s ok 3 /dir/refcounting 1014s # End of dir tests 1014s TAP version 14 1014s # random seed: R02Sd1e3282132e7e28a694d7ff5461a5fcc 1014s 1..1 1014s # Start of function-info tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_QM7BK3/function-info/invoker/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_QM7BK3/function-info/invoker/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_QM7BK3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_QM7BK3/function-info/invoker/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_QM7BK3/function-info/invoker/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_QM7BK3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_QM7BK3/function-info/invoker/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_QM7BK3/function-info/invoker/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_QM7BK3/function-info/invoker/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_QM7BK3/function-info/invoker/.dirs/runtime 1014s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1014s # /function-info/invoker summary: Test preparing a function invoker 1014s ok 1 /function-info/invoker 1014s # End of function-info tests 1014s TAP version 14 1014s # random seed: R02Sbf0ced93e3874b35e8f161b5c4a40b59 1014s 1..1 1014s # Start of network-monitor tests 1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1016s # Executing: glib/network-monitor-race.test 1017s ok - glib/network-monitor-race.test 1017s # Running test: glib/date.test 1017s ok 1 /network-monitor/create-in-thread 1017s # slow test /network-monitor/create-in-thread executed in 2.16 secs 1017s # End of network-monitor tests 1017s TAP version 14 1017s # random seed: R02S5848b8ccc0aa3ef9d5ebe5f5b2931c85 1017s 1..122 1017s # Start of date tests 1017s ok 1 /date/basic 1017s ok 2 /date/empty 1017s ok 3 /date/dmy 1017s ok 4 /date/julian 1017s ok 5 /date/compare 1017s ok 6 /date/dates 1017s ok 7 /date/strftime 1017s ok 8 /date/two-digit-years 1017s ok 9 /date/parse 1017s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1017s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1017s ok 11 /date/month_substring 1017s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1017s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1017s ok 13 /date/clamp 1017s ok 14 /date/order 1017s ok 15 /date/copy 1017s # Vector 0: 0000-00-00, invalid 1017s # Vector 1: 0001-01-01, valid 1017s # Vector 2: 0000-01-01, invalid 1017s # Vector 3: 2000-02-30, invalid 1017s # Vector 4: 2000-02-29, valid 1017s # Vector 5: 2001-02-29, invalid 1017s # Vector 6: 65535-01-01, valid 1017s ok 16 /date/valid-dmy 1017s # Considering 2000-01-01 1017s # Considering 2000-01-07 1017s # Considering 2000-01-08 1017s # Considering 2001-01-01 1017s # Considering 2001-01-07 1017s # Considering 2001-01-08 1017s # Considering 2002-01-01 1017s # Considering 2002-01-07 1017s # Considering 2002-01-08 1017s # Considering 2003-01-01 1017s # Considering 2003-01-07 1017s # Considering 2003-01-08 1017s # Considering 2004-01-01 1017s # Considering 2004-01-07 1017s # Considering 2004-01-08 1017s # Considering 2006-01-01 1017s # Considering 2006-01-07 1017s # Considering 2006-01-08 1017s # Considering 2010-01-01 1017s # Considering 2010-01-07 1017s # Considering 2010-01-08 1017s ok 17 /date/week-of-year 1017s # Start of parse tests 1017s # Test 0 1017s # Test 1 1017s ok 18 /date/parse/invalid 1017s # End of parse tests 1017s # Start of year tests 1017s ok 19 /date/year/1 1017s ok 20 /date/year/2 1017s ok 21 /date/year/3 1017s ok 22 /date/year/4 1017s ok 23 /date/year/5 1017s ok 24 /date/year/6 1017s ok 25 /date/year/7 1017s ok 26 /date/year/8 1017s ok 27 /date/year/9 1017s ok 28 /date/year/10 1017s ok 29 /date/year/11 1017s ok 30 /date/year/12 1017s ok 31 /date/year/13 1017s ok 32 /date/year/14 1017s ok 33 /date/year/98 1017s ok 34 /date/year/99 1017s ok 35 /date/year/100 1017s ok 36 /date/year/101 1017s ok 37 /date/year/102 1017s ok 38 /date/year/103 1017s ok 39 /date/year/397 1017s ok 40 /date/year/398 1017s ok 41 /date/year/399 1017s ok 42 /date/year/400 1017s ok 43 /date/year/401 1017s ok 44 /date/year/402 1017s ok 45 /date/year/403 1017s ok 46 /date/year/404 1017s ok 47 /date/year/405 1017s ok 48 /date/year/406 1017s ok 49 /date/year/1598 1017s ok 50 /date/year/1599 1017s ok 51 /date/year/1600 1017s ok 52 /date/year/1601 1017s ok 53 /date/year/1602 1017s ok 54 /date/year/1650 1017s ok 55 /date/year/1651 1017s ok 56 /date/year/1897 1017s ok 57 /date/year/1898 1017s ok 58 /date/year/1899 1017s ok 59 /date/year/1900 1017s ok 60 /date/year/1901 1017s ok 61 /date/year/1902 1017s ok 62 /date/year/1903 1017s ok 63 /date/year/1961 1017s ok 64 /date/year/1962 1017s ok 65 /date/year/1963 1017s ok 66 /date/year/1964 1017s ok 67 /date/year/1965 1017s ok 68 /date/year/1967 1017s ok 69 /date/year/1968 1017s ok 70 /date/year/1969 1017s ok 71 /date/year/1970 1017s ok 72 /date/year/1971 1017s ok 73 /date/year/1972 1017s ok 74 /date/year/1973 1017s ok 75 /date/year/1974 1017s ok 76 /date/year/1975 1017s ok 77 /date/year/1976 1017s ok 78 /date/year/1977 1017s ok 79 /date/year/1978 1017s ok 80 /date/year/1979 1017s ok 81 /date/year/1980 1017s ok 82 /date/year/1981 1017s ok 83 /date/year/1982 1017s ok 84 /date/year/1983 1017s ok 85 /date/year/1984 1017s ok 86 /date/year/1985 1017s ok 87 /date/year/1986 1017s ok 88 /date/year/1987 1017s ok 89 /date/year/1988 1017s ok 90 /date/year/1989 1017s ok 91 /date/year/1990 1017s ok 92 /date/year/1991 1017s ok 93 /date/year/1992 1017s ok 94 /date/year/1993 1017s ok 95 /date/year/1994 1017s ok 96 /date/year/1995 1017s ok 97 /date/year/1996 1017s ok 98 /date/year/1997 1017s ok 99 /date/year/1998 1017s ok 100 /date/year/1999 1017s ok 101 /date/year/2000 1017s ok 102 /date/year/2001 1017s ok 103 /date/year/2002 1017s ok 104 /date/year/2003 1017s ok 105 /date/year/2004 1017s ok 106 /date/year/2005 1017s ok 107 /date/year/2006 1017s ok 108 /date/year/2007 1017s ok 109 /date/year/2008 1017s ok 110 /date/year/2009 1017s ok 111 /date/year/2010 1017s ok 112 /date/year/2011 1017s ok 113 /date/year/2012 1017s ok 114 /date/year/3000 1017s ok 115 /date/year/3001 1017s ok 116 /date/year/3002 1017s ok 117 /date/year/3998 1017s ok 118 /date/year/3999 1017s ok 119 /date/year/4000 1017s ok 120 /date/year/4001 1017s ok 121 /date/year/4002 1017s ok - glib/date.test 1017s ok 122 /date/year/4003 1017s # End of year tests 1017s # End of date tests 1017s # Running test: glib/io-channel.test 1017s TAP version 14 1017s # random seed: R02S938b1da2082955b4ae59b2599fe7ec8c 1017s 1..2 1017s # Start of io-channel tests 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_V4TOK3/io-channel/read-write/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_V4TOK3/io-channel/read-write/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_V4TOK3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_V4TOK3/io-channel/read-write/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_V4TOK3/io-channel/read-write/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_V4TOK3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_V4TOK3/io-channel/read-write/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_V4TOK3/io-channel/read-write/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_V4TOK3/io-channel/read-write/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_V4TOK3/io-channel/read-write/.dirs/runtime 1017s # Line one 1017s # 1017s # Line two 1017s # 1017s # Line three 1017s # 1017s # /* Hello */ 1017s # 1017s # \x1234\x567890\x6666 1017s # 1017s # read 62 bytes, wrote 62 bytes 1017s ok 1 /io-channel/read-write 1017s # Start of read-line tests 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_V4TOK3/io-channel/read-line/embedded-nuls/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_V4TOK3/io-channel/read-line/embedded-nuls/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_V4TOK3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_V4TOK3/io-channel/read-line/embedded-nuls/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_V4TOK3/io-channel/read-line/embedded-nuls/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_V4TOK3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_V4TOK3/io-channel/read-line/embedded-nuls/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_V4TOK3/io-channel/read-line/embedded-nuls/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_V4TOK3/io-channel/read-line/embedded-nuls/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_V4TOK3/io-channel/read-line/embedded-nuls/.dirs/runtime 1017s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1017s ok 2 /io-channel/read-line/embedded-nuls 1017s # End of read-line tests 1017s # End of io-channel tests 1017s ok - glib/io-channel.test 1017s # Running test: glib/simple-proxy.test 1017s TAP version 14 1017s # random seed: R02Sebceb4fbf7210c146683311dea947159 1017s 1..3 1017s # Start of static-proxy tests 1017s ok 1 /static-proxy/uri 1017s ok 2 /static-proxy/socks 1017s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 1017s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 1017s ok 3 /static-proxy/ignore 1017s # End of static-proxy tests 1017s ok - glib/simple-proxy.test 1017s # Running test: glib/charset.test 1017s TAP version 14 1017s # random seed: R02Se3dbbe9e411397bf9f94d705a394349c 1017s 1..2 1017s # Start of charset tests 1017s # Test 0 1017s # Test 1 1017s # Test 2 1017s # Test 3 1017s ok 1 /charset/language_names_with_category 1017s ok 2 /charset/language_names_with_category_async 1017s # End of charset tests 1017s ok - glib/charset.test 1017s # Running test: glib/onceinit.test 1017s TAP version 14 1017s # random seed: R02S9ee02988f685a6e4474de9c7814fa2c5 1017s 1..1 1017s # Start of thread tests 1017s ok - glib/onceinit.test 1017s ok 1 /thread/onceinit 1017s # End of thread tests 1017s # Running test: glib/print.test 1017s TAP version 14 1017s # random seed: R02S9f613d589b368de454a6c86add70886c 1017s 1..1 1017s ok 1 /print-console # SKIP Testing console output only supported on Windows 1017s ok - glib/print.test 1017s # Running test: glib/socket-listener.test 1017s TAP version 14 1017s # random seed: R02S7e9bb90bc77dd99dd0f31674bc52e30f 1017s 1..4 1017s # Start of socket-listener tests 1017s ok 1 /socket-listener/event-signal 1017s # Start of accept tests 1017s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 1017s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 1017s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1017s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc8df6f1224f0 and GSocketClientAsyncConnectData 0xc8df6f11d980 1017s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1017s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc8df6f124b80 and GSocketClientAsyncConnectData 0xc8df6f1249d0 1017s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1017s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc8df6f1253a0 and GSocketClientAsyncConnectData 0xc8df6f125120 1017s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1017s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc8df6f125c20 and GSocketClientAsyncConnectData 0xc8df6f1259a0 1017s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1017s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc8df6f126440 and GSocketClientAsyncConnectData 0xc8df6f1261c0 1017s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1017s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1017s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc8df6f128980 for GSocketClientAsyncConnectData 0xc8df6f11d980 1017s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1017s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1017s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc8df6f12aaf0 for GSocketClientAsyncConnectData 0xc8df6f1249d0 1017s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1017s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1017s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc8df6f12b2a0 for GSocketClientAsyncConnectData 0xc8df6f125120 1017s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1017s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1017s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc8df6f12b940 for GSocketClientAsyncConnectData 0xc8df6f1259a0 1017s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1017s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1017s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc8df6f128020 for GSocketClientAsyncConnectData 0xc8df6f1261c0 1017s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1017s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1017s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1017s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1017s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1017s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1017s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1017s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1017s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1017s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1017s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1017s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1017s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1017s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1017s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1017s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1017s ok 2 /socket-listener/accept/multi-simultaneously 1017s # End of accept tests 1017s # Start of add-any-inet-port tests 1017s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1017s # Test 0 1017s # Test 1 1017s # Test 2 1017s # Test 3 1017s # Test 4 1017s # Test 5 1017s # Test 6 1017s # Test 7 1017s # Test 8 1017s # Test 9 1017s # Test 10 1017s ok 3 /socket-listener/add-any-inet-port/listen-failures 1017s # End of add-any-inet-port tests 1017s # Start of add-inet-port tests 1017s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1017s # Test 0 1017s # Test 1 1017s # Test 2 1017s # Test 3 1017s # Test 4 1017s # Test 5 1017s # Test 6 1017s # Test 7 1017s # Test 8 1017s # Test 9 1017s # Test 10 1017s ok 4 /socket-listener/add-inet-port/listen-failures 1017s # End of add-inet-port tests 1017s # End of socket-listener tests 1017s ok - glib/socket-listener.test 1017s # Running test: glib/portal-support-flatpak-full.test 1017s ok - glib/portal-support-flatpak-full.test 1017s # Running test: glib/gdbus-proxy-well-known-name.test 1017s TAP version 14 1017s # random seed: R02S75826d98d17d5d734249b8c304291c23 1017s 1..1 1017s # Start of portal-support tests 1017s # Start of flatpak tests 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/runtime 1017s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_BFBMK3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1017s ok 1 /portal-support/flatpak/full 1017s # End of flatpak tests 1017s # End of portal-support tests 1017s TAP version 14 1017s # random seed: R02Sc6af309a690f0aa8dae572762d945507 1017s 1..1 1017s # Start of gdbus tests 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_6A6LK3/gdbus/proxy-well-known-name/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_6A6LK3/gdbus/proxy-well-known-name/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_6A6LK3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_6A6LK3/gdbus/proxy-well-known-name/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_6A6LK3/gdbus/proxy-well-known-name/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_6A6LK3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_6A6LK3/gdbus/proxy-well-known-name/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_6A6LK3/gdbus/proxy-well-known-name/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_6A6LK3/gdbus/proxy-well-known-name/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_6A6LK3/gdbus/proxy-well-known-name/.dirs/runtime 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok 1 /gdbus/proxy-well-known-name 1017s # End of gdbus tests 1017s ok - glib/gdbus-proxy-well-known-name.test 1017s # Running test: glib/param.test 1017s TAP version 14 1017s # random seed: R02Sde3be285cc353389db10ecc068c4c43f 1017s 1..32 1017s # Start of param tests 1017s ok 1 /param/value 1017s ok 2 /param/strings 1017s ok 3 /param/qdata 1017s ok 4 /param/validate 1017s ok 5 /param/convert 1017s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1017s ok 7 /param/default 1017s ok 8 /param/is-valid-name 1017s # Start of invalid-name tests 1017s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1017s ok 9 /param/invalid-name/colon 1017s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1017s ok 10 /param/invalid-name/first-char 1017s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1017s ok - glib/param.test 1017s # Running test: glib/gdbus-method-invocation.test 1017s ok 11 /param/invalid-name/empty 1017s # End of invalid-name tests 1017s # Start of implement tests 1017s # Start of subprocess tests 1017s # End of subprocess tests 1017s # End of implement tests 1017s # End of param tests 1017s # Start of value tests 1017s ok 12 /value/transform 1017s # End of value tests 1017s # Start of paramspec tests 1017s ok 13 /paramspec/char 1017s ok 14 /paramspec/uchar 1017s ok 15 /paramspec/int 1017s ok 16 /paramspec/uint 1017s ok 17 /paramspec/long 1017s ok 18 /paramspec/ulong 1017s ok 19 /paramspec/int64 1017s ok 20 /paramspec/uint64 1017s ok 21 /paramspec/float 1017s ok 22 /paramspec/double 1017s ok 23 /paramspec/unichar 1017s ok 24 /paramspec/param 1017s ok 25 /paramspec/null-param 1017s ok 26 /paramspec/string 1017s ok 27 /paramspec/override 1017s ok 28 /paramspec/gtype 1017s ok 29 /paramspec/variant 1017s ok 30 /paramspec/custom 1017s ok 31 /paramspec/pool 1017s # Start of variant tests 1017s ok 32 /paramspec/variant/cmp 1017s # End of variant tests 1017s # End of paramspec tests 1017s TAP version 14 1017s # random seed: R02S4e7ad4194ab2f410a9efb501f51ddd84 1017s ok - glib/gdbus-method-invocation.test 1017s # Running test: glib/memory-settings-backend.test 1017s 1..1 1017s # Start of gdbus tests 1017s # Start of method-invocation tests 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_EB64J3/gdbus/method-invocation/return/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_EB64J3/gdbus/method-invocation/return/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_EB64J3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_EB64J3/gdbus/method-invocation/return/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_EB64J3/gdbus/method-invocation/return/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_EB64J3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_EB64J3/gdbus/method-invocation/return/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_EB64J3/gdbus/method-invocation/return/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_EB64J3/gdbus/method-invocation/return/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_EB64J3/gdbus/method-invocation/return/.dirs/runtime 1017s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1017s # Calling org.freedesktop.DBus.Properties.Get 1017s # Calling org.freedesktop.DBus.Properties.Get 1017s # Calling org.freedesktop.DBus.Properties.Get 1017s # Calling org.freedesktop.DBus.Properties.Set 1017s # Calling org.freedesktop.DBus.Properties.GetAll 1017s # Calling org.example.Foo.WrongReturnType 1017s # Calling org.example.Foo.GetFDs 1017s # Calling org.example.Foo.GetFDs 1017s # Calling org.example.Foo.ReturnError 1017s # Calling org.example.Foo.CloseBeforeReturning 1017s ok 1 /gdbus/method-invocation/return 1017s # End of method-invocation tests 1017s # End of gdbus tests 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok - glib/memory-settings-backend.test 1017s # Running test: glib/references.test 1017s TAP version 14 1017s # random seed: R02S1af9a0e98726227edd60427a58ab3551 1017s 1..1 1017s # Start of memory-settings-backend tests 1017s ok 1 /memory-settings-backend/extension-point-registered 1017s # End of memory-settings-backend tests 1017s TAP version 14 1017s # random seed: R02S5ceac8cffde6040ce8c042e1961bd356 1017s 1..4 1017s # Start of gobject tests 1017s ok 1 /gobject/references 1017s ok 2 /gobject/references-many 1017s ok 3 /gobject/references_two 1017s ok - glib/references.test 1017s ok 4 /gobject/references_run_dispose 1017s # End of gobject tests 1017s # Running test: glib/cmph-bdz.test 1017s TAP version 14 1017s # random seed: R02Sad933601dc96a7d84d3caad29fc8c9ef 1017s 1..2 1017s # Start of cmph-bdz tests 1017s ok 1 /cmph-bdz/search 1017s ok 2 /cmph-bdz/search-packed 1017s # End of cmph-bdz tests 1017s ok - glib/cmph-bdz.test 1017s # Running test: glib/socket-address.test 1017s TAP version 14 1017s # random seed: R02S6be2f410ff30adf612258b1cb066c015 1017s 1..2 1017s # Start of socket tests 1017s # Start of address tests 1017s # Start of unix tests 1017s ok 1 /socket/address/unix/construct 1017s ok 2 /socket/address/unix/to-string 1017s # End of unix tests 1017s # End of address tests 1017s # End of socket tests 1017s ok - glib/socket-address.test 1017s # Running test: glib/unix.test 1017s TAP version 14 1017s # random seed: R02Sd77ef45abb7bd2dd1dcdb87e81aef0cb 1017s 1..20 1017s # Start of glib-unix tests 1017s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1017s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1017s ok 1 /glib-unix/closefrom 1017s ok 2 /glib-unix/pipe 1017s # /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 1017s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1017s ok 3 /glib-unix/pipe-stdio-overwrite 1017s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1017s ok 4 /glib-unix/pipe-struct 1017s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1017s ok 5 /glib-unix/pipe-struct-auto 1017s ok 6 /glib-unix/error 1017s ok 7 /glib-unix/nonblocking 1018s ok 8 /glib-unix/sighup 1018s # slow test /glib-unix/sighup executed in 0.50 secs 1018s ok 9 /glib-unix/sigterm 1018s # slow test /glib-unix/sigterm executed in 0.50 secs 1019s ok 10 /glib-unix/sighup_again 1019s # slow test /glib-unix/sighup_again executed in 0.50 secs 1019s ok 11 /glib-unix/sighup_add_remove 1019s ok 12 /glib-unix/sighup_nested 1021s # Executing: glib/unix.test 1021s ok 13 /glib-unix/callback_after_signal 1021s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1021s ok 14 /glib-unix/child-wait 1021s # Start of closefrom tests 1021s # Start of subprocess tests 1021s # End of subprocess tests 1021s # End of closefrom tests 1021s # Start of pipe tests 1021s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1021s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1021s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1021s ok 15 /glib-unix/pipe/fd-cloexec 1021s # End of pipe tests 1021s # Start of sighup tests 1022s ok 16 /glib-unix/sighup/alternate-stack 1022s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1022s # End of sighup tests 1022s # Start of sigterm tests 1023s ok 17 /glib-unix/sigterm/alternate-stack 1023s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1023s # End of sigterm tests 1023s # Start of sighup_again tests 1024s ok 18 /glib-unix/sighup_again/alternate-stack 1024s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1024s # End of sighup_again tests 1024s # Start of get-passwd-entry tests 1024s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1024s ok 19 /glib-unix/get-passwd-entry/root 1024s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1024s ok 20 /glib-unix/get-passwd-entry/nonexistent 1024s # End of get-passwd-entry tests 1024s # End of glib-unix tests 1024s TAP version 14 1024s # random seed: R02S5ddd7976110eb774cd3bbdb127087580 1024s 1..1 1024s # Start of glib tests 1024s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1024s ok 1 /glib/642026 1024s # End of glib tests 1024s TAP version 14 1024s # random seed: R02S1bf84dcc9428ed3b585ad1bd019fdee9 1024s 1..2 1024s # Start of uuid tests 1024s ok 1 /uuid/string 1024s ok 2 /uuid/random 1024s # End of uuid tests 1024s TAP version 14 1024s # random seed: R02Sbc17a3f84867edda914c192321f81768 1024s 1..4 1024s # Start of gdbus tests 1024s # Start of exit-on-close tests 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/default/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/default/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/default/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/default/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/default/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/default/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/default/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/default/.dirs/runtime 1024s ok - glib/unix.test 1024s # Running test: glib/642026-ec.test 1024s ok - glib/642026-ec.test 1024s # Running test: glib/guuid.test 1024s ok - glib/guuid.test 1024s # Running test: glib/gdbus-exit-on-close.test 1024s ok 1 /gdbus/exit-on-close/default 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/true/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/true/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/true/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/true/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/true/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/true/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/true/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/true/.dirs/runtime 1024s ok 2 /gdbus/exit-on-close/true 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/false/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/false/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/false/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/false/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/false/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/false/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/false/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/false/.dirs/runtime 1024s ok 3 /gdbus/exit-on-close/false 1024s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/we-close/.dirs/home 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/we-close/.dirs/cache 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/we-close/.dirs/system-config2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/we-close/.dirs/config 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/we-close/.dirs/system-data2 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/we-close/.dirs/data 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/we-close/.dirs/state 1024s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_JTJNK3/gdbus/exit-on-close/we-close/.dirs/runtime 1024s ok 4 /gdbus/exit-on-close/we-close 1024s # Start of default tests 1024s # End of default tests 1024s # Start of true tests 1024s # End of true tests 1024s # Start of false tests 1024s # End of false tests 1024s # Start of we-close tests 1024s # End of we-close tests 1024s # End of exit-on-close tests 1024s # End of gdbus tests 1024s ok - glib/gdbus-exit-on-close.test 1024s # Running test: glib/macros-c-89.test 1024s ok - glib/macros-c-89.test 1024s # Running test: glib/custom-dispatch.test 1024s TAP version 14 1024s # random seed: R02S77dc2c1c747395f205ace1be2a920e1f 1024s 1..4 1024s # Start of C tests 1024s ok 1 /C/standard-89 1024s # End of C tests 1024s # Start of alignof tests 1024s ok 2 /alignof/fallback 1024s # End of alignof tests 1024s # Start of assert tests 1024s ok 3 /assert/static 1024s # End of assert tests 1024s # Start of struct tests 1024s ok 4 /struct/sizeof_member 1024s # End of struct tests 1024s ok - glib/custom-dispatch.test 1024s TAP version 14 1024s # random seed: R02S1bdfc10e46fa6d2b09584d679ce2e5af 1024s 1..2 1024s # Start of properties tests 1024s # Start of custom-dispatch tests 1024s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1024s ok 1 /properties/custom-dispatch/init 1024s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1024s ok 2 /properties/custom-dispatch/set 1024s # End of custom-dispatch tests 1024s # End of properties tests 1024s # Running test: glib/rcbox.test 1024s ok - glib/rcbox.test 1024s TAP version 14 1024s # random seed: R02Sd19c43951d3a900ba598fcc54ef59cb3 1024s 1..8 1024s # Start of rcbox tests 1024s ok 1 /rcbox/new 1024s # global_point = 0xb65fd2a00720 1024s ok 2 /rcbox/release-full 1024s # global_point_a = 0xb65fd2a00720 1024s # global_point_b = 0xb65fd2a007f0 1024s ok 3 /rcbox/dup 1024s ok 4 /rcbox/alignment 1024s # End of rcbox tests 1024s # Start of atomic-rcbox tests 1024s ok 5 /atomic-rcbox/new 1024s # global_point = 0xb65fd2a007f0 1024s ok 6 /atomic-rcbox/release-full 1024s # global_point_a = 0xb65fd2a007f0 1024s # global_point_b = 0xb65fd2a00720 1024s ok 7 /atomic-rcbox/dup 1024s ok 8 /atomic-rcbox/alignment 1024s # End of atomic-rcbox tests 1024s # Running test: glib/cxx-98.test 1024s TAP version 14 1024s # random seed: R02Sfd184a82406ef8c32da9c114cc3146cb 1024s 1..2 1024s # Start of gtask tests 1024s # 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. 1024s ok 1 /gtask/name 1024s # Start of name tests 1024s # 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. 1024s ok 2 /gtask/name/macro-wrapper 1024s # End of name tests 1024s # End of gtask tests 1024s ok - glib/cxx-98.test 1024s # Running test: glib/unicode-normalize.test 1024s TAP version 14 1024s # random seed: R02Sb67288736e8b2bdc01920d62f1a01fc9 1024s 1..3 1024s # Start of unicode tests 1024s # Processing Part0 # Specific cases 1024s # Processing Part1 # Character by character test 1024s # Processing Part2 # Canonical Order Test 1024s ok - glib/unicode-normalize.test 1024s # Running test: glib/slist.test 1024s ok - glib/slist.test 1024s # Running test: glib/mem-overflow.test 1024s # Processing Part3 # PRI #29 Test 1024s # Processing Part4 # Canonical closures (excluding Hangul) 1024s # Processing Part5 # Chained primary composites 1024s ok 1 /unicode/normalize 1024s # Invalid UTF-8 vector 0 1024s # Invalid UTF-8 vector 1 1024s # Invalid UTF-8 vector 2 1024s # Invalid UTF-8 vector 3 1024s # Invalid UTF-8 vector 4 1024s # Invalid UTF-8 vector 5 1024s # Invalid UTF-8 vector 6 1024s # Invalid UTF-8 vector 7 1024s # Invalid UTF-8 vector 8 1024s # Invalid UTF-8 vector 9 1024s # Invalid UTF-8 vector 10 1024s # Invalid UTF-8 vector 11 1024s # Invalid UTF-8 vector 12 1024s ok 2 /unicode/normalize-invalid 1024s # Start of normalize tests 1024s ok 3 /unicode/normalize/bad-length 1024s # End of normalize tests 1024s # End of unicode tests 1024s TAP version 14 1024s # random seed: R02S7370590248b6dd8c82972237ffc09513 1024s 1..14 1024s # Start of slist tests 1024s ok 1 /slist/sort 1024s ok 2 /slist/sort-with-data 1024s ok 3 /slist/insert-sorted 1024s ok 4 /slist/insert-sorted-with-data 1024s ok 5 /slist/reverse 1024s ok 6 /slist/nth 1024s ok 7 /slist/remove 1024s ok 8 /slist/remove-all 1024s ok 9 /slist/insert 1024s ok 10 /slist/position 1024s ok 11 /slist/concat 1024s ok 12 /slist/copy 1024s # Start of sort tests 1024s ok 13 /slist/sort/stable 1024s # End of sort tests 1024s # Start of copy tests 1024s ok 14 /slist/copy/deep 1024s # End of copy tests 1024s # End of slist tests 1024s TAP version 14 1024s # random seed: R02S4207bd8a7dce7e9614275622c082e443 1024s 1..2 1024s # Start of mem tests 1025s ok - glib/mem-overflow.test 1025s # Running test: glib/memory-monitor.test 1025s ok - glib/memory-monitor.test 1025s # Running test: glib/pollable.test 1025s ok - glib/pollable.test 1025s # Running test: glib/gdatetime.test 1025s ok 1 /mem/overflow 1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1025s ok 2 /mem/empty-alloc 1025s # Start of overflow tests 1025s # Start of subprocess tests 1025s # End of subprocess tests 1025s # End of overflow tests 1025s # Start of empty-alloc tests 1025s # End of empty-alloc tests 1025s # End of mem tests 1025s TAP version 14 1025s # random seed: R02S77d44e881dd441f2fb3f7c2286cd4be6 1025s 1..1 1025s # Start of memory-monitor tests 1025s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1025s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 1025s ok 1 /memory-monitor/default 1025s # End of memory-monitor tests 1025s TAP version 14 1025s # random seed: R02Sdd7b8762a8e910f38846410ded54e54c 1025s 1..6 1025s # Start of pollable tests 1025s ok 1 /pollable/converter 1025s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1025s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaacf20442c90 and GSocketClientAsyncConnectData 0xaacf2044f7b0 1025s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1025s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1025s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaacf20445e40 for GSocketClientAsyncConnectData 0xaacf2044f7b0 1025s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1025s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1025s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1025s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1025s ok 2 /pollable/socket 1025s # Start of unix tests 1025s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1025s ok 3 /pollable/unix/pipe 1025s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1025s ok 4 /pollable/unix/pty 1025s # /pollable/unix/file summary: Test that regular files are not considered pollable 1025s ok 5 /pollable/unix/file 1025s # /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 1025s ok 6 /pollable/unix/nulldev 1025s # End of unix tests 1025s # End of pollable tests 1025s TAP version 14 1025s # random seed: R02S508c230edcc0ff8eedbbe49a3ddb4f92 1025s 1..68 1025s # Start of GDateTime tests 1025s # Bug Reference: http://bugzilla.gnome.org/702674 1025s ok 1 /GDateTime/invalid 1025s ok 2 /GDateTime/add_days 1025s ok 3 /GDateTime/add_full 1025s ok 4 /GDateTime/add_hours 1025s ok 5 /GDateTime/add_minutes 1025s ok 6 /GDateTime/add_months 1025s ok 7 /GDateTime/add_seconds 1025s ok 8 /GDateTime/add_weeks 1025s ok 9 /GDateTime/add_years 1025s ok 10 /GDateTime/compare 1025s ok 11 /GDateTime/diff 1025s ok 12 /GDateTime/equal 1025s ok 13 /GDateTime/get_day_of_week 1025s ok 14 /GDateTime/get_day_of_month 1025s ok 15 /GDateTime/get_day_of_year 1025s ok 16 /GDateTime/get_hour 1025s ok 17 /GDateTime/get_microsecond 1025s ok 18 /GDateTime/get_minute 1025s ok 19 /GDateTime/get_month 1025s ok 20 /GDateTime/get_second 1025s ok 21 /GDateTime/get_utc_offset 1025s ok 22 /GDateTime/get_year 1025s ok 23 /GDateTime/hash 1025s ok 24 /GDateTime/new_from_unix 1025s ok 25 /GDateTime/new_from_unix_utc 1025s ok 26 /GDateTime/new_from_timeval 1025s ok 27 /GDateTime/new_from_timeval_utc 1025s ok 28 /GDateTime/new_from_iso8601 1025s ok 29 /GDateTime/new_full 1025s ok 30 /GDateTime/now 1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1025s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1025s # %a -> expected: Sat 1025s # %a -> actual: Sat 1025s # %A -> expected: Saturday 1025s # %A -> actual: Saturday 1025s # %b -> expected: Oct 1025s # %b -> actual: Oct 1025s # %B -> expected: October 1025s # %B -> actual: October 1025s # %d -> expected: 24 1025s # %d -> actual: 24 1025s # %d -> expected: 01 1025s # %d -> actual: 01 1025s # %e -> expected: 24 1025s # %e -> actual: 24 1025s # %e -> expected:  1 1025s # %e -> actual:  1 1025s # %f -> expected: 001000 1025s # %f -> actual: 001000 1025s # %h -> expected: Oct 1025s # %h -> actual: Oct 1025s # %H -> expected: 00 1025s # %H -> actual: 00 1025s # %H -> expected: 15 1025s # %H -> actual: 15 1025s # %I -> expected: 12 1025s # %I -> actual: 12 1025s # %I -> expected: 12 1025s # %I -> actual: 12 1025s # %I -> expected: 03 1025s # %I -> actual: 03 1025s # %j -> expected: 297 1025s # %j -> actual: 297 1025s # %k -> expected:  0 1025s # %k -> actual:  0 1025s # %k -> expected: 13 1025s # %k -> actual: 13 1025s # %l -> expected: 12 1025s # %l -> actual: 12 1025s # %I -> expected: 12 1025s # %I -> actual: 12 1025s # %l -> expected:  1 1025s # %l -> actual:  1 1025s # %l -> expected: 10 1025s # %l -> actual: 10 1025s # %m -> expected: 10 1025s # %m -> actual: 10 1025s # %M -> expected: 00 1025s # %M -> actual: 00 1025s # %p -> expected: AM 1025s # %p -> actual: AM 1025s # %p -> expected: PM 1025s # %p -> actual: PM 1025s # %P -> expected: am 1025s # %P -> actual: am 1025s # %P -> expected: pm 1025s # %P -> actual: pm 1025s # %r -> expected: 12:00:00 AM 1025s # %r -> actual: 12:00:00 AM 1025s # %r -> expected: 01:13:13 PM 1025s # %r -> actual: 01:13:13 PM 1025s # %R -> expected: 00:00 1025s # %R -> actual: 00:00 1025s # %R -> expected: 13:13 1025s # %R -> actual: 13:13 1025s # %S -> expected: 00 1025s # %S -> actual: 00 1025s # %t -> expected: 1025s # %t -> actual: 1025s # %u -> expected: 6 1025s # %u -> actual: 6 1025s # %x -> expected: 10/24/09 1025s # %x -> actual: 10/24/09 1025s # %X -> expected: 00:00:00 1025s # %X -> actual: 00:00:00 1025s # %X -> expected: 13:14:15 1025s # %X -> actual: 13:14:15 1025s # %y -> expected: 09 1025s # %y -> actual: 09 1025s # %Y -> expected: 2009 1025s # %Y -> actual: 2009 1025s # %% -> expected: % 1025s # %% -> actual: % 1025s # % -> expected: 1025s # % -> actual: 1025s # %9 -> expected: (null) 1025s # %9 -> actual: (null) 1025s # %Z -> expected: UTC 1025s # %Z -> actual: UTC 1025s # %#Z %Z -> expected: utc UTC 1025s # %#Z %Z -> actual: utc UTC 1025s ok 32 /GDateTime/printf 1025s # %a -> expected: 土 1025s # %a -> actual: 土 1025s # %A -> expected: 土曜日 1025s # %A -> actual: 土曜日 1025s # %b -> expected: 10月 1025s # %b -> actual: 10月 1025s # %B -> expected: 10月 1025s # %B -> actual: 10月 1025s # %c -> expected: 2009年10月24日 00時00分00秒 1025s # %c -> actual: 2009年10月24日 00時00分00秒 1025s # %C -> expected: 20 1025s # %C -> actual: 20 1025s # %d -> expected: 24 1025s # %d -> actual: 24 1025s # %d -> expected: 01 1025s # %d -> actual: 01 1025s # %e -> expected: 24 1025s # %e -> actual: 24 1025s # %h -> expected: 10月 1025s # %h -> actual: 10月 1025s # %H -> expected: 00 1025s # %H -> actual: 00 1025s # %H -> expected: 15 1025s # %H -> actual: 15 1025s # %I -> expected: 12 1025s # %I -> actual: 12 1025s # %I -> expected: 12 1025s # %I -> actual: 12 1025s # %I -> expected: 03 1025s # %I -> actual: 03 1025s # %j -> expected: 297 1025s # %j -> actual: 297 1025s # %k -> expected:  0 1025s # %k -> actual:  0 1025s # %k -> expected: 13 1025s # %k -> actual: 13 1025s # %l -> expected: 12 1025s # %l -> actual: 12 1025s # %I -> expected: 12 1025s # %I -> actual: 12 1025s # %l -> expected:  1 1025s # %l -> actual:  1 1025s # %l -> expected: 10 1025s # %l -> actual: 10 1025s # %m -> expected: 10 1025s # %m -> actual: 10 1025s # %M -> expected: 00 1025s # %M -> actual: 00 1025s # %p -> expected: 午前 1025s # %p -> actual: 午前 1025s # %p -> expected: 午後 1025s # %p -> actual: 午後 1025s # %P -> expected: 午前 1025s # %P -> actual: 午前 1025s # %P -> expected: 午後 1025s # %P -> actual: 午後 1025s # %r -> expected: 午前12時00分00秒 1025s # %r -> actual: 午前12時00分00秒 1025s # %r -> expected: 午後01時13分13秒 1025s # %r -> actual: 午後01時13分13秒 1025s # %R -> expected: 00:00 1025s # %R -> actual: 00:00 1025s # %R -> expected: 13:13 1025s # %R -> actual: 13:13 1025s # %S -> expected: 00 1025s # %S -> actual: 00 1025s # %t -> expected: 1025s # %t -> actual: 1025s # %u -> expected: 6 1025s # %u -> actual: 6 1025s # %x -> expected: 2009年10月24日 1025s # %x -> actual: 2009年10月24日 1025s # %X -> expected: 00時00分00秒 1025s # %X -> actual: 00時00分00秒 1025s # %X -> expected: 13時14分15秒 1025s # %X -> actual: 13時14分15秒 1025s # %y -> expected: 09 1025s # %y -> actual: 09 1025s # %Y -> expected: 2009 1025s # %Y -> actual: 2009 1025s # %% -> expected: % 1025s # %% -> actual: % 1025s # % -> expected: 1025s # % -> actual: 1025s # %9 -> expected: (null) 1025s # %9 -> actual: (null) 1025s # %Ec -> expected: 平成21年10月24日 00時00分00秒 1025s # %Ec -> actual: 平成21年10月24日 00時00分00秒 1025s # %EC -> expected: 平成 1025s # %EC -> actual: 平成 1025s # %Ex -> expected: 平成21年10月24日 1025s # %Ex -> actual: 平成21年10月24日 1025s # %EX -> expected: 00時00分00秒 1025s # %EX -> actual: 00時00分00秒 1025s # %Ey -> expected: 21 1025s # %Ey -> actual: 21 1025s # %EY -> expected: 平成21年 1025s # %EY -> actual: 平成21年 1025s ok 33 /GDateTime/non_utf8_printf 1025s # ąśćł -> expected: ąśćł 1025s # ąśćł -> actual: ąśćł 1025s # %H∶%M -> expected: 23∶15 1025s # %H∶%M -> actual: 23∶15 1025s # %H∶%M -> expected: 23∶15 1025s # %H∶%M -> actual: 23∶15 1025s ok 34 /GDateTime/format_unrepresentable 1025s ok 35 /GDateTime/format_iso8601 1025s ok 36 /GDateTime/strftime 1025s # %d -> expected: 01 1025s # %d -> actual: 01 1025s # %_d -> expected: 1 1025s # %_d -> actual: 1 1025s # %-d -> expected: 1 1025s # %-d -> actual: 1 1025s # %0d -> expected: 01 1025s # %0d -> actual: 01 1025s # %d -> expected: 21 1025s # %d -> actual: 21 1025s # %_d -> expected: 21 1025s # %_d -> actual: 21 1025s # %-d -> expected: 21 1025s # %-d -> actual: 21 1025s # %0d -> expected: 21 1025s # %0d -> actual: 21 1025s # %e -> expected:  1 1025s # %e -> actual:  1 1025s # %_e -> expected: 1 1025s # %_e -> actual: 1 1025s # %-e -> expected: 1 1025s # %-e -> actual: 1 1025s # %0e -> expected: 01 1025s # %0e -> actual: 01 1025s # %e -> expected: 21 1025s # %e -> actual: 21 1025s # %_e -> expected: 21 1025s # %_e -> actual: 21 1025s # %-e -> expected: 21 1025s # %-e -> actual: 21 1025s # %0e -> expected: 21 1025s # %0e -> actual: 21 1025s # %a -> expected: Thu 1025s # %a -> actual: Thu 1025s # %^a -> expected: THU 1025s # %^a -> actual: THU 1025s # %#a -> expected: THU 1025s # %#a -> actual: THU 1025s # %A -> expected: Thursday 1025s # %A -> actual: Thursday 1025s # %^A -> expected: THURSDAY 1025s # %^A -> actual: THURSDAY 1025s # %#A -> expected: THURSDAY 1025s # %#A -> actual: THURSDAY 1025s # %b -> expected: Jan 1025s # %b -> actual: Jan 1025s # %^b -> expected: JAN 1025s # %^b -> actual: JAN 1025s # %#b -> expected: JAN 1025s # %#b -> actual: JAN 1025s # %B -> expected: January 1025s # %B -> actual: January 1025s # %^B -> expected: JANUARY 1025s # %^B -> actual: JANUARY 1025s # %#B -> expected: JANUARY 1025s # %#B -> actual: JANUARY 1025s # %h -> expected: Jan 1025s # %h -> actual: Jan 1025s # %^h -> expected: JAN 1025s # %^h -> actual: JAN 1025s # %#h -> expected: JAN 1025s # %#h -> actual: JAN 1025s # %Z -> expected: UTC 1025s # %Z -> actual: UTC 1025s # %^Z -> expected: UTC 1025s # %^Z -> actual: UTC 1025s # %#Z -> expected: utc 1025s # %#Z -> actual: utc 1025s # %H -> expected: 01 1025s # %H -> actual: 01 1025s # %_H -> expected: 1 1025s # %_H -> actual: 1 1025s # %-H -> expected: 1 1025s # %-H -> actual: 1 1025s # %0H -> expected: 01 1025s # %0H -> actual: 01 1025s # %H -> expected: 21 1025s # %H -> actual: 21 1025s # %_H -> expected: 21 1025s # %_H -> actual: 21 1025s # %-H -> expected: 21 1025s # %-H -> actual: 21 1025s # %0H -> expected: 21 1025s # %0H -> actual: 21 1025s # %I -> expected: 01 1025s # %I -> actual: 01 1025s # %_I -> expected: 1 1025s # %_I -> actual: 1 1025s # %-I -> expected: 1 1025s # %-I -> actual: 1 1025s # %0I -> expected: 01 1025s # %0I -> actual: 01 1025s # %I -> expected: 11 1025s # %I -> actual: 11 1025s # %_I -> expected: 11 1025s # %_I -> actual: 11 1025s # %-I -> expected: 11 1025s # %-I -> actual: 11 1025s # %0I -> expected: 11 1025s # %0I -> actual: 11 1025s # %k -> expected:  1 1025s # %k -> actual:  1 1025s # %_k -> expected: 1 1025s # %_k -> actual: 1 1025s # %-k -> expected: 1 1025s # %-k -> actual: 1 1025s # %0k -> expected: 01 1025s # %0k -> actual: 01 1025s # %l -> expected:  1 1025s # %l -> actual:  1 1025s # %_l -> expected: 1 1025s # %_l -> actual: 1 1025s # %-l -> expected: 1 1025s # %-l -> actual: 1 1025s # %0l -> expected: 01 1025s # %0l -> actual: 01 1025s # %l -> expected: 11 1025s # %l -> actual: 11 1025s # %_l -> expected: 11 1025s # %_l -> actual: 11 1025s # %-l -> expected: 11 1025s # %-l -> actual: 11 1025s # %0l -> expected: 11 1025s # %0l -> actual: 11 1025s # %p -> expected: AM 1025s # %p -> actual: AM 1025s # %^p -> expected: AM 1025s # %^p -> actual: AM 1025s # %#p -> expected: am 1025s # %#p -> actual: am 1025s # %P -> expected: am 1025s # %P -> actual: am 1025s # %^P -> expected: AM 1025s # %^P -> actual: AM 1025s # %#P -> expected: am 1025s # %#P -> actual: am 1025s # %OH -> expected: ۲۳ 1025s # %OH -> actual: ۲۳ 1025s # %OI -> expected: ۱۱ 1025s # %OI -> actual: ۱۱ 1025s # %OM -> expected: ۰۰ 1025s # %OM -> actual: ۰۰ 1025s # %Om -> expected: ۰۷ 1025s # %Om -> actual: ۰۷ 1025s # %0Om -> expected: ۰۷ 1025s # %0Om -> actual: ۰۷ 1025s # %-Om -> expected: ۷ 1025s # %-Om -> actual: ۷ 1025s # %_Om -> expected: ۷ 1025s # %_Om -> actual: ۷ 1025s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1025s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1025s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1025s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1025s # %C -> expected: 20 1025s # %C -> actual: 20 1025s # %EC -> expected: 20 1025s # %EC -> actual: 20 1025s # %x -> expected: 02/01/09 1025s # %x -> actual: 02/01/09 1025s # %Ex -> expected: 02/01/09 1025s # %Ex -> actual: 02/01/09 1025s # %X -> expected: 01:02:03 1025s # %X -> actual: 01:02:03 1025s # %EX -> expected: 01:02:03 1025s # %EX -> actual: 01:02:03 1025s # %y -> expected: 09 1025s # %y -> actual: 09 1025s # %Ey -> expected: 09 1025s # %Ey -> actual: 09 1025s # %Y -> expected: 2009 1025s # %Y -> actual: 2009 1025s # %EY -> expected: 2009 1025s # %EY -> actual: 2009 1025s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1025s # Bug Reference: http://bugzilla.gnome.org/749206 1025s # %B -> expected: January 1025s # %B -> actual: January 1025s # %OB -> expected: February 1025s # %OB -> actual: February 1025s # %b -> expected: Mar 1025s # %b -> actual: Mar 1025s # %Ob -> expected: Apr 1025s # %Ob -> actual: Apr 1025s # %h -> expected: May 1025s # %h -> actual: May 1025s # %Oh -> expected: Jun 1025s # %Oh -> actual: Jun 1025s # %B -> expected: Juli 1025s # %B -> actual: Juli 1025s # %OB -> expected: August 1025s # %OB -> actual: August 1025s # %b -> expected: Sep 1025s # %b -> actual: Sep 1025s # %Ob -> expected: Okt 1025s # %Ob -> actual: Okt 1025s # %h -> expected: Nov 1025s # %h -> actual: Nov 1025s # %Oh -> expected: Dez 1025s # %Oh -> actual: Dez 1025s # %B -> expected: enero 1025s # %B -> actual: enero 1025s # %OB -> expected: febrero 1025s # %OB -> actual: febrero 1025s # %b -> expected: mar 1025s # %b -> actual: mar 1025s # %Ob -> expected: abr 1025s # %Ob -> actual: abr 1025s # %h -> expected: may 1025s # %h -> actual: may 1025s # %Oh -> expected: jun 1025s # %Oh -> actual: jun 1025s # %B -> expected: juillet 1025s # %B -> actual: juillet 1025s # %OB -> expected: août 1025s # %OB -> actual: août 1025s # %b -> expected: sept. 1025s # %b -> actual: sept. 1025s # %Ob -> expected: oct. 1025s # %Ob -> actual: oct. 1025s # %h -> expected: nov. 1025s # %h -> actual: nov. 1025s # %Oh -> expected: déc. 1025s # %Oh -> actual: déc. 1025s # %B -> expected: Ιανουαρίου 1025s # %B -> actual: Ιανουαρίου 1025s # %B -> expected: Φεβρουαρίου 1025s # %B -> actual: Φεβρουαρίου 1025s # %B -> expected: Μαρτίου 1025s # %B -> actual: Μαρτίου 1025s # %OB -> expected: Απρίλιος 1025s # %OB -> actual: Απρίλιος 1025s # %OB -> expected: Μάιος 1025s # %OB -> actual: Μάιος 1025s # %OB -> expected: Ιούνιος 1025s # %OB -> actual: Ιούνιος 1025s # %b -> expected: Ιουλ 1025s # %b -> actual: Ιουλ 1025s # %Ob -> expected: Αύγ 1025s # %Ob -> actual: Αύγ 1025s # %B -> expected: svibnja 1025s # %B -> actual: svibnja 1025s # %B -> expected: lipnja 1025s # %B -> actual: lipnja 1025s # %B -> expected: srpnja 1025s # %B -> actual: srpnja 1025s # %OB -> expected: Kolovoz 1025s # %OB -> actual: kolovoz 1025s # %OB -> expected: Rujan 1025s # %OB -> actual: rujan 1025s # %OB -> expected: Listopad 1025s # %OB -> actual: listopad 1025s # %b -> expected: Stu 1025s # %b -> actual: stu 1025s # %Ob -> expected: Pro 1025s # %Ob -> actual: pro 1025s # %B -> expected: sausio 1025s # %B -> actual: sausio 1025s # %B -> expected: vasario 1025s # %B -> actual: vasario 1025s # %B -> expected: kovo 1025s # %B -> actual: kovo 1025s # %OB -> expected: balandis 1025s # %OB -> actual: balandis 1025s # %OB -> expected: gegužė 1025s # %OB -> actual: gegužė 1025s # %OB -> expected: birželis 1025s # %OB -> actual: birželis 1025s # %b -> expected: liep. 1025s # %b -> actual: liep. 1025s # %Ob -> expected: rugp. 1025s # %Ob -> actual: rugp. 1025s # %B -> expected: maja 1025s # %B -> actual: maja 1025s # %B -> expected: czerwca 1025s # %B -> actual: czerwca 1025s # %B -> expected: lipca 1025s # %B -> actual: lipca 1025s # %OB -> expected: sierpień 1025s # %OB -> actual: sierpień 1025s # %OB -> expected: wrzesień 1025s # %OB -> actual: wrzesień 1025s # %OB -> expected: październik 1025s # %OB -> actual: październik 1025s # %b -> expected: lis 1025s # %b -> actual: lis 1025s # %Ob -> expected: gru 1025s # %Ob -> actual: gru 1025s # %B -> expected: января 1025s # %B -> actual: января 1025s # %B -> expected: февраля 1025s # %B -> actual: февраля 1025s # %B -> expected: марта 1025s # %B -> actual: марта 1025s # %OB -> expected: Апрель 1025s # %OB -> actual: Апрель 1025s # %OB -> expected: Май 1025s # %OB -> actual: Май 1025s # %OB -> expected: Июнь 1025s # %OB -> actual: Июнь 1025s # %b -> expected: июл 1025s # %b -> actual: июл 1025s # %Ob -> expected: авг 1025s # %Ob -> actual: авг 1025s # %b -> expected: мая 1025s # %b -> actual: мая 1025s # %Ob -> expected: май 1025s # %Ob -> actual: май 1025s ok 38 /GDateTime/month_names 1025s ok 39 /GDateTime/to_local 1025s ok 40 /GDateTime/to_unix 1025s ok 41 /GDateTime/to_timeval 1025s ok 42 /GDateTime/to_utc 1025s ok 43 /GDateTime/now_utc 1025s ok 44 /GDateTime/dst 1025s # Bug Reference: http://bugzilla.gnome.org/642935 1025s ok 45 /GDateTime/test_z 1026s # Executing: glib/gdatetime.test 1026s ok 46 /GDateTime/test-all-dates 1026s # slow test /GDateTime/test-all-dates executed in 0.89 secs 1026s ok 47 /GDateTime/unix_usec 1026s # Start of new_from_unix tests 1026s # Bug Reference: http://bugzilla.gnome.org/782089 1026s ok 48 /GDateTime/new_from_unix/overflow 1026s # End of new_from_unix tests 1026s # Start of new_from_timeval tests 1026s # Bug Reference: http://bugzilla.gnome.org/782089 1026s # Maximum supported GTimeVal.tv_sec = 253402300799 1026s ok 49 /GDateTime/new_from_timeval/overflow 1026s # End of new_from_timeval tests 1026s # Start of new_from_iso8601 tests 1026s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1026s # Vector 0: 1990-11-01T10:21:17Z 1026s # Vector 1: 19901101T102117Z 1026s # Vector 2: 1970-01-01T00:00:17.12Z 1026s # Vector 3: 1970-01-01T00:00:17.1234Z 1026s # Vector 4: 1970-01-01T00:00:17.123456Z 1026s # Vector 5: 1980-02-22T12:36:00+02:00 1026s # Vector 6: 1990-12-31T15:59:60-08:00 1026s # Vector 7: 1026s # Vector 8: x 1026s # Vector 9: 123x 1026s # Vector 10: 2001-10+x 1026s # Vector 11: 1980-02-22T 1026s # Vector 12: 2001-10-08Tx 1026s # Vector 13: 2001-10-08T10:11x 1026s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1026s # Vector 15: 1980-02-22T10:36:00Zulu 1026s # Vector 16: 2T0+819855292164632335 1026s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1026s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1026s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1026s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1026s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1026s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1026s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1026s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1026s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1026s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1026s # Vector 27: 20180803T140805.446178377+0100 1026s # Vector 28: 21474836480803T140805.446178377+0100 1026s # Vector 29: 20181303T140805.446178377+0100 1026s # Vector 30: 20180003T140805.446178377+0100 1026s # Vector 31: 20180800T140805.446178377+0100 1026s # Vector 32: 20180832T140805.446178377+0100 1026s # Vector 33: 20180803T240805.446178377+0100 1026s # Vector 34: 20180803T146005.446178377+0100 1026s # Vector 35: 20180803T140863.446178377+0100 1026s # Vector 36: 20180803T140805.446178377+10000 1026s # Vector 37: -0005-01-01T00:00:00Z 1026s # Vector 38: 2018-08-06 1026s # Vector 39: 20180803T140805,446178377+0100 1026s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1026s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1026s # Vector 42: 1990-11-01T10:21:17 1026s # Vector 43: 1719W462 407777-07 1026s # Vector 44: 4011090 260528Z 1026s # Vector 45: 0000W011 228214-22 1026s ok 50 /GDateTime/new_from_iso8601/2 1026s # End of new_from_iso8601 tests 1026s # Start of format_mixed tests 1026s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1026s # %b -> expected: mar 1026s # %b -> actual: Mar 1026s # %B -> expected: march 1026s # %B -> actual: March 1026s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1026s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1026s # %b -> expected: mar 1026s # %b -> actual: Mar 1026s # %B -> expected: march 1026s # %B -> actual: March 1026s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1026s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1026s # %b -> expected: Mär 1026s # %b -> actual: Mär 1026s # %B -> expected: März 1026s # %B -> actual: März 1026s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1026s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1026s # %b -> expected: Mär 1026s # %b -> actual: Mär 1026s # %B -> expected: März 1026s # %B -> actual: März 1026s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1026s # End of format_mixed tests 1026s # Start of strftime tests 1026s # %r -> expected: (null) 1026s # %r -> actual: (null) 1026s ok 55 /GDateTime/strftime/error_handling 1026s # End of strftime tests 1026s # Start of eras tests 1026s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1026s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1026s # %EC -> expected: 令和 1026s # %EC -> actual: 令和 1026s # %Ex -> expected: 令和05年06月01日 1026s # %Ex -> actual: 令和05年06月01日 1026s # %EX -> expected: 00時00分00秒 1026s # %EX -> actual: 00時00分00秒 1026s # %Ey -> expected: 05 1026s # %Ey -> actual: 05 1026s # %EY -> expected: 令和05年 1026s # %EY -> actual: 令和05年 1026s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1026s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1026s # %EC -> expected: 平成 1026s # %EC -> actual: 平成 1026s # %Ex -> expected: 平成31年04月30日 1026s # %Ex -> actual: 平成31年04月30日 1026s # %EX -> expected: 00時00分00秒 1026s # %EX -> actual: 00時00分00秒 1026s ok - glib/gdatetime.test 1026s # Running test: glib/rwlock.test 1026s # %Ey -> expected: 31 1026s # %Ey -> actual: 31 1026s # %EY -> expected: 平成31年 1026s # %EY -> actual: 平成31年 1026s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1026s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1026s # %EC -> expected: 昭和 1026s # %EC -> actual: 昭和 1026s # %Ex -> expected: 昭和元年12月25日 1026s # %Ex -> actual: 昭和元年12月25日 1026s # %EX -> expected: 00時00分00秒 1026s # %EX -> actual: 00時00分00秒 1026s # %Ey -> expected: 01 1026s # %Ey -> actual: 01 1026s # %EY -> expected: 昭和元年 1026s # %EY -> actual: 昭和元年 1026s ok 56 /GDateTime/eras/japan 1026s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1026s # Vector 0: 1026s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1026s # 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年 1026s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1026s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1026s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1026s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1026s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1026s # Vector 8: + 1026s # Vector 9: +: 1026s # Vector 10: +:: 1026s # Vector 11: +:200 1026s # Vector 12: +:2nonsense 1026s # Vector 13: +:2nonsense: 1026s # Vector 14: +:2: 1026s # Vector 15: +:2:: 1026s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1026s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1026s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1026s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1026s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1026s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1026s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1026s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1026s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1026s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1026s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1026s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1026s # Vector 28: +:2:2020/01/01 1026s # Vector 29: +:2:2020/01/01: 1026s # Vector 30: +:2:2020/01/01:: 1026s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1026s # Vector 32: +:2:2020/01/01:+* 1026s # Vector 33: +:2:2020/01/01:+*: 1026s # Vector 34: +:2:2020/01/01:+*:: 1026s # Vector 35: +:2:2020/01/01:+*:令和 1026s # Vector 36: +:2:2020/01/01:+*:令和: 1026s # Vector 37: +:2:2020/01/01:+*:令和:; 1026s ok 58 /GDateTime/eras/parsing 1026s # End of eras tests 1026s # End of GDateTime tests 1026s # Start of GTimeZone tests 1026s ok 59 /GTimeZone/find-interval 1026s ok 60 /GTimeZone/adjust-time 1026s ok 61 /GTimeZone/no-header 1026s ok 62 /GTimeZone/no-header-identifier 1026s ok 63 /GTimeZone/posix-parse 1026s # Bug Reference: http://bugzilla.gnome.org/697715 1026s ok 64 /GTimeZone/floating-point 1026s # System time zone identifier: Etc/UTC 1026s ok 65 /GTimeZone/identifier 1026s # Vector 0: -158400 1026s # Vector 1: -10000 1026s # Vector 2: -3600 1026s # Vector 3: -61 1026s # Vector 4: -60 1026s # Vector 5: -59 1026s # Vector 6: 0 1026s # Vector 7: 59 1026s # Vector 8: 60 1026s # Vector 9: 61 1026s # Vector 10: 3600 1026s # Vector 11: 10000 1026s # Vector 12: 158400 1026s ok 66 /GTimeZone/new-offset 1026s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1026s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1026s ok 67 /GTimeZone/parse-rfc8536 1026s # /GTimeZone/caching summary: GTimeZone instances are cached 1026s ok 68 /GTimeZone/caching 1026s # End of GTimeZone tests 1026s TAP version 14 1026s # random seed: R02S025d5cca8d10148907de190a048051a8 1026s 1..8 1026s # Start of thread tests 1026s ok 1 /thread/rwlock1 1026s ok 2 /thread/rwlock2 1026s ok 3 /thread/rwlock3 1026s ok 4 /thread/rwlock4 1026s ok 5 /thread/rwlock5 1026s ok 6 /thread/rwlock6 1029s ok 7 /thread/rwlock7 1029s # slow test /thread/rwlock7 executed in 3.73 secs 1029s ok - glib/rwlock.test 1029s # Running test: glib/contexts.test 1029s ok 8 /thread/rwlock8 1029s # End of thread tests 1029s TAP version 14 1029s # random seed: R02S7c0a3cb7ea1121921e07913039bc9ffe 1029s 1..5 1029s # Start of gio tests 1029s # Start of contexts tests 1029s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1029s ok 1 /gio/contexts/thread-independence 1029s ok 2 /gio/contexts/context-independence 1029s # Start of context-specific tests 1029s ok 3 /gio/contexts/context-specific/identity 1029s ok - glib/contexts.test 1029s ok 4 /gio/contexts/context-specific/emit 1029s ok 5 /gio/contexts/context-specific/emit-and-unref 1029s # End of context-specific tests 1029s # End of contexts tests 1029s # End of gio tests 1029s # Running test: glib/1bit-mutex.test 1029s TAP version 14 1029s # random seed: R02S20f6425b608a3a1d064ea8a54219cd5e 1029s 1..2 1029s # Start of glib tests 1029s # Start of 1bit-mutex tests 1031s # Executing: glib/1bit-mutex.test 1033s ok 1 /glib/1bit-mutex/int 1033s # slow test /glib/1bit-mutex/int executed in 3.53 secs 1036s # Executing: glib/1bit-mutex.test 1036s ok 2 /glib/1bit-mutex/pointer 1036s # slow test /glib/1bit-mutex/pointer executed in 3.50 secs 1036s # End of 1bit-mutex tests 1036s # End of glib tests 1036s ok - glib/1bit-mutex.test 1036s # Running test: glib/filter-streams.test 1036s TAP version 14 1036s # random seed: R02S648f9144c3e0e8db5fd8756a3130b992 1036s 1..4 1036s # Start of filter-stream tests 1036s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1036s ok 1 /filter-stream/input 1036s ok 2 /filter-stream/output 1036s ok 3 /filter-stream/async-input 1036s ok 4 /filter-stream/async-output 1036s # End of filter-stream tests 1036s ok - glib/filter-streams.test 1036s # Running test: glib/properties-refcount3.test 1037s TAP version 14 1037s # random seed: R02S57ccf2644eed1b2c4b45a5b4041d9a9f 1037s 1..1 1037s # Start of gobject tests 1037s # Start of refcount tests 1041s # Executing: glib/properties-refcount3.test 1046s # Executing: glib/properties-refcount3.test 1051s # Executing: glib/properties-refcount3.test 1056s # Executing: glib/properties-refcount3.test 1061s # Executing: glib/properties-refcount3.test 1066s # Executing: glib/properties-refcount3.test 1066s # 1066s # stopping 1066s # 1066s # stopped 1066s # 1066s # 23958096 1086006 1066s # 1066s ok 1 /gobject/refcount/properties-3 1066s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1066s # End of refcount tests 1066s # End of gobject tests 1066s ok - glib/properties-refcount3.test 1066s # Running test: glib/gdbus-sasl.test 1066s TAP version 14 1066s # random seed: R02S95234d860bb12188becb406ced7c4c71 1066s 1..1 1066s # Start of gdbus tests 1066s # Start of sasl tests 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_2HU9J3/gdbus/sasl/server/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_2HU9J3/gdbus/sasl/server/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_2HU9J3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_2HU9J3/gdbus/sasl/server/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_2HU9J3/gdbus/sasl/server/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_2HU9J3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_2HU9J3/gdbus/sasl/server/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_2HU9J3/gdbus/sasl/server/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_2HU9J3/gdbus/sasl/server/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_2HU9J3/gdbus/sasl/server/.dirs/runtime 1068s # New handshake: EXTERNAL with incorrect initial response 1068s # C:“AUTH EXTERNAL 30” 1068s # Expect: /^REJECTED.*$/ 1068s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1068s ok - glib/gdbus-sasl.test 1068s # Running test: glib/g-icon.test 1068s ok - glib/g-icon.test 1068s # Running test: glib/gmenumodel.test 1068s # New handshake: EXTERNAL without initial response, failing to authenticate 1068s # C:“AUTH EXTERNAL” 1068s # Expect: /^DATA$/ 1068s # S:“DATA” 1068s # C:“DATA 30” 1068s # Expect: /^REJECTED.*$/ 1068s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1068s # New handshake: EXTERNAL with initial response 1068s # C:“AUTH EXTERNAL 31303030” 1068s # Expect: /^OK [0-9a-f]+$/ 1068s # S:“OK 2b4216fe7246c3f3f22665c56983fda2” 1068s # New handshake: EXTERNAL without initial response 1068s # C:“AUTH EXTERNAL” 1068s # Expect: /^DATA$/ 1068s # S:“DATA” 1068s # C:“DATA 31303030” 1068s # Expect: /^OK [0-9a-f]+$/ 1068s # S:“OK 2b4216fe7246c3f3f22665c56983fda2” 1068s # New handshake: EXTERNAL with empty authorization identity 1068s # C:“AUTH EXTERNAL” 1068s # Expect: /^DATA$/ 1068s # S:“DATA” 1068s # C:“DATA” 1068s # Expect: /^OK [0-9a-f]+$/ 1068s # S:“OK 2b4216fe7246c3f3f22665c56983fda2” 1068s # New handshake: EXTERNAL with empty authorization identity and whitespace 1068s # C:“AUTH EXTERNAL” 1068s # Expect: /^DATA$/ 1068s # S:“DATA” 1068s # C:“DATA ” 1068s # Expect: /^OK [0-9a-f]+$/ 1068s # S:“OK 2b4216fe7246c3f3f22665c56983fda2” 1068s ok 1 /gdbus/sasl/server 1068s # End of sasl tests 1068s # End of gdbus tests 1068s TAP version 14 1068s # random seed: R02S0cfabd7075a81aaf9c0ad7f7c3e84b0a 1068s 1..6 1068s # Start of icons tests 1068s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1068s ok 1 /icons/to-string 1068s ok 2 /icons/serialize 1068s ok 3 /icons/themed 1068s ok 4 /icons/emblemed 1068s ok 5 /icons/file 1068s ok 6 /icons/bytes 1068s # End of icons tests 1068s TAP version 14 1068s # random seed: R02S10602badc10701485ee6c76d24704085 1068s 1..15 1068s # Start of gmenu tests 1068s ok 1 /gmenu/equality 1068s # slow test /gmenu/equality executed in 0.54 secs 1068s ok 2 /gmenu/random 1068s # slow test /gmenu/random executed in 0.68 secs 1068s ok 3 /gmenu/attributes 1068s ok 4 /gmenu/links 1068s ok 5 /gmenu/mutable 1068s ok 6 /gmenu/convenience 1068s ok 7 /gmenu/menuitem 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1068s ok 8 /gmenu/input-validation 1068s # Start of dbus tests 1073s ok 9 /gmenu/dbus/roundtrip 1073s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1073s # Executing: glib/gmenumodel.test 1073s ok - glib/gmenumodel.test 1073s # Running test: glib/atomic.test 1073s ok - glib/atomic.test 1073s # Running test: glib/inet-address.test 1073s ok - glib/inet-address.test 1073s # Running test: glib/pattern.test 1073s ok - glib/pattern.test 1073s # Running test: glib/gdbus-subscribe.test 1073s ok 10 /gmenu/dbus/subscriptions 1073s ok 11 /gmenu/dbus/threaded 1073s # slow test /gmenu/dbus/threaded executed in 0.79 secs 1073s # Start of peer tests 1073s ok 12 /gmenu/dbus/peer/roundtrip 1073s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1073s ok 13 /gmenu/dbus/peer/subscriptions 1073s # End of peer tests 1073s # Start of export tests 1073s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1073s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1073s ok 14 /gmenu/dbus/export/error-handling 1073s # End of export tests 1073s # End of dbus tests 1073s # Start of attributes tests 1073s ok 15 /gmenu/attributes/iterate 1073s # End of attributes tests 1073s # End of gmenu tests 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s TAP version 14 1073s # random seed: R02Sd0a27e90b00ccca1ab2588ce9c9ea02c 1073s 1..2 1073s # Start of atomic tests 1073s ok 1 /atomic/types 1073s ok 2 /atomic/threaded 1073s # End of atomic tests 1073s TAP version 14 1073s # random seed: R02Sa57660743add708cfdc49eb1aba1486b 1073s 1..11 1073s # Start of inet-address tests 1073s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 1073s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 1073s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 1073s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 1073s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 1073s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 1073s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 1073s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 1073s ok 1 /inet-address/parse 1073s ok 2 /inet-address/any 1073s ok 3 /inet-address/loopback 1073s ok 4 /inet-address/bytes 1073s ok 5 /inet-address/property 1073s # End of inet-address tests 1073s # Start of socket-address tests 1073s ok 6 /socket-address/basic 1073s ok 7 /socket-address/to-string 1073s # End of socket-address tests 1073s # Start of address-mask tests 1073s ok 8 /address-mask/parse 1073s ok 9 /address-mask/property 1073s ok 10 /address-mask/equal 1073s ok 11 /address-mask/match 1073s # End of address-mask tests 1073s TAP version 14 1073s # random seed: R02S71bbd20fa48b784fbfaf2bbf74b08efc 1073s 1..90 1073s # Start of pattern tests 1073s # Start of compile tests 1073s ok 1 /pattern/compile/0 1073s ok 2 /pattern/compile/1 1073s ok 3 /pattern/compile/2 1073s ok 4 /pattern/compile/3 1073s ok 5 /pattern/compile/4 1073s ok 6 /pattern/compile/5 1073s ok 7 /pattern/compile/6 1073s ok 8 /pattern/compile/7 1073s ok 9 /pattern/compile/8 1073s ok 10 /pattern/compile/9 1073s ok 11 /pattern/compile/10 1073s ok 12 /pattern/compile/11 1073s ok 13 /pattern/compile/12 1073s ok 14 /pattern/compile/13 1073s # End of compile tests 1073s # Start of copy tests 1073s ok 15 /pattern/copy/0 1073s ok 16 /pattern/copy/1 1073s ok 17 /pattern/copy/2 1073s ok 18 /pattern/copy/3 1073s ok 19 /pattern/copy/4 1073s ok 20 /pattern/copy/5 1073s ok 21 /pattern/copy/6 1073s ok 22 /pattern/copy/7 1073s ok 23 /pattern/copy/8 1073s ok 24 /pattern/copy/9 1073s ok 25 /pattern/copy/10 1073s ok 26 /pattern/copy/11 1073s ok 27 /pattern/copy/12 1073s ok 28 /pattern/copy/13 1073s # End of copy tests 1073s # Start of match tests 1073s ok 29 /pattern/match/0 1073s ok 30 /pattern/match/1 1073s ok 31 /pattern/match/2 1073s ok 32 /pattern/match/3 1073s ok 33 /pattern/match/4 1073s ok 34 /pattern/match/5 1073s ok 35 /pattern/match/6 1073s ok 36 /pattern/match/7 1073s ok 37 /pattern/match/8 1073s ok 38 /pattern/match/9 1073s ok 39 /pattern/match/10 1073s ok 40 /pattern/match/11 1073s ok 41 /pattern/match/12 1073s ok 42 /pattern/match/13 1073s ok 43 /pattern/match/14 1073s ok 44 /pattern/match/15 1073s ok 45 /pattern/match/16 1073s ok 46 /pattern/match/17 1073s ok 47 /pattern/match/18 1073s ok 48 /pattern/match/19 1073s ok 49 /pattern/match/20 1073s ok 50 /pattern/match/21 1073s ok 51 /pattern/match/22 1073s ok 52 /pattern/match/23 1073s ok 53 /pattern/match/24 1073s ok 54 /pattern/match/25 1073s ok 55 /pattern/match/26 1073s ok 56 /pattern/match/27 1073s ok 57 /pattern/match/28 1073s ok 58 /pattern/match/29 1073s ok 59 /pattern/match/30 1073s ok 60 /pattern/match/31 1073s ok 61 /pattern/match/32 1073s ok 62 /pattern/match/33 1073s ok 63 /pattern/match/34 1073s ok 64 /pattern/match/35 1073s ok 65 /pattern/match/36 1073s ok 66 /pattern/match/37 1073s ok 67 /pattern/match/38 1073s ok 68 /pattern/match/39 1073s ok 69 /pattern/match/40 1073s ok 70 /pattern/match/41 1073s ok 71 /pattern/match/42 1073s ok 72 /pattern/match/43 1073s ok 73 /pattern/match/44 1073s ok 74 /pattern/match/45 1073s ok 75 /pattern/match/46 1073s ok 76 /pattern/match/47 1073s ok 77 /pattern/match/48 1073s ok 78 /pattern/match/49 1073s ok 79 /pattern/match/50 1073s # End of match tests 1073s # Start of equal tests 1073s ok 80 /pattern/equal/0 1073s ok 81 /pattern/equal/1 1073s ok 82 /pattern/equal/2 1073s ok 83 /pattern/equal/3 1073s ok 84 /pattern/equal/4 1073s ok 85 /pattern/equal/5 1073s ok 86 /pattern/equal/6 1073s ok 87 /pattern/equal/7 1073s ok 88 /pattern/equal/8 1073s ok 89 /pattern/equal/9 1073s ok 90 /pattern/equal/10 1073s # End of equal tests 1073s # End of pattern tests 1073s TAP version 14 1073s # random seed: R02Sd8ea8d0adbda37079a24625464c0af86 1073s 1..24 1073s # Start of gdbus tests 1073s # Start of subscribe tests 1073s # Start of conn tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/simple/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/simple/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/simple/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/simple/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/simple/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/simple/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/simple/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/simple/.dirs/runtime 1073s # subscriber is :1.0 1073s # service is :1.1 1073s # service 2 is :1.2 1073s # attacker is :1.3 1073s # Waiting for AddMatch to be processed 1073s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1073s # Step 0: emitting signal 1073s # Sender: service 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 1: adding subscription 1073s # Sender: (any) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 2: emitting signal 1073s # Sender: service 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 2 1073s # Received Finished signal from subscriber :1.0 1073s # Received Finished signal from service :1.1 1073s # Received Finished signal from service 2 :1.2 1073s # Received Finished signal from attacker :1.3 1073s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1073s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 1 /gdbus/subscribe/conn/simple 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1073s # subscriber is :1.0 1073s # service is :1.1 1073s # service 2 is :1.2 1073s # attacker is :1.3 1073s # Waiting for AddMatch to be processed 1073s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1073s # Step 0: adding subscription 1073s # Sender: (any) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 1: emitting signal 1073s # Sender: service 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 2: emitting signal 1073s # Sender: service 2 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 3: emitting signal 1073s # Sender: service 1073s # Destination: subscriber :1.0 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 4: emitting signal 1073s # Sender: service 2 1073s # Destination: subscriber :1.0 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 1 1073s # Signal received from service 2 :1.2 1073s # Signal received from service 2 :1.2 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 2 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 3 1073s # Signal received from service 2 :1.2 1073s # Signal received from service 2 :1.2 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 4 1073s # Received Finished signal from subscriber :1.0 1073s # Received Finished signal from service :1.1 1073s # Received Finished signal from service 2 :1.2 1073s # Received Finished signal from attacker :1.3 1073s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1073s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1073s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1073s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/match_twice/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/match_twice/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/match_twice/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/match_twice/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/match_twice/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/match_twice/.dirs/runtime 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1073s # subscriber is :1.0 1073s # service is :1.1 1073s # service 2 is :1.2 1073s # attacker is :1.3 1073s # Waiting for AddMatch to be processed 1073s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1073s # Step 0: adding subscription 1073s # Sender: service :1.1 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 1: adding subscription 1073s # Sender: (any) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: (any) 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 2: adding subscription 1073s # Sender: (any) 1073s # Path: (any) 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 3: adding subscription 1073s # Sender: service :1.1 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 4: emitting signal 1073s # Sender: service 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 4 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 4 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 4 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 4 1073s # Received Finished signal from subscriber :1.0 1073s # Received Finished signal from service :1.1 1073s # Received Finished signal from service 2 :1.2 1073s # Received Finished signal from attacker :1.3 1073s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 3 /gdbus/subscribe/conn/match_twice 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1073s # subscriber is :1.0 1073s # service is :1.1 1073s # service 2 is :1.2 1073s # attacker is :1.3 1073s # Waiting for AddMatch to be processed 1073s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1073s # Step 0: adding subscription 1073s # Sender: service :1.1 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 1: emitting signal 1073s # Sender: attacker 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 2: emitting signal 1073s # Sender: attacker 1073s # Destination: subscriber :1.0 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 3: emitting signal 1073s # Sender: service 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 3 1073s # Received Finished signal from subscriber :1.0 1073s # Received Finished signal from service :1.1 1073s # Received Finished signal from service 2 :1.2 1073s # Received Finished signal from attacker :1.3 1073s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1073s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1073s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1073s # subscriber is :1.0 1073s # service is :1.1 1073s # service 2 is :1.2 1073s # attacker is :1.3 1073s # Waiting for AddMatch to be processed 1073s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1073s # Step 0: adding subscription 1073s # Sender: :0.this.had.better.not.exist 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 1: emitting signal 1073s # Sender: attacker 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 2: emitting signal 1073s # Sender: attacker 1073s # Destination: subscriber :1.0 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Received Finished signal from subscriber :1.0 1073s # Received Finished signal from service :1.1 1073s # Received Finished signal from service 2 :1.2 1073s # Received Finished signal from attacker :1.3 1073s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1073s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1073s # subscriber is :1.0 1073s # service is :1.1 1073s # service 2 is :1.2 1073s # attacker is :1.3 1073s # Waiting for AddMatch to be processed 1073s # /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 1073s # Step 0: claiming bus name 1073s # Name: org.gtk.Test.AlreadyOwned 1073s # Owner: service 1073s # Step 1: adding subscription 1073s # Sender: org.gtk.Test.AlreadyOwned 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 2: adding subscription 1073s # Sender: org.gtk.Test.OwnedLater 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 3: emitting signal 1073s # Sender: attacker 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 4: emitting signal 1073s # Sender: attacker 1073s # Destination: subscriber :1.0 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 5: emitting signal 1073s # Sender: service 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 6: claiming bus name 1073s # Name: org.gtk.Test.OwnedLater 1073s # Owner: service 1073s # Step 7: emitting signal 1073s # Sender: service 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 5 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 7 1073s # Signal received from service :1.1 1073s # Signal received from service :1.1 via connection 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Sent in step: 7 1073s # Received Finished signal from subscriber :1.0 1073s # Received Finished signal from service :1.1 1073s # Received Finished signal from service 2 :1.2 1073s # Received Finished signal from attacker :1.3 1073s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1073s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1073s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1073s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1073s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1073s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1073s # subscriber is :1.0 1073s # service is :1.1 1073s # service 2 is :1.2 1073s # attacker is :1.3 1073s # Waiting for AddMatch to be processed 1073s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1073s # Step 0: adding subscription 1073s # Sender: org.freedesktop.DBus 1073s # Path: /org/freedesktop/DBus 1073s # Interface: org.freedesktop.DBus 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Waiting for AddMatch to be processed 1073s # Step 1: emitting signal 1073s # Sender: attacker 1073s # Destination: (broadcast) 1073s # Path: /org/freedesktop/DBus 1073s # Interface: org.freedesktop.DBus 1073s # Member: NameOwnerChanged 1073s # String argument 0: would I lie to you? 1073s # Waiting for signal to reach message bus 1073s # Step 2: emitting signal 1073s # Sender: attacker 1073s # Destination: subscriber :1.0 1073s # Path: /org/freedesktop/DBus 1073s # Interface: org.freedesktop.DBus 1073s # Member: NameOwnerChanged 1073s # Waiting for signal to reach message bus 1073s # Step 3: claiming bus name 1073s # Name: org.gtk.Test.OwnedLater 1073s # Owner: service 1073s # Signal received from message bus org.freedesktop.DBus 1073s # Signal received from (unused) org.freedesktop.DBus via connection 1073s # Path: /org/freedesktop/DBus 1073s # Interface: org.freedesktop.DBus 1073s # Member: NameOwnerChanged 1073s # Received Finished signal from subscriber :1.0 1073s # Received Finished signal from service :1.1 1073s # Received Finished signal from service 2 :1.2 1073s # Received Finished signal from attacker :1.3 1073s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1073s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1073s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1073s # subscriber is :1.0 1073s # service is :1.1 1073s # service 2 is :1.2 1073s # attacker is :1.3 1073s # Waiting for AddMatch to be processed 1073s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1073s # Step 0: claiming bus name 1073s # Name: org.gtk.Test.AlreadyOwned 1073s # Owner: service 1073s # Step 1: adding subscription 1073s # Sender: org.gtk.Test.AlreadyOwned 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Subscribing via connection 1073s # Immediately unsubscribing 1073s # Waiting for AddMatch to be processed 1073s # Step 2: emitting signal 1073s # Sender: service 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Received Finished signal from subscriber :1.0 1073s # Received Finished signal from service :1.1 1073s # Received Finished signal from service 2 :1.2 1073s # Received Finished signal from attacker :1.3 1073s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1073s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1073s # End of conn tests 1073s # Start of proxy tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/simple/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/simple/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/simple/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/simple/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/simple/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/simple/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/simple/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/simple/.dirs/runtime 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1073s # subscriber is :1.0 1073s # service is :1.1 1073s # service 2 is :1.2 1073s # attacker is :1.3 1073s # Waiting for AddMatch to be processed 1073s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1073s # Step 0: emitting signal 1073s # Sender: service 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Step 1: adding subscription 1073s # Sender: (any) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: (any) 1073s # String argument 0: (any) 1073s # Flags: 0 1073s # Cannot subscribe via proxy: no bus name 1073s # Waiting for AddMatch to be processed 1073s # Step 2: emitting signal 1073s # Sender: service 1073s # Destination: (broadcast) 1073s # Path: /org/gtk/GDBus/ExampleInterface 1073s # Interface: org.gtk.GDBus.ExampleInterface 1073s # Member: Foo 1073s # Argument 0: (not a string) 1073s # Waiting for signal to reach message bus 1073s # Received Finished signal from subscriber :1.0 1073s # Received Finished signal from service :1.1 1073s # Received Finished signal from service 2 :1.2 1073s # Received Finished signal from attacker :1.3 1073s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1073s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 9 /gdbus/subscribe/proxy/simple 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1075s # Step 0: adding subscription 1075s # Sender: (any) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Cannot subscribe via proxy: no bus name 1075s # Waiting for AddMatch to be processed 1075s # Step 1: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 2: emitting signal 1075s # Sender: service 2 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 3: emitting signal 1075s # Sender: service 1075s # Destination: subscriber :1.0 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 4: emitting signal 1075s # Sender: service 2 1075s # Destination: subscriber :1.0 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/match_twice/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/match_twice/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/match_twice/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/match_twice/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/match_twice/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1075s # Step 0: adding subscription 1075s # Sender: service :1.1 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 1: adding subscription 1075s # Sender: (any) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: (any) 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Cannot subscribe via proxy: no bus name 1075s # Waiting for AddMatch to be processed 1075s # Step 2: adding subscription 1075s # Sender: (any) 1075s # Path: (any) 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Cannot subscribe via proxy: no bus name 1075s # Waiting for AddMatch to be processed 1075s # Step 3: adding subscription 1075s # Sender: service :1.1 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 4: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 4 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 4 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 11 /gdbus/subscribe/proxy/match_twice 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1075s # Step 0: adding subscription 1075s # Sender: service :1.1 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 1: emitting signal 1075s # Sender: attacker 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 2: emitting signal 1075s # Sender: attacker 1075s # Destination: subscriber :1.0 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 3: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 3 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1075s # Step 0: adding subscription 1075s # Sender: :0.this.had.better.not.exist 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 1: emitting signal 1075s # Sender: attacker 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 2: emitting signal 1075s # Sender: attacker 1075s # Destination: subscriber :1.0 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /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 1075s # Step 0: claiming bus name 1075s # Name: org.gtk.Test.AlreadyOwned 1075s # Owner: service 1075s # Step 1: adding subscription 1075s # Sender: org.gtk.Test.AlreadyOwned 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 2: adding subscription 1075s # Sender: org.gtk.Test.OwnedLater 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 3: emitting signal 1075s # Sender: attacker 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 4: emitting signal 1075s # Sender: attacker 1075s # Destination: subscriber :1.0 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 5: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 6: claiming bus name 1075s # Name: org.gtk.Test.OwnedLater 1075s # Owner: service 1075s # Step 7: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 5 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 7 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 7 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1075s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1075s # Step 0: adding subscription 1075s # Sender: org.freedesktop.DBus 1075s # Path: /org/freedesktop/DBus 1075s # Interface: org.freedesktop.DBus 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 1: emitting signal 1075s # Sender: attacker 1075s # Destination: (broadcast) 1075s # Path: /org/freedesktop/DBus 1075s # Interface: org.freedesktop.DBus 1075s # Member: NameOwnerChanged 1075s # String argument 0: would I lie to you? 1075s # Waiting for signal to reach message bus 1075s # Step 2: emitting signal 1075s # Sender: attacker 1075s # Destination: subscriber :1.0 1075s # Path: /org/freedesktop/DBus 1075s # Interface: org.freedesktop.DBus 1075s # Member: NameOwnerChanged 1075s # Waiting for signal to reach message bus 1075s # Step 3: claiming bus name 1075s # Name: org.gtk.Test.OwnedLater 1075s # Owner: service 1075s # Signal received from message bus org.freedesktop.DBus 1075s # Signal received from (unused) org.freedesktop.DBus via proxy 1075s # Path: /org/freedesktop/DBus 1075s # Interface: org.freedesktop.DBus 1075s # Member: NameOwnerChanged 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1075s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1075s # GLib-DEBUG: g_set_usok - glib/gdbus-subscribe.test 1075s # Running test: glib/boxed.test 1075s ok - glib/boxed.test 1075s # Running test: glib/callable-info.test 1075s ok - glib/callable-info.test 1075s # Running test: glib/spawn-path-search.test 1075s ok - glib/spawn-path-search.test 1075s # Running test: glib/proxy-test.test 1075s ok - glib/proxy-test.test 1075s # Running test: glib/string.test 1075s ok - glib/string.test 1075s # Running test: glib/gvariant.test 1075s er_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1075s # Step 0: claiming bus name 1075s # Name: org.gtk.Test.AlreadyOwned 1075s # Owner: service 1075s # Step 1: adding subscription 1075s # Sender: org.gtk.Test.AlreadyOwned 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 2: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 2 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1075s # End of proxy tests 1075s # Start of parallel tests 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/simple/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/simple/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/simple/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/simple/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/simple/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/simple/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/simple/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/simple/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1075s # Step 0: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 1: adding subscription 1075s # Sender: (any) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Cannot subscribe via proxy: no bus name 1075s # Waiting for AddMatch to be processed 1075s # Step 2: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 2 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1075s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1075s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 17 /gdbus/subscribe/parallel/simple 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1075s # Step 0: adding subscription 1075s # Sender: (any) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Cannot subscribe via proxy: no bus name 1075s # Waiting for AddMatch to be processed 1075s # Step 1: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 2: emitting signal 1075s # Sender: service 2 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 3: emitting signal 1075s # Sender: service 1075s # Destination: subscriber :1.0 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 4: emitting signal 1075s # Sender: service 2 1075s # Destination: subscriber :1.0 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 1 1075s # Signal received from service 2 :1.2 1075s # Signal received from service 2 :1.2 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 2 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 3 1075s # Signal received from service 2 :1.2 1075s # Signal received from service 2 :1.2 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 4 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1075s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1075s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1075s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1075s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/match_twice/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/match_twice/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/match_twice/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/match_twice/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/match_twice/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1075s # Step 0: adding subscription 1075s # Sender: service :1.1 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 1: adding subscription 1075s # Sender: (any) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: (any) 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Cannot subscribe via proxy: no bus name 1075s # Waiting for AddMatch to be processed 1075s # Step 2: adding subscription 1075s # Sender: (any) 1075s # Path: (any) 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Cannot subscribe via proxy: no bus name 1075s # Waiting for AddMatch to be processed 1075s # Step 3: adding subscription 1075s # Sender: service :1.1 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 4: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 4 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 4 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 4 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 4 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 4 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 4 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1075s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 19 /gdbus/subscribe/parallel/match_twice 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1075s # Step 0: adding subscription 1075s # Sender: service :1.1 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 1: emitting signal 1075s # Sender: attacker 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 2: emitting signal 1075s # Sender: attacker 1075s # Destination: subscriber :1.0 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 3: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 3 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 3 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1075s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1075s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1075s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1075s # Step 0: adding subscription 1075s # Sender: :0.this.had.better.not.exist 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 1: emitting signal 1075s # Sender: attacker 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 2: emitting signal 1075s # Sender: attacker 1075s # Destination: subscriber :1.0 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1075s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1075s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /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 1075s # Step 0: claiming bus name 1075s # Name: org.gtk.Test.AlreadyOwned 1075s # Owner: service 1075s # Step 1: adding subscription 1075s # Sender: org.gtk.Test.AlreadyOwned 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 2: adding subscription 1075s # Sender: org.gtk.Test.OwnedLater 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 3: emitting signal 1075s # Sender: attacker 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 4: emitting signal 1075s # Sender: attacker 1075s # Destination: subscriber :1.0 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 5: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Step 6: claiming bus name 1075s # Name: org.gtk.Test.OwnedLater 1075s # Owner: service 1075s # Step 7: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 5 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 5 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 7 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 7 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via connection 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 7 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 7 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1075s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1075s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1075s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1075s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1075s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1075s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1075s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1075s # Step 0: adding subscription 1075s # Sender: org.freedesktop.DBus 1075s # Path: /org/freedesktop/DBus 1075s # Interface: org.freedesktop.DBus 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 1: emitting signal 1075s # Sender: attacker 1075s # Destination: (broadcast) 1075s # Path: /org/freedesktop/DBus 1075s # Interface: org.freedesktop.DBus 1075s # Member: NameOwnerChanged 1075s # String argument 0: would I lie to you? 1075s # Waiting for signal to reach message bus 1075s # Step 2: emitting signal 1075s # Sender: attacker 1075s # Destination: subscriber :1.0 1075s # Path: /org/freedesktop/DBus 1075s # Interface: org.freedesktop.DBus 1075s # Member: NameOwnerChanged 1075s # Waiting for signal to reach message bus 1075s # Step 3: claiming bus name 1075s # Name: org.gtk.Test.OwnedLater 1075s # Owner: service 1075s # Signal received from message bus org.freedesktop.DBus 1075s # Signal received from (unused) org.freedesktop.DBus via connection 1075s # Path: /org/freedesktop/DBus 1075s # Interface: org.freedesktop.DBus 1075s # Member: NameOwnerChanged 1075s # Signal received from message bus org.freedesktop.DBus 1075s # Signal received from (unused) org.freedesktop.DBus via proxy 1075s # Path: /org/freedesktop/DBus 1075s # Interface: org.freedesktop.DBus 1075s # Member: NameOwnerChanged 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1075s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1075s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1075s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1075s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_ZPJJK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1075s # subscriber is :1.0 1075s # service is :1.1 1075s # service 2 is :1.2 1075s # attacker is :1.3 1075s # Waiting for AddMatch to be processed 1075s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1075s # Step 0: claiming bus name 1075s # Name: org.gtk.Test.AlreadyOwned 1075s # Owner: service 1075s # Step 1: adding subscription 1075s # Sender: org.gtk.Test.AlreadyOwned 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: (any) 1075s # String argument 0: (any) 1075s # Flags: 0 1075s # Subscribing via connection 1075s # Immediately unsubscribing 1075s # Subscribing via proxy 1075s # Waiting for AddMatch to be processed 1075s # Step 2: emitting signal 1075s # Sender: service 1075s # Destination: (broadcast) 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Waiting for signal to reach message bus 1075s # Signal received from service :1.1 1075s # Signal received from service :1.1 via proxy 1075s # Path: /org/gtk/GDBus/ExampleInterface 1075s # Interface: org.gtk.GDBus.ExampleInterface 1075s # Member: Foo 1075s # Argument 0: (not a string) 1075s # Sent in step: 2 1075s # Received Finished signal from subscriber :1.0 1075s # Received Finished signal from service :1.1 1075s # Received Finished signal from service 2 :1.2 1075s # Received Finished signal from attacker :1.3 1075s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1075s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1075s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1075s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1075s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1075s # End of parallel tests 1075s # End of subscribe tests 1075s # End of gdbus tests 1075s TAP version 14 1075s # random seed: R02S4d65e3695f51da1fe5d971fc1a7bd985 1075s 1..27 1075s # Start of boxed tests 1075s ok 1 /boxed/define 1075s ok 2 /boxed/ownership 1075s ok 3 /boxed/closure 1075s ok 4 /boxed/date 1075s ok 5 /boxed/value 1075s ok 6 /boxed/string 1075s ok 7 /boxed/hashtable 1075s ok 8 /boxed/array 1075s ok 9 /boxed/ptrarray 1075s ok 10 /boxed/regex 1075s ok 11 /boxed/varianttype 1075s ok 12 /boxed/error 1075s ok 13 /boxed/datetime 1075s ok 14 /boxed/matchinfo 1075s ok 15 /boxed/keyfile 1075s ok 16 /boxed/mainloop 1075s ok 17 /boxed/maincontext 1075s ok 18 /boxed/source 1075s ok 19 /boxed/variantbuilder 1075s ok 20 /boxed/timezone 1075s ok 21 /boxed/pollfd 1075s ok 22 /boxed/markup 1075s ok 23 /boxed/thread 1075s ok 24 /boxed/checksum 1075s ok 25 /boxed/tree 1075s ok 26 /boxed/patternspec 1075s ok 27 /boxed/rand 1075s # End of boxed tests 1075s TAP version 14 1075s # random seed: R02S3bedb7a890f4b32ada58c1df2f9b88c3 1075s 1..6 1075s # Start of callable-info tests 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_889OK3/callable-info/sync-function/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_889OK3/callable-info/sync-function/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_889OK3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_889OK3/callable-info/sync-function/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_889OK3/callable-info/sync-function/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_889OK3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_889OK3/callable-info/sync-function/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_889OK3/callable-info/sync-function/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_889OK3/callable-info/sync-function/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_889OK3/callable-info/sync-function/.dirs/runtime 1075s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1075s ok 1 /callable-info/sync-function 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_889OK3/callable-info/async-function/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_889OK3/callable-info/async-function/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_889OK3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_889OK3/callable-info/async-function/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_889OK3/callable-info/async-function/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_889OK3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_889OK3/callable-info/async-function/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_889OK3/callable-info/async-function/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_889OK3/callable-info/async-function/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_889OK3/callable-info/async-function/.dirs/runtime 1075s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1075s ok 2 /callable-info/async-function 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_889OK3/callable-info/is-method/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_889OK3/callable-info/is-method/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_889OK3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_889OK3/callable-info/is-method/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_889OK3/callable-info/is-method/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_889OK3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_889OK3/callable-info/is-method/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_889OK3/callable-info/is-method/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_889OK3/callable-info/is-method/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_889OK3/callable-info/is-method/.dirs/runtime 1075s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1075s ok 3 /callable-info/is-method 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_889OK3/callable-info/static-method/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_889OK3/callable-info/static-method/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_889OK3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_889OK3/callable-info/static-method/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_889OK3/callable-info/static-method/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_889OK3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_889OK3/callable-info/static-method/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_889OK3/callable-info/static-method/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_889OK3/callable-info/static-method/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_889OK3/callable-info/static-method/.dirs/runtime 1075s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1075s ok 4 /callable-info/static-method 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_889OK3/callable-info/static-vfunc/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_889OK3/callable-info/static-vfunc/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_889OK3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_889OK3/callable-info/static-vfunc/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_889OK3/callable-info/static-vfunc/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_889OK3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_889OK3/callable-info/static-vfunc/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_889OK3/callable-info/static-vfunc/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_889OK3/callable-info/static-vfunc/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_889OK3/callable-info/static-vfunc/.dirs/runtime 1075s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 1075s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 1075s # Start of platform tests 1075s # Start of unix tests 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_889OK3/callable-info/platform/unix/is-method/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_889OK3/callable-info/platform/unix/is-method/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_889OK3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_889OK3/callable-info/platform/unix/is-method/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_889OK3/callable-info/platform/unix/is-method/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_889OK3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_889OK3/callable-info/platform/unix/is-method/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_889OK3/callable-info/platform/unix/is-method/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_889OK3/callable-info/platform/unix/is-method/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_889OK3/callable-info/platform/unix/is-method/.dirs/runtime 1075s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1075s # Checking DesktopAppInfo in Gio 1075s # Checking DesktopAppInfo in GioUnix 1075s ok 6 /callable-info/platform/unix/is-method 1075s # End of unix tests 1075s # End of platform tests 1075s # End of callable-info tests 1075s TAP version 14 1075s # random seed: R02S58f5e79b10e757c535890ceef685a025 1075s 1..7 1075s # Start of spawn tests 1075s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1075s # 1075s # this is spawn-test-helper from glib/tests 1075s # 1075s ok 1 /spawn/do-not-search 1075s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1075s # 1075s # this is spawn-test-helper from path-test-subdir 1075s # 1075s ok 2 /spawn/search-path 1075s # /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. 1075s # 1075s # this is spawn-test-helper from path-test-subdir 1075s # 1075s ok 3 /spawn/search-path-from-envp 1075s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1075s # 1075s # this is spawn-test-helper from path-test-subdir 1075s # 1075s ok 4 /spawn/search-path-ambiguous 1075s # 1075s # this is spawn-test-helper from path-test-subdir 1075s # 1075s ok 5 /spawn/search-path-heap-allocation 1075s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1075s # 1075s # this is spawn-test-helper from glib/tests 1075s # 1075s ok 6 /spawn/search-path-fallback-in-environ 1075s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1075s # 1075s # this is spawn-test-helper from glib/tests 1075s # 1075s ok 7 /spawn/search-path-fallback-in-envp 1075s # End of spawn tests 1075s TAP version 14 1075s # random seed: R02S3be4f271f439b6d218a52b75e088c9e6 1075s 1..11 1075s # Start of proxy tests 1075s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 1075s ok 1 /proxy/direct_sync 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcaaf50 and GSocketClientAsyncConnectData 0xc04a6dcaa470 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcaba70 for GSocketClientAsyncConnectData 0xc04a6dcaa470 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1075s ok 2 /proxy/direct_async 1075s ok 3 /proxy/single_sync 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcab530 and GSocketClientAsyncConnectData 0xc04a6dcaa470 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcacbd0 for GSocketClientAsyncConnectData 0xc04a6dcaa470 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1075s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1075s ok 4 /proxy/single_async 1075s ok 5 /proxy/multiple_sync 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcab820 and GSocketClientAsyncConnectData 0xc04a6dcab7b0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcad110 for GSocketClientAsyncConnectData 0xc04a6dcab7b0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcad0b0 for GSocketClientAsyncConnectData 0xc04a6dcab7b0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1075s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1075s ok 6 /proxy/multiple_async 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1075s ok 7 /proxy/invalid-uris-sync 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcab410 and GSocketClientAsyncConnectData 0xc04a6dcad2a0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1075s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcab530 and GSocketClientAsyncConnectData 0xc04a6dcab7b0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1075s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcab410 and GSocketClientAsyncConnectData 0xc04a6dcad2a0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcabad0 for GSocketClientAsyncConnectData 0xc04a6dcad2a0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcab530 and GSocketClientAsyncConnectData 0xc04a6dcad2a0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcad310 for GSocketClientAsyncConnectData 0xc04a6dcad2a0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1075s ok 8 /proxy/invalid-uris-async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcaaf50 and GSocketClientAsyncConnectData 0xc04a6dcad2a0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1075s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1075s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcad430 and GSocketClientAsyncConnectData 0xc04a6dcab9c0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcaca30 for GSocketClientAsyncConnectData 0xc04a6dcab9c0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1075s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcab410 and GSocketClientAsyncConnectData 0xc04a6dcab7b0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcabad0 for GSocketClientAsyncConnectData 0xc04a6dcab7b0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1075s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1075s ok 9 /proxy/dns 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcaaf50 and GSocketClientAsyncConnectData 0xc04a6dcab7b0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcabad0 for GSocketClientAsyncConnectData 0xc04a6dcab7b0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1075s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcab410 and GSocketClientAsyncConnectData 0xc04a6dcab5f0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcaca30 for GSocketClientAsyncConnectData 0xc04a6dcab5f0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1075s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1075s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc04a6dcaaf50 and GSocketClientAsyncConnectData 0xc04a6dcad2a0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc04a6dcad110 for GSocketClientAsyncConnectData 0xc04a6dcad2a0 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1075s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1075s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1075s ok 10 /proxy/override 1075s ok 11 /proxy/enumerator-ports 1075s # End of proxy tests 1075s TAP version 14 1075s # random seed: R02S4a41fa16cb625e5f72ef79f0a9f40ff0 1075s 1..25 1075s # Start of string tests 1075s ok 1 /string/chunks 1075s ok 2 /string/chunk-insert 1075s ok 3 /string/new 1075s ok 4 /string/printf 1075s ok 5 /string/assign 1075s ok 6 /string/append-c 1075s ok 7 /string/append 1075s ok 8 /string/append-vprintf 1075s ok 9 /string/prepend-c 1075s ok 10 /string/prepend 1075s ok 11 /string/insert 1075s ok 12 /string/insert-unichar 1075s ok 13 /string/equal 1075s ok 14 /string/truncate 1075s ok 15 /string/overwrite 1075s ok 16 /string/nul-handling 1075s ok 17 /string/up-down 1075s ok 18 /string/set-size 1075s ok 19 /string/to-bytes 1075s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1075s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1075s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1075s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1075s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1075s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1075s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1075s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1075s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1075s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1075s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1075s # -> 4 replacements, "fd fr fals" 1075s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1075s # -> 3 replacements, "aaaaaaaaa" 1075s # 7: Replacing "a" with "" (limit 0) in "aaa" 1075s # -> 3 replacements, "" 1075s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1075s # -> 1 replacements, "bba" 1075s # 9: Replacing "" with "bar" (limit 0) in "foo" 1075s # -> 4 replacements, "barfbarobarobar" 1075s # 10: Replacing "" with "bar" (limit 1) in "foo" 1075s # -> 1 replacements, "barfoo" 1075s # 11: Replacing "" with "bar" (limit 2) in "foo" 1075s # -> 2 replacements, "barfbaroo" 1075s # 12: Replacing "" with "bar" (limit 3) in "foo" 1075s # -> 3 replacements, "barfbarobaro" 1075s # 13: Replacing "" with "bar" (limit 4) in "foo" 1075s # -> 4 replacements, "barfbarobarobar" 1075s # 14: Replacing "" with "bar" (limit 5) in "foo" 1075s # -> 4 replacements, "barfbarobarobar" 1075s # 15: Replacing "" with "x" (limit 0) in "" 1075s # -> 1 replacements, "x" 1075s # 16: Replacing "" with "" (limit 0) in "" 1075s # -> 1 replacements, "" 1075s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1075s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1075s ok 20 /string/replace 1075s ok 21 /string/steal 1075s ok 22 /string/new-take 1075s ok 23 /string/copy 1075s ok 24 /string/sized-new 1075s # Start of new-take tests 1075s ok 25 /string/new-take/null 1075s # End of new-take tests 1075s # End of string tests 1075s TAP version 14 1075s # random seed: R02S9dc7f89d8652c938d2e756ca8af137ec 1075s 1..69 1075s # Start of gvariant tests 1075s ok 1 /gvariant/type 1075s ok 2 /gvariant/typeinfo 1075s ok 3 /gvariant/string 1075s ok 4 /gvariant/utf8 1075s ok 5 /gvariant/utf8-new-strings 1075s ok 6 /gvariant/containers 1075s ok 7 /gvariant/format-strings 1075s ok 8 /gvariant/invalid-varargs 1075s ok 9 /gvariant/varargs 1075s ok 10 /gvariant/valist 1075s ok 11 /gvariant/builder-memory 1075s ok 12 /gvariant/hashing 1075s ok 13 /gvariant/byteswap 1075s ok 14 /gvariant/parser 1075s ok 15 /gvariant/parse-failures 1075s ok 16 /gvariant/parse-positional 1075s ok 17 /gvariant/floating 1075s ok 18 /gvariant/bytestring 1075s ok 19 /gvariant/lookup-value 1075s ok 20 /gvariant/lookup 1075s ok 21 /gvariant/compare 1075s ok 22 /gvariant/equal 1075s ok 23 /gvariant/fixed-array 1075s ok 24 /gvariant/check-format-string 1075s ok 25 /gvariant/checksum-basic 1075s ok 26 /gvariant/checksum-nested 1075s ok 27 /gvariant/gbytes 1075s ok 28 /gvariant/print-context 1075s ok 29 /gvariant/error-quark 1075s ok 30 /gvariant/stack-builder-init 1075s ok 31 /gvariant/stack-builder-init-static 1075s ok 32 /gvariant/stack-builder-init-unset 1075s ok 33 /gvariant/stack-dict-init 1075s ok 34 /gvariant/unaligned-construction 1075s # Start of type tests 1075s # Start of string-scan tests 1075s # Start of recursion tests 1075s ok 35 /gvariant/type/string-scan/recursion/tuple 1075s ok 36 /gvariant/type/string-scan/recursion/array 1075s # End of recursion tests 1075s # End of string-scan tests 1075s # End of type tests 1075s # Start of serialiser tests 1075s ok 37 /gvariant/serialiser/maybe 1075s ok 38 /gvariant/serialiser/array 1075s ok 39 /gvariant/serialiser/tuple 1075s ok 40 /gvariant/serialiser/variant 1075s ok 41 /gvariant/serialiser/strings 1075s ok 42 /gvariant/serialiser/byteswap 1075s # slow test /gvariant/serialiser/byteswap executed in 0.93 secs 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1075s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1075s ok 43 /gvariant/serialiser/children 1075s # Start of byteswap tests 1075s ok 44 /gvariant/serialiser/byteswap/zero-sized 1075s # End of byteswap tests 1075s # Start of fuzz tests 1075s ok 45 /gvariant/serialiser/fuzz/1% 1075s ok 46 /gvariant/serialiser/fuzz/5% 1075s ok 47 /gvariant/serialiser/fuzz/9% 1075s ok 48 /gvariant/serialiser/fuzz/13% 1075s ok 49 /gvariant/serialiser/fuzz/17% 1075s # End of fuzz tests 1075s # End of serialiser tests 1075s # Start of utf8 tests 1075s # Start of subprocess tests 1075s # End of subprocess tests 1075s # End of utf8 tests 1075s # Start of varargs tests 1075s # Start of subprocess tests 1075s # End of subprocess tests 1075s # End of varargs tests 1075s # Start of byteswap tests 1075s # /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. 1075s ok 50 /gvariant/byteswap/non-normal-non-aligned 1075s # End of byteswap tests 1075s # Start of parser tests 1075s ok 51 /gvariant/parser/integer-bounds 1075s ok 52 /gvariant/parser/recursion 1075s # Start of recursion tests 1075s ok 53 /gvariant/parser/recursion/typedecls 1075s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1075s # Text form 0: @mmmu 5 1075s # Text form 1: @mmmas ['hello'] 1075s # Text form 2: @mmmu just just nothing 1075s # Text form 3: @mmmas just just nothing 1075s # Text form 4: @mmmu just nothing 1075s # Text form 5: @mmmas just nothing 1075s # Text form 6: @mmmu nothing 1075s # Text form 7: @mmmas nothing 1075s ok 54 /gvariant/parser/recursion/maybes 1075s # End of recursion tests 1075s # End of parser tests 1075s # Start of parse tests 1075s # Start of subprocess tests 1075s # End of subprocess tests 1075s # End of parse tests 1075s # Start of normal-checking tests 1075s ok 55 /gvariant/normal-checking/tuples 1075s ok 56 /gvariant/normal-checking/array-offsets 1075s ok 57 /gvariant/normal-checking/array-offsets2 1075s ok 58 /gvariant/normal-checking/tuple-offsets 1075s ok 59 /gvariant/normal-checking/tuple-offsets2 1075s ok 60 /gvariant/normal-checking/tuple-offsets3 1075s ok 61 /gvariant/normal-checking/tuple-offsets4 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1075s ok 62 /gvariant/normal-checking/tuple-offsets5 1075s ok 63 /gvariant/normal-checking/empty-object-path 1075s # Start of array-offsets tests 1075s ok 64 /gvariant/normal-checking/array-offsets/overlapped 1075s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 1075s # End of array-offsets tests 1075s # Start of tuple-offsets tests 1075s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 1075s # End of tuple-offsets tests 1075s # End of normal-checking tests 1075s # Start of recursion-limits tests 1075s ok 67 /gvariant/recursion-limits/variant-in-variant 1075s ok 68 /gvariant/recursion-limits/array-in-variant 1075s # End of recursion-limits tests 1075s # End of gvariant tests 1075s # Start of gvarianttype tests 1075s ok 69 /gvarianttype/hash 1075s # End of gvarianttype tests 1075s TAP version 14 1075s # random seed: R02Se44041e4531d280be4d88fe2327ebf8e 1075s 1..7 1075s # Start of threadpool tests 1075s ok 1 /threadpool/functions 1075s ok - glib/gvariant.test 1075s # Running test: glib/thread-pool-slow.test 1076s # Executing: glib/thread-pool-slow.test 1076s ok 2 /threadpool/stop-unused 1076s # slow test /threadpool/stop-unused executed in 0.51 secs 1076s ok 3 /threadpool/pools 1076s # [unsorted] ===> pushed new thread with id:38, number of threads:1, unprocessed:1 1076s # [unsorted] ===> pushed new thread with id:41, number of threads:2, unprocessed:2 1076s # [unsorted] ===> pushed new thread with id:68, number of threads:3, unprocessed:3 1076s # [unsorted] ===> pushed new thread with id:19, number of threads:4, unprocessed:4 1076s # [unsorted] ===> pushed new thread with id:15, number of threads:5, unprocessed:5 1076s # [unsorted] ===> pushed new thread with id:13, number of threads:6, unprocessed:6 1076s # [unsorted] ===> pushed new thread with id:26, number of threads:7, unprocessed:7 1076s # [unsorted] ===> pushed new thread with id:45, number of threads:8, unprocessed:7 1076s # [unsorted] ===> pushed new thread with id:86, number of threads:9, unprocessed:8 1076s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:9 1076s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:10 1076s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:11 1076s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:12 1076s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:13 1076s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:14 1076s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:15 1076s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:16 1076s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:17 1076s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:18 1076s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:19 1076s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:20 1076s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:21 1076s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:22 1076s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:23 1076s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:24 1076s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:25 1076s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:26 1076s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:27 1076s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:28 1076s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:29 1076s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:30 1076s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:31 1076s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:32 1076s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:33 1076s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:34 1076s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:35 1076s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:36 1076s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:36 1076s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:37 1076s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:38 1076s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:39 1076s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:39 1076s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:40 1076s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:40 1076s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:41 1076s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:42 1076s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:43 1076s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:44 1076s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:45 1076s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:46 1076s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:47 1076s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:48 1076s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:49 1076s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:50 1076s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:51 1076s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:52 1076s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:53 1076s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:54 1076s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:55 1076s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:56 1076s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:57 1076s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:58 1076s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:59 1076s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:60 1076s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:61 1076s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:62 1076s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:63 1076s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:64 1076s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:65 1076s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:66 1076s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:67 1076s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:68 1076s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:69 1076s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:70 1076s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:71 1076s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:72 1076s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:73 1076s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:74 1076s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:75 1076s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:76 1076s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:77 1076s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:78 1076s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:79 1076s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:80 1076s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:81 1076s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:82 1076s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:83 1076s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:84 1076s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:85 1076s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:86 1076s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:87 1076s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:88 1076s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:89 1076s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:90 1076s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:91 1076s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:92 1076s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:93 1076s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:94 1076s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:95 1076s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:96 1076s ok 4 /threadpool/no-sort 1076s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:1 1076s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:2 1076s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:3 1076s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:4 1076s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:5 1076s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:6 1076s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:7 1076s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:8 1076s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:9 1076s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:10 1076s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:11 1076s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:12 1076s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:13 1076s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:14 1076s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:15 1076s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:16 1076s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:17 1076s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:18 1076s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:19 1076s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:20 1076s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:21 1076s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:22 1076s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:23 1076s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:24 1076s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:25 1076s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:26 1076s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:27 1076s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:28 1076s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:29 1076s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:30 1076s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:31 1076s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:32 1076s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:33 1076s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:34 1076s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:35 1076s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:36 1076s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:37 1076s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:38 1076s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:39 1076s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:40 1076s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:41 1076s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:42 1076s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:43 1076s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:44 1076s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:45 1076s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:46 1076s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:47 1076s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:48 1076s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:49 1076s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:50 1076s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:51 1076s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:52 1076s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:53 1076s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:54 1076s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:55 1076s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:56 1076s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:57 1076s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:58 1076s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:59 1076s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:60 1076s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:61 1076s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:62 1076s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:63 1076s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:64 1076s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:65 1076s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:66 1076s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:67 1076s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:68 1076s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:69 1076s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:70 1076s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:71 1076s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:72 1076s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:73 1076s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:74 1076s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:75 1076s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:76 1076s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:77 1076s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:78 1076s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:79 1076s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:80 1076s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:81 1076s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:82 1076s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:83 1076s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:84 1076s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:85 1076s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:86 1076s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:87 1076s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:88 1076s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:89 1076s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:90 1076s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:91 1076s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:92 1076s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:93 1076s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:94 1076s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:95 1076s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:96 1076s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:97 1076s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:98 1076s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:99 1076s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:100 1076s # Starting thread pool processing 1076s ok 5 /threadpool/sort 1076s ok 6 /threadpool/stop-unused-multiple 1076s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1076s # Pool idle thread count: 0, unprocessed jobs: 46 1077s # Pool idle thread count: 0, unprocessed jobs: 0 1078s # Pool idle thread count: 0, unprocessed jobs: 0 1078s # Pool idle thread count: 10, unprocessed jobs: 0 1078s # Pool idle thread count: 10, unprocessed jobs: 0 1078s # Pool idle thread count: 10, unprocessed jobs: 0 1078s # Pool idle thread count: 10, unprocessed jobs: 0 1078s # Pool idle thread count: 10, unprocessed jobs: 0 1078s # Pool idle thread count: 10, unprocessed jobs: 0 1079s # Pool idle thread count: 10, unprocessed jobs: 0 1079s # Pool idle thread count: 10, unprocessed jobs: 0 1079s # Pool idle thread count: 10, unprocessed jobs: 0 1079s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Executing: glib/thread-pool-slow.test 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 2 1085s # Pool idle thread count: 8, unprocessed jobs: 0 1085s # Pool idle thread count: 8, unprocessed jobs: 0 1085s # Pool idle thread count: 8, unprocessed jobs: 0 1086s # Executing: glib/thread-pool-slow.test 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 2, unprocessed jobs: 0 1087s # Pool idle thread count: 2, unprocessed jobs: 0 1088s # Pool idle thread count: 2, unprocessed jobs: 0 1088s # Pool idle thread count: 2, unprocessed jobs: 0 1088s # Pool idle thread count: 2, unprocessed jobs: 0 1088s # Pool idle thread count: 2, unprocessed jobs: 0 1089s # Pool idle thread count: 2, unprocessed jobs: 0 1089s # Pool idle thread count: 2, unprocessed jobs: 0 1089s # Pool idle thread count: 2, unprocessed jobs: 0 1089s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Executing: glib/thread-pool-slow.test 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1096s # Executing: glib/thread-pool-slow.test 1096s ok - glib/thread-pool-slow.test 1096s ok 7 /threadpool/idle-time 1096s # slow test /threadpool/idle-time executed in 19.52 secs 1096s # End of threadpool tests 1096s # Running test: glib/unicode.test 1096s TAP version 14 1096s # random seed: R02S68118c890c07d11ddb2b2d919d127e45 1096s 1..39 1096s # Start of unicode tests 1096s ok 1 /unicode/alnum 1096s ok 2 /unicode/alpha 1096s ok 3 /unicode/break-type 1096s ok 4 /unicode/canonical-decomposition 1096s ok 5 /unicode/casefold 1096s # Cannot set locale to lt_LT, skipping 1096s # Cannot set locale to lt_LT, skipping 1096s # Cannot set locale to lt_LT, skipping 1096s # Cannot set locale to lt_LT, skipping 1096s # Cannot set locale to lt_LT, skipping 1096s # Cannot set locale to lt_LT, skipping 1096s # Cannot set locale to lt_LT, skipping 1096s # Cannot set locale to lt_LT, skipping 1096s # Cannot set locale to lt_LT, skipping 1096s # Cannot set locale to lt_LT, skipping 1096s # Cannot set locale to lt_LT, skipping 1096s ok 6 /unicode/casemap_and_casefold 1096s ok 7 /unicode/cases 1096s ok 8 /unicode/character-type 1096s ok 9 /unicode/cntrl 1096s ok 10 /unicode/combining-class 1096s # Composing U+000041 and U+000042; expecting U+000000 1096s # Composing U+000041 and U+000000; expecting U+000000 1096s # Composing U+000066 and U+000069; expecting U+000000 1096s # Composing U+000308 and U+000301; expecting U+000000 1096s # Composing U+000f71 and U+000f72; expecting U+000000 1096s # Composing U+00212b and U+000000; expecting U+000000 1096s # Composing U+0000c5 and U+000000; expecting U+000000 1096s # Composing U+002126 and U+000000; expecting U+000000 1096s # Composing U+0003a9 and U+000000; expecting U+000000 1096s # Composing U+000041 and U+00030a; expecting U+0000c5 1096s # Composing U+00006f and U+000302; expecting U+0000f4 1096s # Composing U+001e63 and U+000307; expecting U+001e69 1096s # Composing U+000073 and U+000323; expecting U+001e63 1096s # Composing U+000064 and U+000307; expecting U+001e0b 1096s # Composing U+000064 and U+000323; expecting U+001e0d 1096s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 1096s # Composing U+001111 and U+001171; expecting U+00d4cc 1096s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 1096s # Composing U+00110e and U+001173; expecting U+00ce20 1096s # Composing U+001100 and U+001160; expecting U+000000 1096s # Composing U+001100 and U+001177; expecting U+000000 1096s # Composing U+00abff and U+0011b6; expecting U+000000 1096s # Composing U+00d7a5 and U+0011b6; expecting U+000000 1096s # Composing U+00ac01 and U+0011b6; expecting U+000000 1096s # Composing U+00d4cc and U+0011a6; expecting U+000000 1096s # Composing U+00d4cc and U+0011c4; expecting U+000000 1096s # Composing U+01611e and U+01611e; expecting U+016121 1096s # Composing U+01611e and U+01611f; expecting U+016123 1096s # Composing U+0000f6 and U+000304; expecting U+00022b 1096s # Composing U+000b47 and U+000b57; expecting U+000b4c 1096s # Composing U+0000a0 and U+000b57; expecting U+000000 1096s # Composing U+016e00 and U+00030a; expecting U+000000 1096s # Composing U+00212b and U+016e00; expecting U+000000 1096s # Composing U+001e63 and U+000306; expecting U+000000 1096s # Composing U+001e63 and U+000304; expecting U+000000 1096s # Composing U+001e63 and U+000b57; expecting U+000000 1096s # Composing U+001e63 and U+000000; expecting U+000000 1096s # Composing U+001e63 and U+0113c2; expecting U+000000 1096s # Composing U+001f01 and U+0113c2; expecting U+000000 1096s # Composing U+00006e and U+000302; expecting U+000000 1096s # Composing U+001e63 and U+01611f; expecting U+000000 1096s # Composing U+01138e and U+0113b8; expecting U+000000 1096s # Composing U+01611e and U+000000; expecting U+000000 1096s # Composing U+000000 and U+01611f; expecting U+000000 1096s # Composing U+011390 and U+0113c2; expecting U+000000 1096s ok 11 /unicode/compose 1096s ok 12 /unicode/decompose 1096s ok 13 /unicode/decompose-tail 1096s ok 14 /unicode/defined 1096s ok 15 /unicode/digit 1096s ok 16 /unicode/digit-value 1096s # Fully decomposing U+000041; expecting 1 codepoints 1096s # Fully decomposing U+00fb01; expecting 1 codepoints 1096s # Fully decomposing U+00212b; expecting 2 codepoints 1096s # Fully decomposing U+002126; expecting 1 codepoints 1096s # Fully decomposing U+000344; expecting 2 codepoints 1096s # Fully decomposing U+000f73; expecting 2 codepoints 1096s # Fully decomposing U+0000c5; expecting 2 codepoints 1096s # Fully decomposing U+0000f4; expecting 2 codepoints 1096s # Fully decomposing U+001e69; expecting 3 codepoints 1096s # Fully decomposing U+001e63; expecting 2 codepoints 1096s # Fully decomposing U+001e0b; expecting 2 codepoints 1096s # Fully decomposing U+001e0d; expecting 2 codepoints 1096s # Fully decomposing U+00d4db; expecting 3 codepoints 1096s # Fully decomposing U+00d4cc; expecting 2 codepoints 1096s # Fully decomposing U+00ce31; expecting 3 codepoints 1096s # Fully decomposing U+00ce20; expecting 2 codepoints 1096s ok 17 /unicode/fully-decompose-canonical 1096s ok 18 /unicode/fully-decompose-len 1096s ok 19 /unicode/normalization 1096s ok 20 /unicode/graph 1096s # Testing script Zyyy (code 1517910393) 1096s # Testing script Zinh (code 1516858984) 1096s # Testing script Zmth (code 1517122664) 1096s # Testing script Arab (code 1098015074) 1096s # Testing script Armn (code 1098018158) 1096s # Testing script Beng (code 1113943655) 1096s # Testing script Bopo (code 1114599535) 1096s # Testing script Cher (code 1130915186) 1096s # Testing script Copt (code 1131376756) 1096s # Testing script Cyrl (code 1132032620) 1096s # Testing script Dsrt (code 1148416628) 1096s # Testing script Deva (code 1147500129) 1096s # Testing script Ethi (code 1165256809) 1096s # Testing script Geor (code 1197830002) 1096s # Testing script Goth (code 1198486632) 1096s # Testing script Grek (code 1198679403) 1096s # Testing script Gujr (code 1198877298) 1096s # Testing script Guru (code 1198879349) 1096s # Testing script Hani (code 1214344809) 1096s # Testing script Hang (code 1214344807) 1096s # Testing script Hebr (code 1214603890) 1096s # Testing script Hira (code 1214870113) 1096s # Testing script Knda (code 1265525857) 1096s # Testing script Kana (code 1264676449) 1096s # Testing script Khmr (code 1265134962) 1096s # Testing script Laoo (code 1281453935) 1096s # Testing script Latn (code 1281455214) 1096s # Testing script Mlym (code 1298954605) 1096s # Testing script Mong (code 1299148391) 1096s # Testing script Mymr (code 1299803506) 1096s # Testing script Ogam (code 1332175213) 1096s # Testing script Ital (code 1232363884) 1096s # Testing script Orya (code 1332902241) 1096s # Testing script Runr (code 1383427698) 1096s # Testing script Sinh (code 1399418472) 1096s # Testing script Syrc (code 1400468067) 1096s # Testing script Taml (code 1415671148) 1096s # Testing script Telu (code 1415933045) 1096s # Testing script Thaa (code 1416126817) 1096s # Testing script Thai (code 1416126825) 1096s # Testing script Tibt (code 1416192628) 1096s # Testing script Cans (code 1130458739) 1096s # Testing script Yiii (code 1500080489) 1096s # Testing script Tglg (code 1416064103) 1096s # Testing script Hano (code 1214344815) 1096s # Testing script Buhd (code 1114990692) 1096s # Testing script Tagb (code 1415669602) 1096s # Testing script Brai (code 1114792297) 1096s # Testing script Cprt (code 1131442804) 1096s # Testing script Limb (code 1281977698) 1096s # Testing script Osma (code 1332964705) 1096s # Testing script Shaw (code 1399349623) 1096s # Testing script Linb (code 1281977954) 1096s # Testing script Tale (code 1415670885) 1096s # Testing script Ugar (code 1432838514) 1096s # Testing script Talu (code 1415670901) 1096s # Testing script Bugi (code 1114990441) 1096s # Testing script Glag (code 1198285159) 1096s # Testing script Tfng (code 1415999079) 1096s # Testing script Sylo (code 1400466543) 1096s # Testing script Xpeo (code 1483761007) 1096s # Testing script Khar (code 1265131890) 1096s # Testing script Zzzz (code 1517976186) 1096s # Testing script Bali (code 1113681001) 1096s # Testing script Xsux (code 1483961720) 1096s # Testing script Phnx (code 1349021304) 1096s # Testing script Phag (code 1349017959) 1096s # Testing script Nkoo (code 1315663727) 1096s # Testing script Kali (code 1264675945) 1096s # Testing script Lepc (code 1281716323) 1096s # Testing script Rjng (code 1382706791) 1096s # Testing script Sund (code 1400204900) 1096s # Testing script Saur (code 1398895986) 1096s # Testing script Cham (code 1130914157) 1096s # Testing script Olck (code 1332503403) 1096s # Testing script Vaii (code 1449224553) 1096s # Testing script Cari (code 1130459753) 1096s # Testing script Lyci (code 1283023721) 1096s # Testing script Lydi (code 1283023977) 1096s # Testing script Avst (code 1098281844) 1096s # Testing script Bamu (code 1113681269) 1096s # Testing script Egyp (code 1164409200) 1096s # Testing script Armi (code 1098018153) 1096s # Testing script Phli (code 1349020777) 1096s # Testing script Prti (code 1349678185) 1096s # Testing script Java (code 1247901281) 1096s # Testing script Kthi (code 1265920105) 1096s # Testing script Lisu (code 1281979253) 1096s # Testing script Mtei (code 1299473769) 1096s # Testing script Sarb (code 1398895202) 1096s # Testing script Orkh (code 1332898664) 1096s # Testing script Samr (code 1398893938) 1096s # Testing script Lana (code 1281453665) 1096s # Testing script Tavt (code 1415673460) 1096s # Testing script Batk (code 1113683051) 1096s # Testing script Brah (code 1114792296) 1096s # Testing script Mand (code 1298230884) 1096s # Testing script Cakm (code 1130457965) 1096s # Testing script Merc (code 1298494051) 1096s # Testing script Mero (code 1298494063) 1096s # Testing script Plrd (code 1349284452) 1096s # Testing script Shrd (code 1399353956) 1096s # Testing script Sora (code 1399812705) 1096s # Testing script Takr (code 1415670642) 1096s # Testing script Bass (code 1113682803) 1096s # Testing script Aghb (code 1097295970) 1096s # Testing script Dupl (code 1148547180) 1096s # Testing script Elba (code 1164730977) 1096s # Testing script Gran (code 1198678382) 1096s # Testing script Khoj (code 1265135466) 1096s # Testing script Sind (code 1399418468) 1096s # Testing script Lina (code 1281977953) 1096s # Testing script Mahj (code 1298229354) 1096s # Testing script Mani (code 1298230889) 1096s # Testing script Mend (code 1298493028) 1096s # Testing script Modi (code 1299145833) 1096s # Testing script Mroo (code 1299345263) 1096s # Testing script Nbat (code 1315070324) 1096s # Testing script Narb (code 1315009122) 1096s # Testing script Perm (code 1348825709) 1096s # Testing script Hmng (code 1215131239) 1096s # Testing script Palm (code 1348562029) 1096s # Testing script Pauc (code 1348564323) 1096s # Testing script Phlp (code 1349020784) 1096s # Testing script Sidd (code 1399415908) 1096s # Testing script Tirh (code 1416196712) 1096s # Testing script Wara (code 1466004065) 1096s # Testing script Ahom (code 1097363309) 1096s # Testing script Hluw (code 1215067511) 1096s # Testing script Hatr (code 1214346354) 1096s # Testing script Mult (code 1299541108) 1096s # Testing script Hung (code 1215655527) 1096s # Testing script Sgnw (code 1399287415) 1096s # Testing script Adlm (code 1097100397) 1096s # Testing script Bhks (code 1114139507) 1096s # Testing script Marc (code 1298231907) 1096s # Testing script Newa (code 1315272545) 1096s # Testing script Osge (code 1332963173) 1096s # Testing script Tang (code 1415671399) 1096s # Testing script Gonm (code 1198485101) 1096s # Testing script Nshu (code 1316186229) 1096s # Testing script Soyo (code 1399814511) 1096s # Testing script Zanb (code 1516334690) 1096s # Testing script Dogr (code 1148151666) 1096s # Testing script Gong (code 1198485095) 1096s # Testing script Rohg (code 1383032935) 1096s # Testing script Maka (code 1298230113) 1096s # Testing script Medf (code 1298490470) 1096s # Testing script Sogo (code 1399809903) 1096s # Testing script Sogd (code 1399809892) 1096s # Testing script Elym (code 1164736877) 1096s # Testing script Nand (code 1315008100) 1096s # Testing script Hmnp (code 1215131248) 1096s # Testing script Wcho (code 1466132591) 1096s # Testing script Chrs (code 1130918515) 1096s # Testing script Diak (code 1147756907) 1096s # Testing script Kits (code 1265202291) 1096s # Testing script Yezi (code 1499822697) 1096s # Testing script Cpmn (code 1131441518) 1096s # Testing script Ougr (code 1333094258) 1096s # Testing script Tnsa (code 1416524641) 1096s # Testing script Toto (code 1416590447) 1096s # Testing script Vith (code 1449751656) 1096s # Testing script Kawi (code 1264678761) 1096s # Testing script Nagm (code 1315006317) 1096s # Testing script Todr (code 1416586354) 1096s # Testing script Gara (code 1197568609) 1096s # Testing script Tutg (code 1416983655) 1096s # Testing script Sunu (code 1400204917) 1096s # Testing script Gukh (code 1198877544) 1096s # Testing script Krai (code 1265787241) 1096s # Testing script Onao (code 1332633967) 1096s ok 21 /unicode/iso15924 1096s ok 22 /unicode/lower 1096s ok 23 /unicode/mark 1096s ok 24 /unicode/mirror 1096s ok 25 /unicode/print 1096s ok 26 /unicode/punctuation 1096s ok 27 /unicode/script 1096s ok 28 /unicode/space 1096s ok 29 /unicode/strdown 1096s ok 30 /unicode/strup 1096s ok 31 /unicode/turkish-strupdown 1096s ok 32 /unicode/title 1096s ok 33 /unicode/upper 1096s ok 34 /unicode/validate 1096s ok 35 /unicode/wide 1096s ok 36 /unicode/xdigit 1096s ok 37 /unicode/xdigit-value 1096s ok 38 /unicode/zero-width 1096s ok 39 /unicode/normalize 1096s # End of unicode tests 1096s ok - glib/unicode.test 1096s # Running test: glib/gdbus-auth.test 1096s TAP version 14 1096s # random seed: R02Sc63cfe7410f964e69aa6dbc26cef0d94 1096s 1..5 1096s # Start of gdbus tests 1096s # Start of auth tests 1096s # Start of client tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/EXTERNAL/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/EXTERNAL/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/EXTERNAL/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/EXTERNAL/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/EXTERNAL/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/EXTERNAL/.dirs/runtime 1096s ok 1 /gdbus/auth/client/EXTERNAL 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1096s ok - glib/gdbus-auth.test 1096s # Running test: glib/memory-monitor-dbus.test 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1096s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1096s # End of client tests 1096s # Start of server tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/ANONYMOUS/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/ANONYMOUS/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/ANONYMOUS/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/ANONYMOUS/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/ANONYMOUS/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1096s ok 3 /gdbus/auth/server/ANONYMOUS 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/EXTERNAL/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/EXTERNAL/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/EXTERNAL/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/EXTERNAL/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/EXTERNAL/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/EXTERNAL/.dirs/runtime 1096s ok 4 /gdbus/auth/server/EXTERNAL 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SUOOK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1096s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1096s # End of server tests 1096s # End of auth tests 1096s # End of gdbus tests 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s TAP version 13 1096s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1096s 1..1 1096s ok - glib/memory-monitor-dbus.test 1096s # Running test: glib/deftype.test 1096s ok - glib/deftype.test 1096s # Running test: glib/utf8-misc.test 1096s ok - glib/utf8-misc.test 1096s # Running test: glib/gdbus-export.test 1096s TAP version 14 1096s # random seed: R02S0bc1916a1027bc32272cba69a732d051 1096s 1..7 1096s # Start of utf8 tests 1096s ok 1 /utf8/strlen 1096s ok 2 /utf8/strncpy 1096s ok 3 /utf8/strrchr 1096s ok 4 /utf8/reverse 1096s ok 5 /utf8/substring 1096s ok 6 /utf8/make-valid 1096s ok 7 /utf8/truncate-middle 1096s # End of utf8 tests 1096s TAP version 14 1096s # random seed: R02S2fdba2c30dadd96b5312a981c482dd9c 1096s 1..7 1096s # Start of gdbus tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_Z387J3/gdbus/object-registration/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_Z387J3/gdbus/object-registration/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration/.dirs/runtime 1096s ok 1 /gdbus/object-registration 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures/.dirs/runtime 1096s ok 2 /gdbus/object-registration-with-closures 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures2/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures2/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures2/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures2/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures2/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures2/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures2/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Z387J3/gdbus/object-registration-with-closures2/.dirs/runtime 1096s ok 3 /gdbus/object-registration-with-closures2 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Z387J3/gdbus/registered-interfaces/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/registered-interfaces/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_Z387J3/gdbus/registered-interfaces/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/registered-interfaces/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_Z387J3/gdbus/registered-interfaces/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/registered-interfaces/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/registered-interfaces/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Z387J3/gdbus/registered-interfaces/.dirs/runtime 1096s ok 4 /gdbus/registered-interfaces 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Z387J3/gdbus/async-properties/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/async-properties/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_Z387J3/gdbus/async-properties/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/async-properties/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_Z387J3/gdbus/async-properties/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/async-properties/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/async-properties/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Z387J3/gdbus/async-properties/.dirs/runtime 1096s ok 5 /gdbus/async-properties 1096s # Start of threaded-unregistration tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/object/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/object/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/object/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/object/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/object/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/object/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/object/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/object/.dirs/runtime 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1096s # /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 1097s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1097s # slow test /gdbus/threaded-unregistration/object executed in 1.05 secs 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/subtree/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/subtree/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/subtree/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/subtree/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/subtree/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Z387J3/gdbus/threaded-unregistration/subtree/.dirs/runtime 1097s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1097s # /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 1098s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 1098s # slow test /gdbus/threaded-unregistration/subtree executed in 1.08 secs 1098s # End of threaded-unregistration tests 1098s # End of gdbus tests 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s ok - glib/gdbus-export.test 1098s # Running test: glib/credentials.test 1098s TAP version 14 1098s # random seed: R02S1bbb02be39a4bce5719c0d21accfeb05 1098s 1..1 1098s # Start of credentials tests 1098s # GCredentials:linux-ucred:pid=39538,uid=1000,gid=1000 1098s # GCredentials:linux-ucred:pid=39538,uid=0,gid=1000 1098s ok 1 /credentials/basic 1098s # End of credentials tests 1098s ok - glib/credentials.test 1098s # Running test: glib/gdbus-serialization.test 1098s TAP version 14 1098s # random seed: R02Sb3e7398eb77e4ca68554e0bda02fb4c5 1098s 1..18 1098s # Start of gdbus tests 1098s # Start of message-serialize tests 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/basic/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/basic/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/basic/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/basic/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/basic/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/basic/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/basic/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/basic/.dirs/runtime 1098s ok 1 /gdbus/message-serialize/basic 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/complex/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/complex/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/complex/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/complex/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/complex/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/complex/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/complex/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/complex/.dirs/runtime 1098s ok 2 /gdbus/message-serialize/complex 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/invalid/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/invalid/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/invalid/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/invalid/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/invalid/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/invalid/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/invalid/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/invalid/.dirs/runtime 1098s ok 3 /gdbus/message-serialize/invalid 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/.dirs/runtime 1098s ok 4 /gdbus/message-serialize/header-checks 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/double-array/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/double-array/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/double-array/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/double-array/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/double-array/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/double-array/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/double-array/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/double-array/.dirs/runtime 1098s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1098s ok 5 /gdbus/message-serialize/double-array 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/empty-structure/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/empty-structure/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/empty-structure/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/empty-structure/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/empty-structure/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/empty-structure/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/empty-structure/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/empty-structure/.dirs/runtime 1098s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1098s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1098s ok 6 /gdbus/message-serialize/empty-structure 1098s # Start of header-checks tests 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/valid/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/valid/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/valid/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/valid/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/valid/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1098s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1098s ok 7 /gdbus/message-serialize/header-checks/valid 1098s # End of header-checks tests 1098s # End of message-serialize tests 1098s # Start of message-parse tests 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1098s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1098s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/non-signature-header/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/non-signature-header/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/non-signature-header/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/non-signature-header/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/non-signature-header/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/non-signature-header/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/non-signature-header/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/non-signature-header/.dirs/runtime 1098s ok 9 /gdbus/message-parse/non-signature-header 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-signature-header/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-signature-header/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-signature-header/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-signature-header/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-signature-header/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-signature-header/.dirs/runtime 1098s ok 10 /gdbus/message-parse/empty-signature-header 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/multiple-signature-header/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/multiple-signature-header/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/multiple-signature-header/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/multiple-signature-header/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/multiple-signature-header/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1098s ok 11 /gdbus/message-parse/multiple-signature-header 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/over-long-signature-header/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/over-long-signature-header/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/over-long-signature-header/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/over-long-signature-header/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/over-long-signature-header/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1098s ok 12 /gdbus/message-parse/over-long-signature-header 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-header-nesting/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-header-nesting/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-header-nesting/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-header-nesting/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-header-nesting/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1098s ok 13 /gdbus/message-parse/deep-header-nesting 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-body-nesting/.dirs/home 1098s ok - glib/gdbus-serialization.test 1098s # Running test: glib/object.test 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-body-nesting/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-body-nesting/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-body-nesting/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-body-nesting/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1098s ok 14 /gdbus/message-parse/deep-body-nesting 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/truncated/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/truncated/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/truncated/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/truncated/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/truncated/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/truncated/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/truncated/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/truncated/.dirs/runtime 1098s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1098s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1098s ok 15 /gdbus/message-parse/truncated 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-structure/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-structure/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-structure/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-structure/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-structure/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-structure/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-structure/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/empty-structure/.dirs/runtime 1098s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1098s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1098s ok 16 /gdbus/message-parse/empty-structure 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/missing-header/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/missing-header/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/missing-header/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/missing-header/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/missing-header/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/missing-header/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/missing-header/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/missing-header/.dirs/runtime 1098s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1098s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1098s ok 17 /gdbus/message-parse/missing-header 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/invalid-header-type/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/invalid-header-type/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/invalid-header-type/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/invalid-header-type/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/invalid-header-type/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_4433J3/gdbus/message-parse/invalid-header-type/.dirs/runtime 1098s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1098s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1098s ok 18 /gdbus/message-parse/invalid-header-type 1098s # End of message-parse tests 1098s # End of gdbus tests 1098s TAP version 14 1098s # random seed: R02S29abe53c796cb3feae640fe6cd6d9f3e 1098s 1..2 1098s # Start of object tests 1098s # Start of constructor tests 1098s ok 1 /object/constructor/singleton 1098s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1098s # End of constructor tests 1098s # End of object tests 1098s TAP version 14 1098s # random seed: R02S81f2edf17ef084a928eadc90495cbf3b 1098s 1..41 1098s # Start of utils tests 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/language-names/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/language-names/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/language-names/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/language-names/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/language-names/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/language-names/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/language-names/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/language-names/.dirs/runtime 1098s ok 1 /utils/language-names 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/locale-variants/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/locale-variants/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/locale-variants/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/locale-variants/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/locale-variants/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/locale-variants/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/locale-variants/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/locale-variants/.dirs/runtime 1098s # Testing locale ‘en’ 1098s # Testing locale ‘sr@latin’ 1098s # Testing locale ‘fr_BE’ 1098s # Testing locale ‘sr_SR@latin’ 1098s # Testing locale ‘sr_SR@latin.UTF-8’ 1098s # Testing locale ‘sr@latin_invalid’ 1098s # Testing locale ‘sr.UTF-8@latin’ 1098s # Testing locale ‘sr.UTF-8_latin’ 1098s # Testing locale ‘sr.UTF-8@latin_invalid’ 1098s ok 2 /utils/locale-variants 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/version/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/version/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/version/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/version/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/version/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/version/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/version/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/version/.dirs/runtime 1098s ok 3 /utils/version 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/appname/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/appname/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/appname/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/appname/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/appname/.dirs/system-data2 1098s ok - glib/object.test 1098s # Running test: glib/utils-c-11.test 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/appname/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/appname/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/appname/.dirs/runtime 1098s ok 4 /utils/appname 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/prgname-thread-safety/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/prgname-thread-safety/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/prgname-thread-safety/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/prgname-thread-safety/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/prgname-thread-safety/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/prgname-thread-safety/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/prgname-thread-safety/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/prgname-thread-safety/.dirs/runtime 1098s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1098s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1098s ok 5 /utils/prgname-thread-safety 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/tmpdir/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/tmpdir/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/tmpdir/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/tmpdir/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/tmpdir/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/tmpdir/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/tmpdir/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/tmpdir/.dirs/runtime 1098s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1098s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1098s Unable to clean up temporary directory /tmp/test_utils-c-11_QWQ3J3/utils/tmpdir: No such file or directory 1098s ok 6 /utils/tmpdir 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/basic_bits/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/basic_bits/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/basic_bits/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/basic_bits/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/basic_bits/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/basic_bits/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/basic_bits/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/basic_bits/.dirs/runtime 1098s ok 7 /utils/basic_bits 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/bits/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/bits/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/bits/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/bits/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/bits/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/bits/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/bits/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/bits/.dirs/runtime 1098s ok 8 /utils/bits 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/swap/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/swap/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/swap/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/swap/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/swap/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/swap/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/swap/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/swap/.dirs/runtime 1098s ok 9 /utils/swap 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/find-program/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/find-program/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/find-program/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/find-program/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/find-program/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/find-program/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/find-program/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/find-program/.dirs/runtime 1098s ok 10 /utils/find-program 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/find-program-for-path/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/find-program-for-path/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/find-program-for-path/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/find-program-for-path/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/find-program-for-path/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/find-program-for-path/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/find-program-for-path/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/find-program-for-path/.dirs/runtime 1098s ok 11 /utils/find-program-for-path 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/debug/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/debug/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/debug/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/debug/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/debug/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/debug/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/debug/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/debug/.dirs/runtime 1098s Unable to clean up temporary directory /tmp/test_utils-c-11_QWQ3J3/utils/debug: No such file or directory 1098s ok 12 /utils/debug 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/codeset/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/codeset/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/codeset/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/codeset/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/codeset/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/codeset/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/codeset/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/codeset/.dirs/runtime 1098s ok 13 /utils/codeset 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/codeset2/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/codeset2/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/codeset2/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/codeset2/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/codeset2/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/codeset2/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/codeset2/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/codeset2/.dirs/runtime 1098s Unable to clean up temporary directory /tmp/test_utils-c-11_QWQ3J3/utils/codeset2: No such file or directory 1098s ok 14 /utils/codeset2 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/console-charset/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/console-charset/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/console-charset/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/console-charset/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/console-charset/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/console-charset/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/console-charset/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/console-charset/.dirs/runtime 1098s ok 15 /utils/console-charset 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/gettext/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/gettext/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/gettext/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/gettext/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/gettext/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/gettext/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/gettext/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/gettext/.dirs/runtime 1098s ok 16 /utils/gettext 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/username/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/username/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/username/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/username/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/username/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/username/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/username/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/username/.dirs/runtime 1098s ok 17 /utils/username 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/realname/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/realname/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/realname/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/realname/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/realname/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/realname/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/realname/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/realname/.dirs/runtime 1098s ok 18 /utils/realname 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/hostname/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/hostname/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/hostname/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/hostname/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/hostname/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/hostname/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/hostname/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/hostname/.dirs/runtime 1098s ok 19 /utils/hostname 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/os-info/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/os-info/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/os-info/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/os-info/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/os-info/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/os-info/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/os-info/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/os-info/.dirs/runtime 1098s # NAME: Ubuntu 1098s ok 20 /utils/os-info 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/.dirs/runtime 1098s ok 21 /utils/clear-pointer 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer-cast/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer-cast/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer-cast/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer-cast/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer-cast/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer-cast/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer-cast/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer-cast/.dirs/runtime 1098s ok 22 /utils/clear-pointer-cast 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/take-pointer/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/take-pointer/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/take-pointer/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/take-pointer/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/take-pointer/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/take-pointer/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/take-pointer/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/take-pointer/.dirs/runtime 1098s ok 23 /utils/take-pointer 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-source/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-source/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-source/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-source/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-source/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-source/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-source/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/clear-source/.dirs/runtime 1098s ok 24 /utils/clear-source 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/misc-mem/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/misc-mem/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/misc-mem/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/misc-mem/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/misc-mem/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/misc-mem/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/misc-mem/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/misc-mem/.dirs/runtime 1098s ok 25 /utils/misc-mem 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/.dirs/runtime 1098s # /utils/aligned-mem summary: Aligned memory allocator 1098s # Alignment must not be zero 1098s # Alignment must be a power of two 1098s # Alignment must be a multiple of sizeof(void*) 1098s ok 26 /utils/aligned-mem 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/free-sized/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/free-sized/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/free-sized/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/free-sized/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/free-sized/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/free-sized/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/free-sized/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/free-sized/.dirs/runtime 1098s # /utils/free-sized summary: Check that g_free_sized() works 1098s ok 27 /utils/free-sized 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/nullify/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/nullify/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/nullify/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/nullify/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/nullify/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/nullify/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/nullify/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/nullify/.dirs/runtime 1098s ok 28 /utils/nullify 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/atexit/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/atexit/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/atexit/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/atexit/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/atexit/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/atexit/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/atexit/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/atexit/.dirs/runtime 1098s Unable to clean up temporary directory /tmp/test_utils-c-11_QWQ3J3/utils/atexit: No such file or directory 1098s ok 29 /utils/atexit 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/check-setuid/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/check-setuid/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/check-setuid/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/check-setuid/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/check-setuid/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/check-setuid/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/check-setuid/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/check-setuid/.dirs/runtime 1099s ok 30 /utils/check-setuid 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/int-limits/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/int-limits/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/int-limits/.dirs/system-config2 1099s ok - glib/utils-c-11.test 1099s # Running test: glib/readwrite.test 1099s ok - glib/readwrite.test 1099s # Running test: glib/sort.test 1099s ok - glib/sort.test 1099s # Running test: glib/power-profile-monitor-portal.test 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/int-limits/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/int-limits/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/int-limits/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/int-limits/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/int-limits/.dirs/runtime 1099s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1099s ok 31 /utils/int-limits 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-list/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-list/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-list/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-list/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-list/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-list/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-list/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/clear-list/.dirs/runtime 1099s ok 32 /utils/clear-list 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-slist/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-slist/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-slist/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-slist/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-slist/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-slist/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-slist/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/clear-slist/.dirs/runtime 1099s ok 33 /utils/clear-slist 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/steal-handle-id/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/steal-handle-id/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/steal-handle-id/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/steal-handle-id/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/steal-handle-id/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/steal-handle-id/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/steal-handle-id/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/steal-handle-id/.dirs/runtime 1099s ok 34 /utils/steal-handle-id 1099s # Start of user-special-dirs tests 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/desktop/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/desktop/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/desktop/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/desktop/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/desktop/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/desktop/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/desktop/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/desktop/.dirs/runtime 1099s ok 35 /utils/user-special-dirs/desktop 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1099s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1099s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1099s Unable to clean up temporary directory /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/load-unlocked: No such file or directory 1099s ok 36 /utils/user-special-dirs/load-unlocked 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1099s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1099s Unable to clean up temporary directory /tmp/test_utils-c-11_QWQ3J3/utils/user-special-dirs/reload-leaks: No such file or directory 1099s ok 37 /utils/user-special-dirs/reload-leaks 1099s # End of user-special-dirs tests 1099s # Start of clear-pointer tests 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/side-effects/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/side-effects/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/side-effects/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/side-effects/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/side-effects/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/side-effects/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/side-effects/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/clear-pointer/side-effects/.dirs/runtime 1099s ok 38 /utils/clear-pointer/side-effects 1099s # End of clear-pointer tests 1099s # Start of aligned-mem tests 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/alignment/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/alignment/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/alignment/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/alignment/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/alignment/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/alignment/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/alignment/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/alignment/.dirs/runtime 1099s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1099s ok 39 /utils/aligned-mem/alignment 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/zeroed/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/zeroed/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/zeroed/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/zeroed/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/zeroed/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/zeroed/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/zeroed/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/zeroed/.dirs/runtime 1099s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1099s ok 40 /utils/aligned-mem/zeroed 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/free-sized/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/free-sized/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/free-sized/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/free-sized/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/free-sized/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/free-sized/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/free-sized/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_QWQ3J3/utils/aligned-mem/free-sized/.dirs/runtime 1099s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1099s ok 41 /utils/aligned-mem/free-sized 1099s # Start of subprocess tests 1099s # End of subprocess tests 1099s # End of aligned-mem tests 1099s # End of utils tests 1099s TAP version 14 1099s # random seed: R02See8741d59fdebe5e53c681339ddce90f 1099s 1..3 1099s # Start of readwrite tests 1099s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1099s ok 1 /readwrite/test_g_file_open_readwrite 1099s ok 2 /readwrite/test_g_file_create_readwrite 1099s ok 3 /readwrite/test_g_file_replace_readwrite 1099s # End of readwrite tests 1099s TAP version 14 1099s # random seed: R02Sf6d4acacd214a56da55ef5f4a7434b10 1099s 1..5 1099s # Start of sort tests 1099s ok 1 /sort/basic 1099s ok 2 /sort/zero-elements 1099s ok 3 /sort/stable 1099s ok 4 /sort/big 1099s ok 5 /sort/deprecated 1099s # End of sort tests 1099s TAP version 13 1099s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1099s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1099s 1..2 1099s ok - glib/power-profile-monitor-portal.test 1099s # Running test: glib/dump.test 1099s TAP version 14 1099s # random seed: R02Sd5dcbf0b693f5b4cfa83f5863714007d 1099s 1..4 1099s # Start of dump tests 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_V20FK3/dump/empty-file/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_V20FK3/dump/empty-file/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_V20FK3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_V20FK3/dump/empty-file/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_V20FK3/dump/empty-file/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_V20FK3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_V20FK3/dump/empty-file/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_V20FK3/dump/empty-file/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_V20FK3/dump/empty-file/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_V20FK3/dump/empty-file/.dirs/runtime 1099s ok 1 /dump/empty-file 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_V20FK3/dump/missing-get-type/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_V20FK3/dump/missing-get-type/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_V20FK3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_V20FK3/dump/missing-get-type/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_V20FK3/dump/missing-get-type/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_V20FK3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_V20FK3/dump/missing-get-type/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_V20FK3/dump/missing-get-type/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_V20FK3/dump/missing-get-type/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_V20FK3/dump/missing-get-type/.dirs/runtime 1099s Invalid GType function: 'does_not_exist_get_type' 1099s ok 2 /dump/missing-get-type 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_V20FK3/dump/missing-quark/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_V20FK3/dump/missing-quark/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_V20FK3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_V20FK3/dump/missing-quark/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_V20FK3/dump/missing-quark/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_V20FK3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_V20FK3/dump/missing-quark/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_V20FK3/dump/missing-quark/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_V20FK3/dump/missing-quark/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_V20FK3/dump/missing-quark/.dirs/runtime 1099s Invalid error quark function: 'does_not_exist_error' 1099s ok 3 /dump/missing-quark 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_V20FK3/dump/basic/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_V20FK3/dump/basic/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_V20FK3/dump/basic/.dirs/system-config1:/tmp/test_dump_V20FK3/dump/basic/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_V20FK3/dump/basic/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_V20FK3/dump/basic/.dirs/system-data1:/tmp/test_dump_V20FK3/dump/basic/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_V20FK3/dump/basic/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_V20FK3/dump/basic/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_V20FK3/dump/basic/.dirs/runtime 1099s ok 4 /dump/basic 1099s # End of dump tests 1099s ok - glib/dump.test 1099s # Running test: glib/refcount-macro.test 1099s TAP version 14 1099s # random seed: R02Sdb790dd04b90b84e70daacf24eb5d211 1099s 1..4 1099s # Start of refcount tests 1099s ok 1 /refcount/grefcount 1099s ok 2 /refcount/gatomicrefcount 1099s # Start of grefcount tests 1099s ok 3 /refcount/grefcount/saturation 1099s # End of grefcount tests 1099s # Start of gatomicrefcount tests 1099s ok - glib/refcount-macro.test 1099s # Running test: glib/bindinggroup.test 1099s ok - glib/bindinggroup.test 1099s ok 4 /refcount/gatomicrefcount/saturation 1099s # End of gatomicrefcount tests 1099s # End of refcount tests 1099s TAP version 14 1099s # random seed: R02S5d534d9a6cf30389a97754e075f6808c 1099s 1..11 1099s # Start of GObject tests 1099s # Start of BindingGroup tests 1099s ok 1 /GObject/BindingGroup/invalid 1099s ok 2 /GObject/BindingGroup/default 1099s ok 3 /GObject/BindingGroup/bidirectional 1099s ok 4 /GObject/BindingGroup/transform 1099s ok 5 /GObject/BindingGroup/transform-closures 1099s ok 6 /GObject/BindingGroup/same-object 1099s ok 7 /GObject/BindingGroup/weak-ref-source 1099s ok 8 /GObject/BindingGroup/weak-ref-target 1099s ok 9 /GObject/BindingGroup/properties 1099s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1099s ok 11 /GObject/BindingGroup/empty-closures 1099s # End of BindingGroup tests 1099s # End of GObject tests 1099s # Running test: glib/hmac.test 1099s TAP version 14 1099s # random seed: R02S20ccd82abd011f35a200f59c5ac903c3 1099s 1..37 1099s # Start of hmac tests 1099s ok 1 /hmac/sha1-1 1099s ok 2 /hmac/sha1-2 1099s ok 3 /hmac/sha1-3 1099s ok 4 /hmac/sha1-4 1099s ok 5 /hmac/sha1-5 1099s ok 6 /hmac/sha1-6 1099s ok 7 /hmac/sha1-7 1099s ok 8 /hmac/sha256-1 1099s ok 9 /hmac/sha256-2 1099s ok 10 /hmac/sha256-3 1099s ok 11 /hmac/sha256-4 1099s ok 12 /hmac/sha256-5 1099s ok 13 /hmac/sha256-6 1099s ok 14 /hmac/sha384-1 1099s ok 15 /hmac/sha384-2 1099s ok 16 /hmac/sha384-3 1099s ok 17 /hmac/sha384-4 1099s ok 18 /hmac/sha384-5 1099s ok 19 /hmac/sha384-6 1099s ok 20 /hmac/sha512-1 1099s ok 21 /hmac/sha512-2 1099s ok 22 /hmac/sha512-3 1099s ok 23 /hmac/sha512-4 1099s ok 24 /hmac/sha512-5 1099s ok 25 /hmac/sha512-6 1099s ok 26 /hmac/md5-1 1099s ok 27 /hmac/md5-2 1099s ok 28 /hmac/md5-3 1099s ok 29 /hmac/md5-4 1099s ok 30 /hmac/md5-5 1099s ok 31 /hmac/md5-6 1099s ok 32 /hmac/md5-7 1099s ok 33 /hmac/ref-unref 1099s ok 34 /hmac/copy 1099s ok 35 /hmac/for-data 1099s ok 36 /hmac/for-string 1099s ok 37 /hmac/for-bytes 1099s # End of hmac tests 1099s ok - glib/hmac.test 1099s # SUMMARY: total=332; passed=331; skipped=1; failed=0; user=173.3s; system=76.2s; maxrss=151544 1100s autopkgtest [02:17:40]: test installed-tests: -----------------------] 1116s autopkgtest [02:17:56]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1116s installed-tests PASS 1144s autopkgtest [02:18:24]: test closure-refcount: preparing testbed 1168s Reading package lists... 1168s Building dependency tree... 1168s Reading state information... 1168s Solving dependencies... 1169s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1190s autopkgtest [02:19:10]: test closure-refcount: [----------------------- 1193s Running test: glib/closure-refcount.test 1193s TAP version 14 1193s # random seed: R02S3833b37291e0202c6887884322f7726c 1193s 1..1 1193s # Start of closure tests 1193s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1193s # End of closure tests 1193s PASS: glib/closure-refcount.test 1193s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3300 1194s autopkgtest [02:19:14]: test closure-refcount: -----------------------] 1210s closure-refcount PASS 1210s autopkgtest [02:19:30]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1218s autopkgtest [02:19:38]: test debugcontroller: preparing testbed 1229s Reading package lists... 1229s Building dependency tree... 1229s Reading state information... 1229s Solving dependencies... 1230s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1235s autopkgtest [02:19:55]: test debugcontroller: [----------------------- 1235s Running test: glib/debugcontroller.test 1235s TAP version 14 1235s # random seed: R02S77e9969da3bdb60f70dc8203b7a49c08 1235s 1..3 1235s # Start of debug-controller tests 1235s # Start of dbus tests 1235s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1235s # GLib-GIO-DEBUG: Debug output enabled 1235s # GLib-GIO-DEBUG: Debug output disabled 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s ok 1 /debug-controller/dbus/basic 1235s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s ok 2 /debug-controller/dbus/duplicate 1235s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1235s # GLib-GIO-DEBUG: Debug output enabled 1235s # GLib-GIO-DEBUG: Debug output disabled 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1235s ok 3 /debug-controller/dbus/properties 1235s # End of dbus tests 1235s # End of debug-controller tests 1235s PASS: glib/debugcontroller.test 1235s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6120 1236s autopkgtest [02:19:56]: test debugcontroller: -----------------------] 1237s autopkgtest [02:19:57]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1237s debugcontroller PASS 1246s autopkgtest [02:20:06]: test gdbus-server-auth: preparing testbed 1253s Reading package lists... 1253s Building dependency tree... 1253s Reading state information... 1253s Solving dependencies... 1253s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1258s autopkgtest [02:20:18]: test gdbus-server-auth: [----------------------- 1258s Running test: glib/gdbus-server-auth.test 1258s TAP version 14 1258s # random seed: R02S3002edba765c50bfaef506daf1443be7 1258s 1..9 1258s # Start of gdbus tests 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/.dirs/runtime 1258s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-KJ2LK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1258s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-KJ2LK3/dbus-IFaPuRNV 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40139 1258s ok 1 /gdbus/server-auth 1258s # Start of server-auth tests 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/abstract/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/abstract/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/abstract/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/abstract/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/abstract/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/abstract/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/abstract/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/abstract/.dirs/runtime 1258s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-FMOLK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1258s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-FMOLK3/dbus-ehVWrnba 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40139 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40139 1258s ok 2 /gdbus/server-auth/abstract 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/tcp/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/tcp/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/tcp/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/tcp/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/tcp/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/tcp/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/tcp/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/tcp/.dirs/runtime 1258s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1258s # Connectable address: tcp:host=127.0.0.1,port=36835 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1258s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1258s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1259s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1259s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1259s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1259s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1259s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1259s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1259s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1259s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1259s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1259s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1259s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1259s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1259s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1259s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1259s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1259s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1259s ok 3 /gdbus/server-auth/tcp 1259s # slow test /gdbus/server-auth/tcp executed in 0.87 secs 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/.dirs/runtime 1259s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-3S7NK3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1259s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-3S7NK3/dbus-r43AKbwr 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40139 1259s ok 4 /gdbus/server-auth/anonymous 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/.dirs/runtime 1259s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-7STNK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1259s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-7STNK3/dbus-VuvTXQIb 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1259s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40139 1259s ok 5 /gdbus/server-auth/external 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/.dirs/runtime 1259s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-LYHNK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1259s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-LYHNK3/dbus-JuDOgNFI 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40139 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1259s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40139 1259s ok 6 /gdbus/server-auth/sha1 1259s # Start of anonymous tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/tcp/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/tcp/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/tcp/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/tcp/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1259s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1259s # Connectable address: tcp:host=127.0.0.1,port=44597 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1259s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1259s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1259s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1259s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1259s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1260s ok 7 /gdbus/server-auth/anonymous/tcp 1260s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs 1260s # End of anonymous tests 1260s # Start of external tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/require-same-user/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/require-same-user/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/require-same-user/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/require-same-user/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/require-same-user/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1260s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-5MUPK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1260s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A71LK3/gdbus-server-auth-5MUPK3/dbus-PkB83fIl 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40139 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40139,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40139 1260s ok 8 /gdbus/server-auth/external/require-same-user 1260s # End of external tests 1260s # Start of sha1 tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/tcp/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/tcp/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/tcp/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/tcp/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/tcp/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A71LK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1260s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1260s # Connectable address: tcp:host=127.0.0.1,port=38785 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1261s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1261s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1261s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1261s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1261s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1261s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1261s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1261s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1261s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1261s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1261s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1261s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1261s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1261s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1261s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1261s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1261s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1261s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1261s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1261s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1261s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1261s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1261s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1261s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1261s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1261s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1261s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1261s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1261s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1261s ok 9 /gdbus/server-auth/sha1/tcp 1261s # slow test /gdbus/server-auth/sha1/tcp executed in 0.85 secs 1261s # End of sha1 tests 1261s # End of server-auth tests 1261s # End of gdbus tests 1261s PASS: glib/gdbus-server-auth.test 1261s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=7972 1261s autopkgtest [02:20:21]: test gdbus-server-auth: -----------------------] 1262s gdbus-server-auth PASS 1262s autopkgtest [02:20:22]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1263s autopkgtest [02:20:23]: test gdbus-threading: preparing testbed 1263s Reading package lists... 1263s Building dependency tree... 1263s Reading state information... 1263s Solving dependencies... 1264s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1265s autopkgtest [02:20:25]: test gdbus-threading: [----------------------- 1266s Running test: glib/gdbus-threading.test 1266s TAP version 14 1266s # random seed: R02Sa5479670370bbe866c4f66b15d741c57 1266s 1..3 1266s # Start of gdbus tests 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/delivery-in-thread/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/delivery-in-thread/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_7R7FK3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_7R7FK3/gdbus/delivery-in-thread/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/delivery-in-thread/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_7R7FK3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_7R7FK3/gdbus/delivery-in-thread/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/delivery-in-thread/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/delivery-in-thread/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_7R7FK3/gdbus/delivery-in-thread/.dirs/runtime 1266s ok 1 /gdbus/delivery-in-thread 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/method-calls-in-thread/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/method-calls-in-thread/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_7R7FK3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_7R7FK3/gdbus/method-calls-in-thread/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/method-calls-in-thread/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_7R7FK3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_7R7FK3/gdbus/method-calls-in-thread/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/method-calls-in-thread/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/method-calls-in-thread/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_7R7FK3/gdbus/method-calls-in-thread/.dirs/runtime 1267s ok 2 /gdbus/method-calls-in-thread 1267s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/threaded-singleton/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/threaded-singleton/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_7R7FK3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_7R7FK3/gdbus/threaded-singleton/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/threaded-singleton/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_7R7FK3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_7R7FK3/gdbus/threaded-singleton/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/threaded-singleton/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_7R7FK3/gdbus/threaded-singleton/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_7R7FK3/gdbus/threaded-singleton/.dirs/runtime 1269s ok 3 /gdbus/threaded-singleton 1269s # slow test /gdbus/threaded-singleton executed in 0.88 secs 1269s # End of gdbus tests 1269s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1269s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1269s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1269s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1269s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1269s PASS: glib/gdbus-threading.test 1269s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.3s; maxrss=6256 1269s autopkgtest [02:20:28]: test gdbus-threading: -----------------------] 1269s autopkgtest [02:20:29]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1269s gdbus-threading PASS 1270s autopkgtest [02:20:30]: test gmenumodel: preparing testbed 1270s Reading package lists... 1270s Building dependency tree... 1270s Reading state information... 1270s Solving dependencies... 1271s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1273s autopkgtest [02:20:33]: test gmenumodel: [----------------------- 1273s Running test: glib/gmenumodel.test 1273s TAP version 14 1273s # random seed: R02Sb0c9bcc047adf54610f157433907f81c 1273s 1..15 1273s # Start of gmenu tests 1274s ok 1 /gmenu/equality 1274s # slow test /gmenu/equality executed in 0.52 secs 1274s ok 2 /gmenu/random 1274s # slow test /gmenu/random executed in 0.70 secs 1274s ok 3 /gmenu/attributes 1274s ok 4 /gmenu/links 1274s ok 5 /gmenu/mutable 1274s ok 6 /gmenu/convenience 1274s ok 7 /gmenu/menuitem 1274s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1274s ok 8 /gmenu/input-validation 1274s # Start of dbus tests 1275s ok 9 /gmenu/dbus/roundtrip 1275s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1276s ok 10 /gmenu/dbus/subscriptions 1277s ok 11 /gmenu/dbus/threaded 1277s # slow test /gmenu/dbus/threaded executed in 0.80 secs 1277s # Start of peer tests 1278s ok 12 /gmenu/dbus/peer/roundtrip 1278s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1279s Executing: glib/gmenumodel.test 1279s ok 13 /gmenu/dbus/peer/subscriptions 1279s # End of peer tests 1279s # Start of export tests 1279s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1279s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1279s ok 14 /gmenu/dbus/export/error-handling 1279s # End of export tests 1279s # End of dbus tests 1279s # Start of attributes tests 1279s ok 15 /gmenu/attributes/iterate 1279s # End of attributes tests 1279s # End of gmenu tests 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s PASS: glib/gmenumodel.test 1279s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.6s; system=0.2s; maxrss=25320 1279s autopkgtest [02:20:39]: test gmenumodel: -----------------------] 1281s autopkgtest [02:20:41]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1281s gmenumodel PASS 1282s autopkgtest [02:20:42]: test mainloop: preparing testbed 1283s Reading package lists... 1283s Building dependency tree... 1283s Reading state information... 1283s Solving dependencies... 1284s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1285s autopkgtest [02:20:45]: test mainloop: [----------------------- 1285s Running test: glib/mainloop.test 1285s TAP version 14 1285s # random seed: R02Se3cb70694cf595a1dbdcc62d979cbc57 1285s 1..47 1285s # Start of maincontext tests 1285s ok 1 /maincontext/basic 1285s # Add same-priority sources: 18 1285s # Find each source: 4 1285s # Remove in random order: 39 1285s ok 2 /maincontext/nsources_same_priority 1286s # Add different-priority sources: 22 1286s # Find each source: 4 1286s # Remove in random order: 43 1286s ok 3 /maincontext/nsources_different_priority 1286s # Add sources from threads: 246 1286s # Remove sources from threads: 51 1286s ok 4 /maincontext/nsources_threadpool 1286s ok 5 /maincontext/source_finalization 1286s # /maincontext/idle-once summary: Test g_idle_add_once() works 1286s ok 6 /maincontext/idle-once 1286s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1286s ok 7 /maincontext/timeout-once 1286s # /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. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1286s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1286s # Start of source_finalization_from_source tests 1286s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1286s ok 9 /maincontext/source_finalization_from_source/0 1286s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1286s ok 10 /maincontext/source_finalization_from_source/1 1286s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1286s ok 11 /maincontext/source_finalization_from_source/2 1286s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1286s ok 12 /maincontext/source_finalization_from_source/3 1286s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1286s ok 13 /maincontext/source_finalization_from_source/4 1286s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1286s ok 14 /maincontext/source_finalization_from_source/5 1286s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1286s ok 15 /maincontext/source_finalization_from_source/6 1286s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1286s ok 16 /maincontext/source_finalization_from_source/7 1286s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1286s ok 17 /maincontext/source_finalization_from_source/8 1286s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1286s ok 18 /maincontext/source_finalization_from_source/9 1286s # End of source_finalization_from_source tests 1286s # Start of source_finalization_from_dispatch tests 1286s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1286s ok 19 /maincontext/source_finalization_from_dispatch/0 1286s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1286s ok 20 /maincontext/source_finalization_from_dispatch/1 1286s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1286s ok 21 /maincontext/source_finalization_from_dispatch/2 1286s # End of source_finalization_from_dispatch tests 1286s # End of maincontext tests 1286s # Start of mainloop tests 1286s ok 22 /mainloop/basic 1286s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1286s ok 24 /mainloop/priorities 1286s ok 25 /mainloop/invoke 1286s # slow test /mainloop/invoke executed in 0.50 secs 1288s ok 26 /mainloop/child_sources 1288s # slow test /mainloop/child_sources executed in 1.20 secs 1290s ok 27 /mainloop/recursive_child_sources 1290s # slow test /mainloop/recursive_child_sources executed in 2.19 secs 1290s ok 28 /mainloop/recursive_loop_child_sources 1290s ok 29 /mainloop/swapping_child_sources 1290s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1290s ok 30 /mainloop/blocked_child_sources 1291s ok 31 /mainloop/source_time 1291s # slow test /mainloop/source_time executed in 1.00 secs 1291s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1291s ok 32 /mainloop/overflow 1291s Executing: glib/mainloop.test 1291s ok 33 /mainloop/ready-time 1291s # slow test /mainloop/ready-time executed in 0.50 secs 1291s ok 34 /mainloop/wakeup 1291s ok 35 /mainloop/remove-invalid 1291s ok 36 /mainloop/unref-while-pending 1292s ok 37 /mainloop/unix-fd 1292s # slow test /mainloop/unix-fd executed in 0.58 secs 1292s ok 38 /mainloop/unix-fd-source 1292s ok 39 /mainloop/source-unix-fd-api 1292s ok 40 /mainloop/wait 1292s ok 41 /mainloop/unix-file-poll 1292s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1292s ok 42 /mainloop/unix-fd-priority 1292s ok 43 /mainloop/nfds 1292s ok 44 /mainloop/steal-fd 1294s ok 45 /mainloop/simultaneous-source-context-destruction 1294s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.46 secs 1294s # Start of ownerless-polling tests 1294s ok 46 /mainloop/ownerless-polling/attach-first 1294s ok 47 /mainloop/ownerless-polling/pop-first 1294s # End of ownerless-polling tests 1294s # End of mainloop tests 1294s PASS: glib/mainloop.test 1294s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.8s; system=2.8s; maxrss=16544 1294s autopkgtest [02:20:54]: test mainloop: -----------------------] 1295s autopkgtest [02:20:55]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1295s mainloop PASS 1295s autopkgtest [02:20:55]: test memory-monitor-dbus: preparing testbed 1295s Reading package lists... 1295s Building dependency tree... 1295s Reading state information... 1295s Solving dependencies... 1296s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1297s autopkgtest [02:20:57]: test memory-monitor-dbus: [----------------------- 1297s Running test: glib/memory-monitor-dbus.test 1297s TAP version 13 1297s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1297s # Received memory warning signal, level 0 1297s # Received memory warning signal, level 100 1297s # Received memory warning signal, level 255 1297s 1..1 1297s PASS: glib/memory-monitor-dbus.test 1297s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=30652 1298s autopkgtest [02:20:58]: test memory-monitor-dbus: -----------------------] 1298s autopkgtest [02:20:58]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1298s memory-monitor-dbus PASS 1298s autopkgtest [02:20:58]: test socket: preparing testbed 1298s Reading package lists... 1299s Building dependency tree... 1299s Reading state information... 1299s Solving dependencies... 1299s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1300s autopkgtest [02:21:00]: test socket: [----------------------- 1300s Running test: glib/socket.test 1300s TAP version 14 1300s # random seed: R02S65866690827c1229fb6de1710602ba1a 1300s 1..30 1300s # Start of socket tests 1301s ok 1 /socket/ipv4_sync 1301s # slow test /socket/ipv4_sync executed in 1.00 secs 1302s ok 2 /socket/ipv4_async 1302s # slow test /socket/ipv4_async executed in 1.00 secs 1302s ok 3 /socket/ipv6_sync 1302s ok 4 /socket/ipv6_async 1302s ok 5 /socket/ipv6_v4mapped 1303s ok 6 /socket/close_graceful 1303s # slow test /socket/close_graceful executed in 1.00 secs 1303s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1303s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1303s ok 8 /socket/fd_reuse 1303s ok 9 /socket/address 1303s ok 10 /socket/unix-from-fd 1303s ok 11 /socket/unix-connection 1303s ok 12 /socket/unix-connection-ancillary-data 1303s ok 13 /socket/source-postmortem 1303s ok 14 /socket/read_write 1303s ok 15 /socket/read_writev 1303s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1303s ok 16 /socket/receive_bytes 1303s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1303s ok 17 /socket/receive_bytes_from 1303s # Start of ipv4_sync tests 1303s ok 18 /socket/ipv4_sync/datagram 1303s # Start of datagram tests 1304s ok 19 /socket/ipv4_sync/datagram/timeouts 1304s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1304s # End of datagram tests 1304s # End of ipv4_sync tests 1304s # Start of ipv6_sync tests 1304s ok 20 /socket/ipv6_sync/datagram 1304s # Start of datagram tests 1305s Executing: glib/socket.test 1305s ok 21 /socket/ipv6_sync/datagram/timeouts 1305s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1305s # End of datagram tests 1305s # End of ipv6_sync tests 1305s # Start of reuse tests 1305s ok 22 /socket/reuse/tcp 1305s ok 23 /socket/reuse/udp 1305s # End of reuse tests 1305s # Start of get_available tests 1306s ok 24 /socket/get_available/datagram 1306s ok 25 /socket/get_available/stream 1306s # End of get_available tests 1306s # Start of credentials tests 1306s # Supported on this OS: GCredentials:linux-ucred:pid=0 1306s ok 26 /socket/credentials/tcp_client 1306s # Supported on this OS: GCredentials:linux-ucred:pid=0 1306s ok 27 /socket/credentials/tcp_server 1306s # Supported on this OS: GCredentials:linux-ucred:pid=66134,uid=1000,gid=1000 1306s ok 28 /socket/credentials/unix_socketpair 1306s # End of credentials tests 1306s # Start of accept tests 1306s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1306s ok 29 /socket/accept/cancelled 1306s # End of accept tests 1306s # Start of connect tests 1306s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1306s ok 30 /socket/connect/cancelled 1306s # End of connect tests 1306s # End of socket tests 1306s PASS: glib/socket.test 1306s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5552 1306s autopkgtest [02:21:06]: test socket: -----------------------] 1306s autopkgtest [02:21:06]: test socket: - - - - - - - - - - results - - - - - - - - - - 1306s socket PASS 1307s autopkgtest [02:21:07]: test testfilemonitor: preparing testbed 1307s Reading package lists... 1307s Building dependency tree... 1307s Reading state information... 1307s Solving dependencies... 1308s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1309s autopkgtest [02:21:09]: test testfilemonitor: [----------------------- 1309s Running test: glib/testfilemonitor.test 1309s TAP version 14 1309s # random seed: R02S1b8b9ae46501a76eb9c78a4835dd059f 1309s 1..8 1309s # Start of monitor tests 1309s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1309s # Using temporary directory: /tmp/gio-test-testfilemonitor_SEZOK3 1309s # Using GFileMonitor GInotifyFileMonitor 1311s ok 1 /monitor/atomic-replace 1311s # slow test /monitor/atomic-replace executed in 2.00 secs 1311s # Using temporary directory: /tmp/gio-test-testfilemonitor_T0WOK3 1311s # Using GFileMonitor GInotifyFileMonitor 1314s ok 2 /monitor/file-changes 1314s # slow test /monitor/file-changes executed in 2.50 secs 1314s # Using temporary directory: /tmp/gio-test-testfilemonitor_0G3CK3 1314s # Using GFileMonitor GInotifyFileMonitor 1314s Executing: glib/testfilemonitor.test 1317s ok 3 /monitor/dir-monitor 1317s # slow test /monitor/dir-monitor executed in 3.50 secs 1317s # Using temporary directory: /tmp/gio-test-testfilemonitor_IQROK3 1317s # Using GFileMonitor GInotifyFileMonitor 1319s Executing: glib/testfilemonitor.test 1324s Executing: glib/testfilemonitor.test 1329s Executing: glib/testfilemonitor.test 1334s Executing: glib/testfilemonitor.test 1339s Executing: glib/testfilemonitor.test 1343s ok 4 /monitor/dir-not-existent 1343s # slow test /monitor/dir-not-existent executed in 25.02 secs 1343s # Using temporary directory: /tmp/gio-test-testfilemonitor_JSFOK3 1343s # Using GFileMonitor 0 GInotifyFileMonitor 1343s # Using GFileMonitor 1 GInotifyFileMonitor 1344s ok 5 /monitor/cross-dir-moves 1344s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1344s # Using temporary directory: /tmp/gio-test-testfilemonitor_TEDOK3 1344s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 1344s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1344s ok 6 /monitor/finalize-in-callback 1344s # Using temporary directory: /tmp/gio-test-testfilemonitor_CW8NK3 1344s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1344s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1344s ok 7 /monitor/root 1344s # Start of file tests 1344s # Using temporary directory: /tmp/gio-test-testfilemonitor_O38NK3 1344s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1344s # Running with hard link tests 1344s # Using GFileMonitor GInotifyFileMonitor 1344s Executing: glib/testfilemonitor.test 1347s # Event 0 at expected index 7 skipped because it is marked as optional 1347s # Event 2 at expected index 11 skipped because it is marked as optional 1347s ok 8 /monitor/file/hard-links 1347s # slow test /monitor/file/hard-links executed in 3.50 secs 1347s # End of file tests 1347s # End of monitor tests 1347s PASS: glib/testfilemonitor.test 1347s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5700 1348s autopkgtest [02:21:48]: test testfilemonitor: -----------------------] 1349s testfilemonitor PASS 1349s autopkgtest [02:21:49]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1349s autopkgtest [02:21:49]: test thread-pool-slow: preparing testbed 1350s Reading package lists... 1350s Building dependency tree... 1350s Reading state information... 1350s Solving dependencies... 1350s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1351s autopkgtest [02:21:51]: test thread-pool-slow: [----------------------- 1351s Running test: glib/thread-pool-slow.test 1351s TAP version 14 1351s # random seed: R02S55702122c31174f0963ed0fd25699ab6 1351s 1..7 1351s # Start of threadpool tests 1351s ok 1 /threadpool/functions 1352s ok 2 /threadpool/stop-unused 1352s # slow test /threadpool/stop-unused executed in 0.51 secs 1352s ok 3 /threadpool/pools 1352s # [unsorted] ===> pushed new thread with id:76, number of threads:1, unprocessed:1 1352s # [unsorted] ===> pushed new thread with id:66, number of threads:2, unprocessed:2 1352s # [unsorted] ===> pushed new thread with id:73, number of threads:3, unprocessed:3 1352s # [unsorted] ===> pushed new thread with id:69, number of threads:4, unprocessed:4 1352s # [unsorted] ===> pushed new thread with id:72, number of threads:5, unprocessed:5 1352s # [unsorted] ===> pushed new thread with id:27, number of threads:6, unprocessed:6 1352s # [unsorted] ===> pushed new thread with id:29, number of threads:7, unprocessed:7 1352s # [unsorted] ===> pushed new thread with id:92, number of threads:8, unprocessed:7 1352s # [unsorted] ===> pushed new thread with id:3, number of threads:9, unprocessed:8 1352s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:9 1352s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:9 1352s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:9 1352s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:9 1352s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:9 1352s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:9 1352s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:9 1352s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:10 1352s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:11 1352s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:12 1352s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:13 1352s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:14 1352s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:15 1352s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:16 1352s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:17 1352s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:18 1352s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:19 1352s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:20 1352s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:21 1352s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:22 1352s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:23 1352s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:24 1352s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:25 1352s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:26 1352s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:27 1352s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:28 1352s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:29 1352s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:30 1352s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:31 1352s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:32 1352s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:33 1352s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:34 1352s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:35 1352s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:36 1352s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:37 1352s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:38 1352s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:39 1352s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:40 1352s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:41 1352s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:42 1352s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:43 1352s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:44 1352s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:45 1352s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:46 1352s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:47 1352s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:48 1352s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:49 1352s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:50 1352s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:51 1352s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:52 1352s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:53 1352s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:54 1352s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:55 1352s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:56 1352s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:57 1352s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:58 1352s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:59 1352s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:60 1352s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:61 1352s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:62 1352s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:63 1352s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:64 1352s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:65 1352s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:66 1352s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:67 1352s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:68 1352s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:69 1352s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:70 1352s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:71 1352s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:72 1352s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:73 1352s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:74 1352s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:75 1352s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:76 1352s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:77 1352s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:78 1352s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:79 1352s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:80 1352s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:81 1352s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:82 1352s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:83 1352s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:84 1352s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:85 1352s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:86 1352s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:87 1352s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:88 1352s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:89 1352s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:90 1352s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:91 1352s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:92 1352s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:93 1352s ok 4 /threadpool/no-sort 1352s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:1 1352s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:2 1352s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:3 1352s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:4 1352s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:5 1352s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:6 1352s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:7 1352s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:8 1352s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:9 1352s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:10 1352s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:11 1352s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:12 1352s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:13 1352s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:14 1352s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:15 1352s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:16 1352s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:17 1352s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:18 1352s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:19 1352s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:20 1352s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:21 1352s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:22 1352s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:23 1352s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:24 1352s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:25 1352s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:26 1352s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:27 1352s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:28 1352s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:29 1352s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:30 1352s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:31 1352s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:32 1352s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:33 1352s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:34 1352s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:35 1352s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:36 1352s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:37 1352s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:38 1352s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:39 1352s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:40 1352s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:41 1352s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:42 1352s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:43 1352s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:44 1352s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:45 1352s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:46 1352s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:47 1352s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:48 1352s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:49 1352s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:50 1352s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:51 1352s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:52 1352s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:53 1352s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:54 1352s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:55 1352s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:56 1352s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:57 1352s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:58 1352s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:59 1352s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:60 1352s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:61 1352s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:62 1352s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:63 1352s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:64 1352s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:65 1352s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:66 1352s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:67 1352s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:68 1352s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:69 1352s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:70 1352s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:71 1352s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:72 1352s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:73 1352s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:74 1352s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:75 1352s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:76 1352s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:77 1352s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:78 1352s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:79 1352s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:80 1352s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:81 1352s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:82 1352s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:83 1352s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:84 1352s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:85 1352s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:86 1352s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:87 1352s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:88 1352s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:89 1352s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:90 1352s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:91 1352s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:92 1352s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:93 1352s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:94 1352s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:95 1352s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:96 1352s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:97 1352s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:98 1352s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:99 1352s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:100 1352s # Starting thread pool processing 1352s ok 5 /threadpool/sort 1353s ok 6 /threadpool/stop-unused-multiple 1353s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1353s # Pool idle thread count: 0, unprocessed jobs: 45 1353s # Pool idle thread count: 0, unprocessed jobs: 0 1353s # Pool idle thread count: 0, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 0 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1357s Executing: glib/thread-pool-slow.test 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1358s # Pool idle thread count: 10, unprocessed jobs: 0 1358s # Pool idle thread count: 10, unprocessed jobs: 0 1358s # Pool idle thread count: 10, unprocessed jobs: 0 1358s # Pool idle thread count: 10, unprocessed jobs: 0 1359s # Pool idle thread count: 10, unprocessed jobs: 0 1359s # Pool idle thread count: 10, unprocessed jobs: 0 1359s # Pool idle thread count: 10, unprocessed jobs: 0 1359s # Pool idle thread count: 10, unprocessed jobs: 0 1360s # Pool idle thread count: 10, unprocessed jobs: 0 1360s # Pool idle thread count: 10, unprocessed jobs: 0 1360s # Pool idle thread count: 10, unprocessed jobs: 0 1360s # Pool idle thread count: 10, unprocessed jobs: 0 1361s # Pool idle thread count: 10, unprocessed jobs: 0 1361s # Pool idle thread count: 10, unprocessed jobs: 0 1361s # Pool idle thread count: 10, unprocessed jobs: 0 1361s # Pool idle thread count: 10, unprocessed jobs: 0 1362s # Pool idle thread count: 9, unprocessed jobs: 2 1362s # Pool idle thread count: 9, unprocessed jobs: 2 1362s # Pool idle thread count: 8, unprocessed jobs: 0 1362s # Pool idle thread count: 8, unprocessed jobs: 0 1362s Executing: glib/thread-pool-slow.test 1362s # Pool idle thread count: 10, unprocessed jobs: 0 1362s # Pool idle thread count: 10, unprocessed jobs: 0 1363s # Pool idle thread count: 10, unprocessed jobs: 0 1363s # Pool idle thread count: 10, unprocessed jobs: 0 1363s # Pool idle thread count: 10, unprocessed jobs: 0 1363s # Pool idle thread count: 10, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1368s Executing: glib/thread-pool-slow.test 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1369s # Pool idle thread count: 2, unprocessed jobs: 0 1369s # Pool idle thread count: 2, unprocessed jobs: 0 1369s # Pool idle thread count: 2, unprocessed jobs: 0 1369s # Pool idle thread count: 2, unprocessed jobs: 0 1370s # Pool idle thread count: 2, unprocessed jobs: 0 1370s # Pool idle thread count: 2, unprocessed jobs: 0 1370s # Pool idle thread count: 2, unprocessed jobs: 0 1370s # Pool idle thread count: 2, unprocessed jobs: 0 1371s # Pool idle thread count: 2, unprocessed jobs: 0 1371s # Pool idle thread count: 2, unprocessed jobs: 0 1371s # Pool idle thread count: 2, unprocessed jobs: 0 1371s # Pool idle thread count: 2, unprocessed jobs: 0 1372s # Pool idle thread count: 2, unprocessed jobs: 0 1372s # Pool idle thread count: 2, unprocessed jobs: 0 1372s Executing: glib/thread-pool-slow.test 1372s ok 7 /threadpool/idle-time 1372s # slow test /threadpool/idle-time executed in 19.52 secs 1372s # End of threadpool tests 1372s PASS: glib/thread-pool-slow.test 1372s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3584 1372s autopkgtest [02:22:12]: test thread-pool-slow: -----------------------] 1373s thread-pool-slow PASS 1373s autopkgtest [02:22:13]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1373s autopkgtest [02:22:13]: test threadtests: preparing testbed 1374s Reading package lists... 1374s Building dependency tree... 1374s Reading state information... 1374s Solving dependencies... 1374s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1375s autopkgtest [02:22:15]: test threadtests: [----------------------- 1375s Running test: glib/threadtests.test 1375s TAP version 14 1375s # random seed: R02S84b46bc86162e9d49d094e5dd2e6460b 1375s 1..5 1375s # Start of GObject tests 1375s ok 1 /GObject/threaded-object-init 1376s ok 2 /GObject/threaded-weak-ref 1376s # slow test /GObject/threaded-weak-ref executed in 0.67 secs 1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1376s # /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 1376s ok 3 /GObject/threaded-toggle-notify 1376s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1376s # Start of threaded-weak-ref tests 1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1376s # /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. 1376s ok 5 /GObject/threaded-weak-ref/on-finalization 1376s # End of threaded-weak-ref tests 1376s # End of GObject tests 1376s PASS: glib/threadtests.test 1376s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.4s; maxrss=3564 1377s autopkgtest [02:22:17]: test threadtests: -----------------------] 1377s threadtests PASS 1377s autopkgtest [02:22:17]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1378s autopkgtest [02:22:18]: test timeout: preparing testbed 1378s Reading package lists... 1378s Building dependency tree... 1378s Reading state information... 1378s Solving dependencies... 1379s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1379s autopkgtest [02:22:19]: test timeout: [----------------------- 1380s Running test: glib/timeout.test 1380s TAP version 14 1380s # random seed: R02S75d7f4f96796a0aea7822807af95502c 1380s 1..5 1380s # Start of timeout tests 1380s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1382s ok 1 /timeout/seconds 1382s # slow test /timeout/seconds executed in 2.10 secs 1384s ok 2 /timeout/seconds-once 1384s # slow test /timeout/seconds-once executed in 2.10 secs 1384s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1385s Executing: glib/timeout.test 1386s ok 3 /timeout/weeks-overflow 1386s # slow test /timeout/weeks-overflow executed in 2.10 secs 1386s ok 4 /timeout/far-future-ready-time 1390s Executing: glib/timeout.test 1395s Executing: glib/timeout.test 1396s ok 5 /timeout/rounding 1396s # slow test /timeout/rounding executed in 10.23 secs 1396s # End of timeout tests 1396s PASS: glib/timeout.test 1396s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2928 1396s autopkgtest [02:22:36]: test timeout: -----------------------] 1397s timeout PASS 1397s autopkgtest [02:22:37]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1397s autopkgtest [02:22:37]: test timer: preparing testbed 1397s Reading package lists... 1398s Building dependency tree... 1398s Reading state information... 1398s Solving dependencies... 1398s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1399s autopkgtest [02:22:39]: test timer: [----------------------- 1399s Running test: glib/timer.test 1399s TAP version 14 1399s # random seed: R02Sb4aeecd8e2369382e8c11836a50f3fd3 1399s 1..10 1399s # Start of timer tests 1399s ok 1 /timer/basic 1399s ok 2 /timer/stop 1399s ok 3 /timer/continue 1399s ok 4 /timer/reset 1399s ok 5 /timer/is_active 1399s # End of timer tests 1399s # Start of timeval tests 1399s ok 6 /timeval/add 1399s ok 7 /timeval/from-iso8601 1399s ok 8 /timeval/to-iso8601 1399s # Start of to-iso8601 tests 1399s ok 9 /timeval/to-iso8601/overflow 1399s # End of to-iso8601 tests 1399s # End of timeval tests 1399s # Start of usleep tests 1399s ok 10 /usleep/with-zero-wait 1399s # End of usleep tests 1399s PASS: glib/timer.test 1399s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2936 1400s autopkgtest [02:22:40]: test timer: -----------------------] 1400s timer PASS 1400s autopkgtest [02:22:40]: test timer: - - - - - - - - - - results - - - - - - - - - - 1401s autopkgtest [02:22:41]: test 1065022-futureproofing: preparing testbed 1433s Creating nova instance adt-resolute-arm64-glib2.0-20260205-015920-juju-7f2275-prod-proposed-migration-environment-15-ef311c1b-3408-4b23-9f23-3c2aba0980cc from image adt/ubuntu-resolute-arm64-server-20260204.img (UUID f58d981d-b271-4157-b9b1-fd704695563c)... 1488s autopkgtest [02:24:08]: testbed dpkg architecture: arm64 1488s autopkgtest [02:24:08]: testbed apt version: 3.1.14 1489s autopkgtest [02:24:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1489s autopkgtest [02:24:09]: testbed release detected to be: resolute 1490s autopkgtest [02:24:10]: updating testbed package index (apt update) 1492s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1492s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1492s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1492s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1492s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1719 kB] 1492s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 1492s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [227 kB] 1492s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 1493s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [265 kB] 1493s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7328 B] 1493s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB] 1493s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B] 1493s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1481 kB] 1493s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [40.2 kB] 1493s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [26.0 kB] 1493s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [776 B] 1497s Fetched 3984 kB in 2s (2431 kB/s) 1498s Reading package lists... 1502s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1502s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1502s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1502s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1503s Reading package lists... 1503s Reading package lists... 1503s Building dependency tree... 1503s Reading state information... 1503s Calculating upgrade... 1504s The following packages will be upgraded: 1504s libc-bin libc-gconv-modules-extra libc6 locales pollinate python3-linkify-it 1504s python3-referencing sed 1504s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1504s Need to get 8110 kB of archives. 1504s After this operation, 0 B of additional disk space will be used. 1504s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 sed arm64 4.9-2build3 [193 kB] 1505s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-gconv-modules-extra arm64 2.42-2ubuntu5 [1413 kB] 1506s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc6 arm64 2.42-2ubuntu5 [1594 kB] 1506s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libc-bin arm64 2.42-2ubuntu5 [599 kB] 1506s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 locales all 2.42-2ubuntu5 [4255 kB] 1506s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB] 1506s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 pollinate all 4.33-4ubuntu5 [14.0 kB] 1506s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 1506s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1506s Fetched 8110 kB in 2s (3738 kB/s) 1507s (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 ... 89360 files and directories currently installed.) 1507s Preparing to unpack .../sed_4.9-2build3_arm64.deb ... 1507s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 1507s Setting up sed (4.9-2build3) ... 1507s (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 ... 89360 files and directories currently installed.) 1507s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_arm64.deb ... 1507s Unpacking libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1507s Setting up libc-gconv-modules-extra:arm64 (2.42-2ubuntu5) ... 1507s (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 ... 89360 files and directories currently installed.) 1507s Preparing to unpack .../libc6_2.42-2ubuntu5_arm64.deb ... 1507s Unpacking libc6:arm64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1507s Setting up libc6:arm64 (2.42-2ubuntu5) ... 1508s (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 ... 89360 files and directories currently installed.) 1508s Preparing to unpack .../libc-bin_2.42-2ubuntu5_arm64.deb ... 1508s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1508s Setting up libc-bin (2.42-2ubuntu5) ... 1508s (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 ... 89360 files and directories currently installed.) 1508s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 1508s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1508s Preparing to unpack .../python3-linkify-it_2.0.3-1ubuntu3_all.deb ... 1508s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ... 1508s Preparing to unpack .../pollinate_4.33-4ubuntu5_all.deb ... 1508s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 1508s Preparing to unpack .../python3-referencing_0.36.2-1ubuntu2_all.deb ... 1509s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 1509s Setting up locales (2.42-2ubuntu5) ... 1509s Generating locales (this might take a while)... 1511s en_US.UTF-8... done 1511s Generation complete. 1511s Setting up pollinate (4.33-4ubuntu5) ... 1522s Setting up python3-linkify-it (2.0.3-1ubuntu3) ... 1522s Setting up python3-referencing (0.36.2-1ubuntu2) ... 1522s Processing triggers for man-db (2.13.1-1) ... 1523s Processing triggers for install-info (7.2-5) ... 1524s Processing triggers for systemd (259-1ubuntu3) ... 1525s autopkgtest [02:24:45]: upgrading testbed (apt dist-upgrade and autopurge) 1526s Reading package lists... 1526s Building dependency tree... 1526s Reading state information... 1527s Calculating upgrade... 1527s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1529s Reading package lists... 1529s Building dependency tree... 1529s Reading state information... 1529s Solving dependencies... 1530s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1533s autopkgtest [02:24:53]: rebooting testbed after setup commands that affected boot 1594s Reading package lists... 1594s Building dependency tree... 1594s Reading state information... 1594s Solving dependencies... 1595s The following NEW packages will be installed: 1595s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1595s libdconf1 1595s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1595s Need to get 140 kB of archives. 1595s After this operation, 703 kB of additional disk space will be used. 1595s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libdconf1 arm64 0.49.0-4 [40.9 kB] 1595s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 dconf-service arm64 0.49.0-4 [27.2 kB] 1595s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 dconf-gsettings-backend arm64 0.49.0-4 [22.0 kB] 1595s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 dpkg-repack all 1.54build1 [11.2 kB] 1595s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 1595s Fetched 140 kB in 0s (3928 kB/s) 1595s Selecting previously unselected package libdconf1:arm64. 1595s (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 ... 89360 files and directories currently installed.) 1595s Preparing to unpack .../libdconf1_0.49.0-4_arm64.deb ... 1595s Unpacking libdconf1:arm64 (0.49.0-4) ... 1595s Selecting previously unselected package dconf-service. 1595s Preparing to unpack .../dconf-service_0.49.0-4_arm64.deb ... 1595s Unpacking dconf-service (0.49.0-4) ... 1595s Selecting previously unselected package dconf-gsettings-backend:arm64. 1595s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_arm64.deb ... 1595s Unpacking dconf-gsettings-backend:arm64 (0.49.0-4) ... 1595s Selecting previously unselected package dpkg-repack. 1595s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 1595s Unpacking dpkg-repack (1.54build1) ... 1595s Selecting previously unselected package gsettings-desktop-schemas. 1595s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 1595s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1595s Setting up dpkg-repack (1.54build1) ... 1595s Setting up libdconf1:arm64 (0.49.0-4) ... 1595s Setting up dconf-service (0.49.0-4) ... 1595s Setting up dconf-gsettings-backend:arm64 (0.49.0-4) ... 1596s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1596s Processing triggers for man-db (2.13.1-1) ... 1596s Processing triggers for libglib2.0-0t64:arm64 (2.86.3-4) ... 1596s Processing triggers for libc-bin (2.42-2ubuntu5) ... 1618s autopkgtest [02:26:18]: test 1065022-futureproofing: [----------------------- 1619s + export DEBIAN_FRONTEND=noninteractive 1619s + n=0 1619s + failed=0 1619s + binary_package=libglib2.0-0t64 1619s + future_binary_package=libglib2.0-0xyz 1619s + pwd 1619s + srcdir=/tmp/autopkgtest.i2khvY/build.RyW/src 1619s + mktemp -d 1619s + tmpdir=/tmp/tmp.7AKimK1hov 1619s + cd /tmp/tmp.7AKimK1hov 1619s + exec 1619s + [ -e /tmp/autopkgtest.i2khvY/build.RyW/src/debian/tests/manual/local-1065022.sources ] 1619s + dpkg-query -W dpkg-repack 1619s dpkg-repack 1.54build1 1619s + dpkg-query -s libglib2.0-0t64 1619s Package: libglib2.0-0t64 1619s Status: install ok installed 1619s Priority: important 1619s Section: libs 1619s Installed-Size: 4802 1619s Maintainer: Ubuntu Developers 1619s Architecture: arm64 1619s Multi-Arch: same 1619s Source: glib2.0 1619s Version: 2.86.3-4 1619s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1619s 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) 1619s 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) 1619s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1619s Suggests: low-memory-monitor 1619s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 1619s Description: GLib library of C routines 1619s GLib is a library containing many useful C routines for things such 1619s as trees, hashes, lists, and strings. It is a useful general-purpose 1619s C library used by projects such as GTK+, GIMP, and GNOME. 1619s . 1619s This package contains the shared libraries. 1619s Original-Maintainer: Debian GNOME Maintainers 1619s Homepage: https://gitlab.gnome.org/GNOME/glib 1619s + dpkg-query -W -f ${Version} libglib2.0-0t64 1619s + binary_version=2.86.3-4 1619s + dpkg-repack --generate libglib2.0-0t64 1619s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1619s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.Tnyci7 for libglib2.0-0t64 1619s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.Tnyci7 ." 1619s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.Tnyci7/DEBIAN/control 1619s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.Tnyci7/DEBIAN/control 1619s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.Tnyci7/DEBIAN/control 1619s + 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.Tnyci7/DEBIAN/control 1619s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.Tnyci7 libglib2.0-0xyz.deb 1619s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1621s + dpkg-deb --info libglib2.0-0xyz.deb 1621s new Debian package, version 2.0. 1621s size 1584408 bytes: control archive=25787 bytes. 1621s 1218 bytes, 24 lines control 1621s 1152 bytes, 14 lines md5sums 1621s 1296 bytes, 44 lines * postinst #!/bin/sh 1621s 2578 bytes, 87 lines * postrm #!/bin/sh 1621s 2408 bytes, 53 lines * preinst #!/bin/sh 1621s 466 bytes, 10 lines shlibs 1621s 172677 bytes, 4529 lines symbols 1621s 172 bytes, 4 lines triggers 1621s Package: libglib2.0-0xyz 1621s Source: glib2.0 1621s Version: 2.86.3-4 1621s Architecture: arm64 1621s Maintainer: Ubuntu Developers 1621s Installed-Size: 4802 1621s 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) 1621s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1621s Suggests: low-memory-monitor 1621s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1621s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1621s 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) 1621s Section: libs 1621s Priority: important 1621s Multi-Arch: same 1621s Homepage: https://gitlab.gnome.org/GNOME/glib 1621s Description: GLib library of C routines 1621s GLib is a library containing many useful C routines for things such 1621s as trees, hashes, lists, and strings. It is a useful general-purpose 1621s C library used by projects such as GTK+, GIMP, and GNOME. 1621s . 1621s This package contains the shared libraries. 1621s . 1621s (Repackaged on Thu, 05 Feb 2026 02:26:19 +0000 by dpkg-repack.) 1621s + dpkg-deb --contents libglib2.0-0xyz.deb 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/lib/ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/lib/aarch64-linux-gnu/ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/lib/aarch64-linux-gnu/gio/ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/lib/aarch64-linux-gnu/gio/modules/ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/lib/aarch64-linux-gnu/glib-2.0/ 1621s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/glib-2.0/gio-launch-desktop 1621s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/glib-2.0/gio-querymodules 1621s -rwxr-xr-x root/root 67872 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/glib-2.0/glib-compile-schemas 1621s -rw-r--r-- root/root 2100648 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgio-2.0.so.0.8600.3 1621s -rw-r--r-- root/root 1445536 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libglib-2.0.so.0.8600.3 1621s -rw-r--r-- root/root 67720 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0.8600.3 1621s -rw-r--r-- root/root 461096 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0.8600.3 1621s -rw-r--r-- root/root 67680 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgthread-2.0.so.0.8600.3 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/share/ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/share/doc/ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/share/doc/libglib2.0-0t64/ 1621s -rw-r--r-- root/root 258310 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1621s -rw-r--r-- root/root 1703 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/README.Debian 1621s -rw-r--r-- root/root 3248 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/README.md 1621s -rw-r--r-- root/root 39086 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1621s -rw-r--r-- root/root 55103 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/copyright 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/share/glib-2.0/ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/share/glib-2.0/schemas/ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/share/lintian/ 1621s drwxr-xr-x root/root 0 2026-02-05 02:26 ./usr/share/lintian/overrides/ 1621s -rw-r--r-- root/root 520 2026-01-01 12:59 ./usr/share/lintian/overrides/libglib2.0-0t64 1621s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.3 1621s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.3 1621s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.3 1621s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.3 1621s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.3 1621s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1621s Reading package lists... 1621s Building dependency tree... 1621s Reading state information... 1621s dconf-gsettings-backend is already the newest version (0.49.0-4). 1621s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 1621s Solving dependencies... 1621s The following additional packages will be installed: 1621s xdg-user-dirs 1621s Suggested packages: 1621s low-memory-monitor 1621s The following packages will be REMOVED: 1621s libglib2.0-0t64 1621s The following NEW packages will be installed: 1621s libglib2.0-0xyz xdg-user-dirs 1622s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1622s Need to get 19.2 kB/1604 kB of archives. 1622s After this operation, 213 kB of additional disk space will be used. 1622s Get:1 /tmp/tmp.7AKimK1hov/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.86.3-4 [1584 kB] 1622s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 xdg-user-dirs arm64 0.19-1 [19.2 kB] 1622s Fetched 19.2 kB in 1s (36.8 kB/s) 1622s dpkg: libglib2.0-0t64:arm64: dependency problems, but removing anyway as you requested: 1622s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 1622s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1622s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 1622s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1622s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1622s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 1622s libxmlb2:arm64 depends on libglib2.0-0t64 (>= 2.54.0). 1622s libvolume-key1:arm64 depends on libglib2.0-0t64 (>= 2.18.0). 1622s libudisks2-0:arm64 depends on libglib2.0-0t64 (>= 2.83.0). 1622s libqrtr-glib0:arm64 depends on libglib2.0-0t64 (>= 2.56). 1622s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 1622s libqmi-glib5:arm64 depends on libglib2.0-0t64 (>= 2.54.0). 1622s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0). 1622s libpolkit-agent-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0). 1622s libnetplan1:arm64 depends on libglib2.0-0t64 (>= 2.76.0). 1622s libmm-glib0:arm64 depends on libglib2.0-0t64 (>= 2.62.0). 1622s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 1622s libmbim-glib4:arm64 depends on libglib2.0-0t64 (>= 2.56). 1622s libjson-glib-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1622s libjcat1:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1622s libgudev-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1622s libgirepository-2.0-0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4). 1622s libfwupd3:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1622s libdconf1:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1622s libblockdev3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1622s libblockdev-utils3:arm64 depends on libglib2.0-0t64 (>= 2.76.0). 1622s libblockdev-swap3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1622s libblockdev-smart3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1622s libblockdev-part3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1622s libblockdev-nvme3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1622s libblockdev-mdraid3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1622s libblockdev-loop3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1622s libblockdev-fs3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1622s libblockdev-crypto3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1622s gir1.2-glib-2.0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4). 1622s fwupd depends on libglib2.0-0t64 (>= 2.83.0). 1622s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1622s dconf-gsettings-backend:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1622s bolt depends on libglib2.0-0t64 (>= 2.80.0). 1622s 1623s (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 ... 89427 files and directories currently installed.) 1623s Removing libglib2.0-0t64:arm64 (2.86.3-4) ... 1623s Selecting previously unselected package libglib2.0-0xyz:arm64. 1623s (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 ... 89408 files and directories currently installed.) 1623s Preparing to unpack .../libglib2.0-0xyz.deb ... 1623s Unpacking libglib2.0-0xyz:arm64 (2.86.3-4) ... 1623s Selecting previously unselected package xdg-user-dirs. 1623s Preparing to unpack .../xdg-user-dirs_0.19-1_arm64.deb ... 1623s Unpacking xdg-user-dirs (0.19-1) ... 1623s Setting up xdg-user-dirs (0.19-1) ... 1623s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1623s Setting up libglib2.0-0xyz:arm64 (2.86.3-4) ... 1623s Processing triggers for libc-bin (2.42-2ubuntu5) ... 1623s Processing triggers for man-db (2.13.1-1) ... 1624s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1624s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1624s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1624s + n=1 1624s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1624s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1624s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1624s + n=2 1624s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1624s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1624s ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1624s ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1624s ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1624s ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1624s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1624s + n=3 1624s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1624s + echo ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1624s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1624s + n=4 1624s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1624s + echo ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1624s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1624s + n=5 1624s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1624s + echo ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1624s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1624s + n=6 1624s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1624s + echo ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1624s + apt-get -y purge libglib2.0-0t64 1624s Reading package lists... 1624s Building dependency tree... 1624s Reading state information... 1625s Solving dependencies... 1625s The following packages will be REMOVED: 1625s libglib2.0-0t64* 1625s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1625s After this operation, 0 B of additional disk space will be used. 1625s (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 ... 89442 files and directories currently installed.) 1625s Purging configuration files for libglib2.0-0t64:arm64 (2.86.3-4) ... 1625s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1625s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1625s ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1625s ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1625s ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1625s ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1625s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1625s + n=7 1625s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1625s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1625s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1625s + n=8 1625s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1625s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1625s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1625s + n=9 1625s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1625s + echo ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1625s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1625s + n=10 1625s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1625s + echo ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1625s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1625s + n=11 1625s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1625s + echo ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1625s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1625s + n=12 1625s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1625s + echo ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1625s + apt-get -y purge libglib2.0-0xyz 1625s Reading package lists... 1625s Building dependency tree... 1625s Reading state information... 1626s Solving dependencies... 1626s The following additional packages will be installed: 1626s libglib2.0-0t64 1626s Suggested packages: 1626s low-memory-monitor 1626s The following packages will be REMOVED: 1626s libglib2.0-0xyz* 1626s The following NEW packages will be installed: 1626s libglib2.0-0t64 1627s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1627s Need to get 1584 kB of archives. 1627s After this operation, 0 B of additional disk space will be used. 1627s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-0t64 arm64 2.86.3-4 [1584 kB] 1627s Fetched 1584 kB in 1s (2983 kB/s) 1627s dpkg: libglib2.0-0xyz:arm64: dependency problems, but removing anyway as you requested: 1627s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libxmlb2:arm64 depends on libglib2.0-0t64 (>= 2.54.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libvolume-key1:arm64 depends on libglib2.0-0t64 (>= 2.18.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libudisks2-0:arm64 depends on libglib2.0-0t64 (>= 2.83.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libqrtr-glib0:arm64 depends on libglib2.0-0t64 (>= 2.56); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libqmi-glib5:arm64 depends on libglib2.0-0t64 (>= 2.54.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libpolkit-agent-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libnetplan1:arm64 depends on libglib2.0-0t64 (>= 2.76.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libmm-glib0:arm64 depends on libglib2.0-0t64 (>= 2.62.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libmbim-glib4:arm64 depends on libglib2.0-0t64 (>= 2.56); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libjson-glib-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libjcat1:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libgudev-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libgirepository-2.0-0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libfwupd3:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libdconf1:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libblockdev3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libblockdev-utils3:arm64 depends on libglib2.0-0t64 (>= 2.76.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libblockdev-swap3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libblockdev-smart3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libblockdev-part3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libblockdev-nvme3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libblockdev-mdraid3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libblockdev-loop3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libblockdev-fs3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s libblockdev-crypto3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s gir1.2-glib-2.0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s fwupd depends on libglib2.0-0t64 (>= 2.83.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s dconf-gsettings-backend:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 1627s Package libglib2.0-0t64 is not installed. 1627s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1627s 1627s (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 ... 89442 files and directories currently installed.) 1627s Removing libglib2.0-0xyz:arm64 (2.86.3-4) ... 1627s Selecting previously unselected package libglib2.0-0t64:arm64. 1627s (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 ... 89423 files and directories currently installed.) 1627s Preparing to unpack .../libglib2.0-0t64_2.86.3-4_arm64.deb ... 1627s Unpacking libglib2.0-0t64:arm64 (2.86.3-4) ... 1628s Setting up libglib2.0-0t64:arm64 (2.86.3-4) ... 1628s Processing triggers for libc-bin (2.42-2ubuntu5) ... 1628s (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 ... 89442 files and directories currently installed.) 1628s Purging configuration files for libglib2.0-0xyz:arm64 (2.86.3-4) ... 1628s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1628s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1628s not ok 15 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1628s not ok 16 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1628s 1..16 1628s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1628s + n=13 1628s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1628s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1628s + failed=1 1628s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1628s + n=14 1628s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1628s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1628s + failed=1 1628s + assert_not test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1628s + n=15 1628s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1628s + echo not ok 15 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1628s + failed=1 1628s + assert_not test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1628s + n=16 1628s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1628s + echo not ok 16 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1628s + failed=1 1628s + echo 1..16 1628s + exit 1 1629s autopkgtest [02:26:29]: test 1065022-futureproofing: -----------------------] 1632s autopkgtest [02:26:32]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1632s 1065022-futureproofing FLAKY non-zero exit status 1 1632s autopkgtest [02:26:32]: @@@@@@@@@@@@@@@@@@@@ summary 1632s build PASS (superficial) 1632s build-static PASS (superficial) 1632s girepository-tools PASS (superficial) 1632s libgio-2.0-dev-bin PASS (superficial) 1632s libglib2.0-dev PASS (superficial) 1632s installed-tests PASS 1632s closure-refcount PASS 1632s debugcontroller PASS 1632s gdbus-server-auth PASS 1632s gdbus-threading PASS 1632s gmenumodel PASS 1632s mainloop PASS 1632s memory-monitor-dbus PASS 1632s socket PASS 1632s testfilemonitor PASS 1632s thread-pool-slow PASS 1632s threadtests PASS 1632s timeout PASS 1632s timer PASS 1632s 1065022-futureproofing FLAKY non-zero exit status 1